How to build a half-duplex WebRTC server with Pion? #2187
Answered
by
Sean-Der
RussB-tonal
asked this question in
Q&A
-
I'm trying to use Pion to build a "half-duplex WebRTC server" (ie: video is only sent from a WebRTC client to the server). I have looked at the "Pion save-to-disk" example for building this. Am I correct that if I had multiple WebRTC clients that were sending video to the server, I would need one "save-to-disk" instance for each active user (ie: the "save-to-disk" example is NOT multi-threaded)? |
Beta Was this translation helpful? Give feedback.
Answered by
Sean-Der
Apr 21, 2022
Replies: 1 comment
-
Correct! WebRTC is a one-to-one connection. For each remote peer you need to make a new |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Sean-Der
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct! WebRTC is a one-to-one connection. For each remote peer you need to make a new
webrtc.PeerConnection
in your code.