kclyu / rpi-webrtc-streamer

This repo's objective is providing something like Web Cam server on the most popular Raspberry PI hardware. By integrating [WebRTC](https://webrtc.org/native-code/) and Raspberry PI, we can stream the Raspberry camera feed to browser or native client which talks WebRTC.
Other
626 stars 108 forks source link

Is there some way to have multiple connections? #116

Closed juniorsaldanha closed 3 years ago

juniorsaldanha commented 3 years ago

Hi, i'd like to know if there is some way to have multiples connections on the same source video (raspicam TC358743), with only one connection work great, but i couldnt find an way to have multiples connections.

Here is the message that i received on web browser console: Captura de tela de 2020-11-23 13-39-57

thnks , :+1:

kclyu commented 3 years ago

RWS itself does not support multiple rtp connections.

If you want to make multiple RTP connections, you should use it in interworking with gateway functions such as videoroom supported by WebRTC gateway.

Currently, I are developing a function to interwork with janus gatway's videoroom, and when it is completed, multiple RTP connections are possible. For developments related to janus gateway development, please refer to Connect to Janus Gateway

gunnarsundberg commented 2 years ago

@kclyu are there any updates on integrating with Janus?