diff --git a/src/components/party/StartStreamButton.js b/src/components/party/StartStreamButton.js index 749368c..5e1d409 100644 --- a/src/components/party/StartStreamButton.js +++ b/src/components/party/StartStreamButton.js @@ -22,7 +22,7 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) { Browser not supported for audio sharing.

- See FAQ for more information. + See How To for more information. ); @@ -35,7 +35,7 @@ function StartStreamButton({ onStreamStart, onStreamEnd, stream }) { Ensure "Share audio" is selected when sharing.

- See FAQ for more information. + See How To for more information. ); diff --git a/src/docs/assets/AudioSharingFAQ.png b/src/docs/assets/AudioSharingFAQ.png deleted file mode 100644 index 000bf01..0000000 Binary files a/src/docs/assets/AudioSharingFAQ.png and /dev/null differ diff --git a/src/docs/assets/index.js b/src/docs/assets/index.js index 9972931..5e207b7 100644 --- a/src/docs/assets/index.js +++ b/src/docs/assets/index.js @@ -1,4 +1,3 @@ -import audioSharingFaq from "./AudioSharingFAQ.png"; import defaultMaps from "./DefaultMaps.mp4"; import customMaps from "./CustomMaps.mp4"; import customMapsAdvanced from "./CustomMapsAdvanced.jpg"; @@ -21,7 +20,6 @@ import sharingAudio from "./SharingAudio.mp4"; import startGame from "./StartGame.mp4"; export default { - audioSharingFaq, defaultMaps, customMaps, customMapsAdvanced, diff --git a/src/docs/faq/radio.md b/src/docs/faq/radio.md deleted file mode 100644 index e74e087..0000000 --- a/src/docs/faq/radio.md +++ /dev/null @@ -1,12 +0,0 @@ -## Using Radio (experimental) - -### No audio found in screen share. - -When using audio sharing you must select the **Share audio** option when choosing the browser tab or screen to share. Support for sharing audio depends on browser and operating system. Currently Google Chrome on Windows allows you to share the audio of any tab or an entire screen while on MacOS you can only share the audio of a tab. For an example of selecting the **Share audio** option for a tab on MacOS see Figure 1. - -![Figure 1 Using Audio Sharing](audioSharingFaq) -**Figure 1 Using Audio Sharing.** First select what type of content you would like to share. Second select the content. Third select Share audio. Fourth select Share. - -### Browser not supported for audio sharing. - -Using audio sharing relies on the browser supporting the audio capture feature of the Screen Capture API. Currently the two browsers that support this are Google Chrome and Microsoft Edge. To see if your browser is supported see the [Browser Compatibility chart](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#Browser_compatibility) on the Mozilla Developer Network. diff --git a/src/routes/FAQ.js b/src/routes/FAQ.js index cdd264f..b1b0a01 100644 --- a/src/routes/FAQ.js +++ b/src/routes/FAQ.js @@ -8,7 +8,6 @@ import Markdown from "../components/Markdown"; import assets from "../docs/assets"; const connection = raw("../docs/faq/connection.md"); -const radio = raw("../docs/faq/radio.md"); const saving = raw("../docs/faq/saving.md"); function FAQ() { @@ -35,9 +34,6 @@ function FAQ() {
-
- -
diff --git a/src/routes/HowTo.js b/src/routes/HowTo.js index 1b20842..d8be2d4 100644 --- a/src/routes/HowTo.js +++ b/src/routes/HowTo.js @@ -1,6 +1,7 @@ import React from "react"; import { Flex, Text } from "theme-ui"; import raw from "raw.macro"; +import { useLocation } from "react-router-dom"; import Footer from "../components/Footer"; import Markdown from "../components/Markdown"; @@ -18,7 +19,8 @@ const usingFog = raw("../docs/howTo/usingFog.md"); const usingMeasure = raw("../docs/howTo/usingMeasure.md"); const sharingAudio = raw("../docs/howTo/sharingAudio.md"); -function ReleaseNotes() { +function HowTo() { + const location = useLocation(); return (
- +
- +
- +
- +
- +
- +
- +
- +
@@ -89,4 +115,4 @@ function ReleaseNotes() { ); } -export default ReleaseNotes; +export default HowTo;