-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restream to Twitch with a separate VOD audio channel #2288
Comments
I didn't get you, what's the deploy arch? Use OBS to publish to SRS or to Twitch? Or publish to SRS to forward to twitch? What's your use scenario? Please don't only tell us a feature to implements. |
Sorry to confuse you. I'm trying to stream into multiple platforms, so I need to stream to the SRS server, which then will publish a stream to the target platforms. The trick with "broadcast to twitch" from the OBS is only necessary to activate the "Twitch VOD Track" feature, but actually, the stream is going to the SRS server. |
Yes, it is possible, but then I can't specify a separate audio track for VOD in the video settings tab. This is a nuance of the OBS implementation: it only shows this option if it thinks the stream is going to be published on Twitch. That's why I need this hack with redefining the server address through the hosts file. In any case, this hack works correctly and the stream comes to the SRS server. The problem is that there is no way I can get to the second track on the SRS side. |
@winlinvip, sorry for pinging. Do you have any ideas about this? |
Yes, I think we should make it better to forward to streaming platform, like twitch etc. I mark this issue to feature, and we may check it in SRS 5.0, thanks. |
I am interested in the same use case. I think streaming to SRS using SRT might make more sense than trying to accept the specialized Twitch VOD RTMP from OBS which is limited to 2 audio tracks. This way, only the specialized Twitch VOD RTMP output with 2 audio tracks has to be implemented. OBS has a pull request to be able to stream SRT with multiple audio tracks, with build artifacts also available. This is also possible by using the OBS ffmpeg custom output but it is not nearly as stable. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'm sorry that I had to broke your issue template, it was in Chinese.
I'm trying to achieve a somewhat strange idea: I want to stream on Twitch and YouTube, but in such a way that on Twitch the broadcast will use their feature of a separate track for VOD ( to exclude music) and on YouTube with that particular track without music.
I have already tricked OBS by specifying the server I was not using as the platform to broadcast to:
![OBS Twitch broadcast setup](https://user-images.githubusercontent.com/4787256/115098307-ac6c7380-9f2f-11eb-88b3-72b244c35da8.png)
![OBS output settings](https://user-images.githubusercontent.com/4787256/115098314-baba8f80-9f2f-11eb-9512-567c8bc122a9.png)
Then in the
![hosts file configuration](https://user-images.githubusercontent.com/4787256/115098347-edfd1e80-9f2f-11eb-8790-ad40c90f0001.png)
hosts
file I override the address for this server, directing it tolocalhost
:Now I'm ready to receive the incoming stream and process it in my way. But the problem is that I can't catch the second track in any way. No matter which side I go to, I always get only 1 track. The second track is nowhere to be found. I suspect that for some reason the SRS implementation itself cuts off everything but the first track.
I checked: if I'll remove the redirection to
localhost
and start streaming directly on Twitch, the separate VOD track works fine. OBS has no way of knowing which end server it's streaming to, so thertmp
server gets the same content and the problem is somewhere on its side.Is there anything I can do about it?
The text was updated successfully, but these errors were encountered: