Skip to content

Capture the Camera H264 frame ("/dev/video0") and send it to the WebRTC channel #583

Answered by paullouisageneau
Prabhujee asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

libdatachannel is a network library, media capture is out of its scope and must be achieved with other software. This question is quite similar to the one I answered here, you can actually use the same approach as in the media example with an external gstreamer pipeline, but in reverse, with gstreamer capturing from the webcam and sending RTP packets to a local UDP socket on which you read to forward in a track.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Prabhujee
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants