Renamed radio to audio sharing

This commit is contained in:
Mitchell McCaffrey 2020-10-17 16:17:38 +11:00
parent 2be9b5ad20
commit 63a62391dc
3 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) {
Browser not supported for audio sharing.
<br />
<br />
See <Link to="/howTo#sharingAudio">How To</Link> for more information.
See <Link to="/how-to#sharingAudio">How To</Link> for more information.
</Text>
</Box>
);
@ -35,7 +35,7 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) {
Ensure "Share audio" is selected when sharing.
<br />
<br />
See <Link to="/howTo#sharingAudio">How To</Link> for more information.
See <Link to="/how-to#sharingAudio">How To</Link> for more information.
</Text>
</Box>
);
@ -77,8 +77,8 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) {
<>
<IconButton
m={1}
aria-label="Start Radio Stream"
title="Start Radio Stream"
aria-label="Share Audio"
title="Share Audio"
onClick={openModal}
>
<svg

View File

@ -4,10 +4,10 @@ To accomplish this Owlbear Rodeo uses the audio portion of a browsers screen sha
`Note: Even though sharing audio requires a supported browser, receiving audio works on all browsers`
To use audio sharing click the Start Radio Stream button in the bottom left to open the Radio Screen then click Start Radio. The browser will then ask to share your screen, click on the Chrome Tab option and select your tab. Ensure to select the Share Audio Checkbox and finally click Share.
To use audio sharing click the Share Audio button in the bottom left to open the Audio Sharing Screen then click Start Sharing. The browser will then ask to share your screen, click on the Chrome Tab option and select your tab. Ensure to select the Share Audio Checkbox and finally click Share.
![Sharing Audio](sharingAudio)
`Note: Although Owlbear Rodeo uses the screen sharing functionality, only your audio is sent to the other players in the party`
To stop sharing your audio you can either click Stop on the share banner at the top of the screen or open the Radio Screen and click Stop Radio.
To stop sharing your audio you can either click Stop on the share banner at the top of the screen or open the Audio Sharing Screen and click Stop Sharing.

View File

@ -18,7 +18,7 @@ function StartStreamModal({
<Modal isOpen={isOpen} onRequestClose={onRequestClose}>
<Box>
<Label pt={2} pb={1}>
Radio (experimental)
Audio Sharing (experimental)
</Label>
<Text as="p" mb={2} variant="caption">
Share your computers audio with the party
@ -28,12 +28,12 @@ function StartStreamModal({
<Flex py={2}>
{isSupported && !stream && (
<Button sx={{ flexGrow: 1 }} onClick={onStreamStart}>
Start Radio
Start Sharing
</Button>
)}
{isSupported && stream && (
<Button sx={{ flexGrow: 1 }} onClick={() => onStreamEnd(stream)}>
Stop Radio
Stop Sharing
</Button>
)}
</Flex>