TensorWorks / Unreal-PixelStreaming-RTP-Bridge

Forward Unreal Engine pixel streaming to a WebRTC peer that then forwards the RTP streams to the desired address.
MIT License
35 stars 15 forks source link

Difference Streamer ID #8

Open dsponer opened 5 months ago

dsponer commented 5 months ago

Hello I have 2 PixelStreamer cameras in my Unreal Engine Project (Streamer ID: DefaultStreamer and FirstCamera) How I can use RTP-Bridge with two streamer ID? For Example, I want send DefaultStreamer to 4002 port and FirstCamera to 4003

lukehb commented 5 months ago

To enable multiple streamers working with the RTP bridge you would need to first modify the main.go to support the signalling protocol as specified here:

https://github.com/EpicGames/PixelStreamingInfrastructure/blob/master/SignallingWebServer/Docs/SignallingProtocol.md

At the very least, adding support for the listStreamers, streamerList, and subscribe message types.

I would be willing to accept a PR that made this improvement, but I don't have cycles to add it myself.