Help around #922
-
I have a c++ application running locally that captures live video frames from a camera. I am new to everything related to using webrtc, and web development in general. My main issue is that I am not sure which components I need, and where (in which application or endpoint) one should reside. My initial thinking is:
I know this is probably a very broad thing to ask, but I am lacking the basic knowledge to ask the right questions. so any directions or advice will be welcomed. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Your thinking is correct. libdatachannel can be used for the C++ streaming server, and you'll need to implement a simple WebRTC receiver on browser side. You should look at the media-sender example for a very basic exemple forwarding RTP packets, and at the streamer exemple for a more complex one where libdatachannel reads raw h264 frames and does the RTP packetization internally. |
Beta Was this translation helpful? Give feedback.
Your thinking is correct.
libdatachannel can be used for the C++ streaming server, and you'll need to implement a simple WebRTC receiver on browser side.
You should look at the media-sender example for a very basic exemple forwarding RTP packets, and at the streamer exemple for a more complex one where libdatachannel reads raw h264 frames and does the RTP packetization internally.