Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to do WebRTC browser to native (C, C++ or other)?

Tags:

c++

c

webrtc

rtp

I have seen several examples of native to browser WebRTC applications, like for streaming video files stored on a server to one or more browsers, but is it possible to do the reverse ? I.e. streaming the webcam from the browser to a server, written in C, C++, Java or other ?

like image 518
nschoe Avatar asked Nov 01 '22 19:11

nschoe


1 Answers

It is possible.

WebRTC is using open standards to stream content over the network. You can find all the details in the following RFCs: http://tools.ietf.org/wg/rtcweb/

If you want to write your own native application that will receive (and even send) WebRTC media you can either get the WebRTC native code from here: http://www.webrtc.org/webrtc-native-code-package and build it into your solution or alternatively use one of the existing SDKs that can provide you this functionality (depending on which platform you want your native application to run on).

If you want to connect WebRTC to existing hardware like a SIP desk phone, you will need to have some sort of a gateway that will have one leg that will communicate with WebRTC on the browser and the other leg that will communicate with your SIP phone.

There are a lot of commercial solutions already out there, but eventually it all comes down to what your needs are.

like image 124
Gil Osher Avatar answered Nov 15 '22 05:11

Gil Osher