EricssonResearch / openwebrtc-examples

Examples apps showing how to use OpenWebRTC
BSD 2-Clause "Simplified" License
338 stars 209 forks source link

DataChannel examples #58

Open stefanalund opened 9 years ago

stefanalund commented 9 years ago

Add example of how to use DataChannel on iOS and Android.

vanney9 commented 8 years ago

Any update on this? I dont know how to use DataChannel on iOS

stefanalund commented 8 years ago

Bowser has support for DC via the standard JavaScript API's. This issue is about adding similar API's to native apps.

https://github.com/EricssonResearch/bowser

uniruddh commented 8 years ago

@stefanalund :Can we use or relay on DataChannel class available in "com.ericsson.research.owr" package for such example? Would it be sufficient for whole implementation?

haichuand commented 8 years ago

Same question here. How can I use DataChannel in native iOS or Android apps?

stefanalund commented 8 years ago

It is available from WebRTC's standard JavaScript APIs if you build a hybrid/webview app, but we have not got around to exposing native (Objective C) APIs yet. The C APIs are all there in OpenWebRTC though so it is hopefully not too much work if you want to try it yourself.

galileomd commented 8 years ago

hi, very interested in seeing how to implement datachannel in openwebrtc also, preferably in swift... will dig into the c api but that's a significant hurdle