java.lang.Object
dev.onvoid.webrtc.examples.PeerConnectionExample
Example demonstrating how to set up a peer connection with audio and video tracks
to be able to send and receive media.
This example shows how to:
- Create a PeerConnectionFactory
- Create audio and video tracks
- Set up a peer connection
- Add tracks to the peer connection for sending media
- Implement callbacks to receive incoming audio and video frames
Note: This example focuses only on setting up the local peer connection with audio and video tracks for bidirectional media transfer. In a real application, you would need to establish a connection with a remote peer through a signaling channel (e.g., WebSocket).
- Author:
- Alex Andres
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PeerConnectionExample
public PeerConnectionExample()
-
-
Method Details
-
main
-