How to Stream to audiopub
Before You Begin
In order to stream to audiopub, you must first create a stream on the website. Make sure you have gone to the go live page and started a stream there.
Keep that page open in a tab. You will need to come back to it to see your live stream page and chat while you broadcast. Your stream will not appear in pages until you connect your broadcasting software and start sending audio.
Make sure you know your stream key. Do not share this! Your stream key is like a password. You can find your stream key on your Profile page. If you have not set a stream key yet, you can generate one there.
Showing Sensitive Information
Below on this page, you will see your stream key and a direct URL containing your stream key. If you check the box below to show sensitive information, these values will be revealed. Only do this where nobody else can see.
Your connection Details
Any broadcasting software that supports streaming to an Icecast server should work with audiopub. We have instructions later on this page for setting up OBS Studio, but if you use something else, the settings will be similar. You just need to find where to enter the appropriate information.
- Server address
live.audiopub.site- Port
8000- Mount point
<your-user-id>- Username
source(The username can be anything. We use "source" as a convention.)- Password / Stream key
<your-stream-key> (log in to see your stream key)
If you have the option, do not enable tls / ssl in your broadcasting software.
Some broadcasting programs ask for a single URL. If your software supports this, you can use the following URL. It contains everything in one line. Fill any placeholders with the values from above.
icecast://source:<your-stream-key>@live.audiopub.site:8000/<your-user-id>
OBS Studio Setup
This will override your recording settings, so I recommend using the profile feature in OBS Studio to create a separate profile just for streaming to audiopub.
Go to the OBS settings, then to Output. Set the following settings. Note. If your screen reader doesn't read a label properly, you can use object navigation or your screen reader's equivalent. Move to the previous object of a control and that should speak the label
Change the Output Mode in the combo box to "Advanced".
Move forward to reach the tabs control. Change the tab to "recording" (not "streaming," even though we are actually streaming)
After you've changed to the recording tab, keep tabbing forward. You will reach a combo box labeled "Type" or "Recording Type" Set this to "Custom Output (FFmpeg)."
Keep moving forward. Now is when we'll potentially reach the part where your screen reader might not read the labels properly. See above for how to read the labels if that happens.
The first thing you have is the "FFmpeg Output Type" combo box. Set this to "Output to URL"
Tab to the text field labeled "File path or URL." This is where you paste the full streaming URL for audiopub. In the field, type or paste the following URL. If you checked the box at the top of this page to show sensitive information, use the full URL with your stream key filled in:
icecast://source:<your-stream-key>@live.audiopub.site:8000/<your-user-id>
Note: The URL contains your stream key. Only enter this on a private computer.
After the URL field, Tab forward to the combo box labeled "Container Format."Set this to "adts (Audio)."
Now tab to the text field labeled "Muxer Settings." Set this to: content_type=audio/aac
Keep tabbing forward. You will reach a spin button labeled "Audio Bitrate." Set this to 160 Kbps.
Continue tabbing forward. You will reach a combo box labeled "Audio Encoder." Set it to "AAC - AAC (Advanced Audio Coding)"
That's it. Hit ok to save your settings.
Now, start a new stream on Audiopub, then in the main OBS Studio window, click start recording (not start streaming!) to go live. OBS Studio will connect to audiopub and start sending your audio. Your Audiopub stream will then be shown in the main page and anyone can listen to it.
When you are done broadcasting, go back to OBS Studio and click "Stop Recording." Then, go to your stream page on audiopub and press the "End Stream" button there to fully shut down the stream and archive it if you had archiving enabled.