How to create a webrtc peer connection in an offline only mode. There is no access to the internet #4207
Replies: 1 comment 1 reply
-
If you mean "how to read a MediaMTX stream through WebRTC and a custom web-based client" (i'm assuming since you didn't provide any context), the README suggests to take a look at the read page which also contains a ready-to-use JavaScript class. If the programming language or context is different, here we are using the WHEP standard to exchange SDPs that allow to establish a peer connection. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
How do I create a webrtc peer connection? I've gone through the documentation but there isn't any part on how the peer connection offer is created, accepted and peer connections setup. From the documentation, it's not clear if I am supposed to do a
POST localhost:8889/mystream
, do a web socket message etc. Is it by a REST API call? A websocket message? etcBeta Was this translation helpful? Give feedback.
All reactions