datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.77k stars 436 forks source link

Multiple audio tracks for Twitch #633

Open Johnnycyan opened 10 months ago

Johnnycyan commented 10 months ago

Is there a way to have multiple audio tracks for Twitch like one for stream and one for VOD like is available with native Twitch streaming in OBS? If not I'd suggest this be a feature.

ZhooL commented 9 months ago

I would also very much appreciate that feature. Beside the fact, that OBS is not natively supporting the second VOD audio track for other services than Twitch (for now), but you can workaround that, Restreamer does not "understand" the RTMP traffic with two audio tracks.

Normal behaviour with one video and one audio stream:

component="RTMP" action="START" address=":1935" client="x.x.x.x:x" path="/***.stream" who="PUBLISH"
component="RTMP" msg="AAC" action="STREAM" address=":1935" client="x.x.x.x:x" path="/***.stream" who="PUBLISH"
component="RTMP" msg="H264" action="STREAM" address=":1935" client="x.x.x.x:x" path="/***.stream" who="PUBLISH"
[..]
component="RTMP" action="STOP" address=":1935" client="x.x.x.x:x" path="/***.stream" who="PUBLISH"

With two audio tracks/Twitch VOD track enabled:

component="RTMP" msg="no streams available" action="INVALID" address=":1935" client="x.x.x.x:x" path="/***.stream" who="PUBLISH"
Bone2510 commented 8 months ago

Is there any solution to this problem yet? I would appreciate if restreamer was able to stream with stream and VOD audio.

jayjay181818 commented 7 months ago

I would love this to be implemented