EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

New release? #614

Open lu-zero opened 8 years ago

lu-zero commented 8 years ago

Had been over an year since the last release and looks like most of the Known Issues in the current release had been fixed.

superdump commented 8 years ago

Hey @lu-zero ! Long time no speak. Hope you're well.

The plan has been to do a 0.4.0 release asap but alas it takes time to do and I don't want to just cut it without being confident of the quality.

Coming real soon now.

lu-zero commented 8 years ago

Hey @superdump =)

I'm looking forward to it =)

nxz91 commented 8 years ago

Same here – can't wait to build a Cordova plugin for OpenWebRTC :-)

nxz91 commented 8 years ago

After some time off this project, I wanted to continue my efforts in writing a Cordova plugin for OpenWebRTC today.

To do so, I have to expose the WebRTC API in JavaScript, mapping the standard WebRTC JavaScript functions to your native OpenWebRTC code (e.g. navigator.getUserMedia, the navigator.WebRTCPeerConnection object etc.) Naturally, Cordova provides a method for this: cordova.exec(args) to execute native methods. I have to input Objective-C header and source files where it will look for the method to execute.

Now, after reading the Developing a hybrid iOS app tutorial, and building OpenWebRTC, I am still clueless where to find the Objective-C methods corresponding to the standard WebRTC API, and whether this is actually the right question to ask. I'm a bit jumping into the cold water, because I don't have a lot of (very little to none) experience with the native and the architecture of the OpenWebRTC framework.

Any hints?

stefanalund commented 8 years ago

In an application such as Bowser the JS is injected in to the WKWebView and there is a bridge that converts JS calls to native C calls in OpenWebRTC. There is also Objective-C API that maps 1:1 with the WebRTC JS specification. That is something you would need to write yourself.

I hope this helps!

ck3mp3r commented 8 years ago

@superdump will this release allow direct access to the GST sinks and pads that are being used? Would be great to be able to inject visual effects that way, considering the powerful underlying GST framework... I've been trying to include owr_gst to be able to do this myself, with limited success...