Azuracast: Allow custom mountpoint name for Streamer/DJ-Accounts

Created on 23 Jan 2019  路  4Comments  路  Source: AzuraCast/AzuraCast

Is your feature request related to a problem? Please describe.
When I tried setting up a transcoder that pushes a video/audio feed to an audio-only icecast endpoint (e.g. what azuracast provides) I learned that the icecast-protocol implementation in ffmpeg doesn't support a trailing slash as a valid endpoint.
It simply wont parse.
(I reported this to the ffmpeg-devel mailing list)

Describe the solution you'd like
Now we could certainly discuss whether the issue lies with ffmpeg's ways to go about things or if it is bad practice for azuracast to use a blank/unnamed mount-point for live-sources to connect to (after all Ice-cast does allow / as a valid mount point).

But to cut a long story short:
I would consider it an overall enhancement if one could define the name of the streamer/DJ mountpoint at one's own discretion.

Describe alternatives you've considered
Contacting ffmpeg-devel to take the azuracast approach into consideration or anyone really, who runs with a trailing slash as an icecast mountpoint.
We'll see how that goes.

Another thought I had if it was by any chance possible to reverse-proxy the streamer/DJ mountpoint, but I wasn't too successful in trying to get that going. I'll gladly take any hints if it is at all possible.

Additional context
-

enhancement

All 4 comments

Quick update to whoever might stumble into a similar situation some years down the line...
I went ahead and and patched ffmpeg's libavformat/icecast.c

_around Line 166_

--- if (!path[0] || strcmp(path, "/") == 0) {
+++ if (!path[0] || strcmp(path, "") == 0) {

there's literally nothing wrong with this!
:smile:

@TildeSlashC0re I've updated the station configuration form to allow you to specify a custom DJ/streamer mount point path, in case you're either dealing with specific streaming software (as in this case) or moving from another piece of software. Changes to the mount point name are also reflected in the instructions on the "Streamers/DJs" page.

you're a legend!
:pray:

Woohoo! I'm so grateful that others have been down this road and that there is such an easy way to customize the mount point now. Thank you all!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ErnestPH picture ErnestPH  路  3Comments

RemBdev picture RemBdev  路  4Comments

verdantsquare picture verdantsquare  路  3Comments

susl16c picture susl16c  路  3Comments

dpcee30 picture dpcee30  路  3Comments