java.lang.Object
dev.onvoid.webrtc.examples.WhepExample
Example implementation of WebRTC HTTP Egress Protocol (WHEP) client.
This class demonstrates:
- Setting up a WebRTC peer connection
- Creating and sending an SDP offer to a WHEP endpoint
- Receiving and processing an SDP answer
- Establishing media streaming over WebRTC
The example creates a receive-only peer connection that can accept incoming video streams from a WHEP-compatible server.
- Author:
- Alex Andres
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WhepExample
public WhepExample()
-
-
Method Details
-
main
-
run
- Throws:
Exception
-