java.lang.Object
dev.onvoid.webrtc.examples.DesktopVideoExample
Example demonstrating how to set up a peer connection with a desktop video source.
This example shows how to:
- Create a PeerConnectionFactory
- Get available desktop sources (screens and windows)
- Create a VideoDesktopSource for capturing screen or window content
- Configure the VideoDesktopSource properties
- Create a video track with the desktop source
- Set up a peer connection
Note: This example focuses only on setting up the local peer connection with a desktop video source 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
-
DesktopVideoExample
public DesktopVideoExample()
-
-
Method Details
-
main
-