WebRTC on a standalone mobile app

2020-05-12 04:55发布

I know that WebRTC was designed for browsers, but is it possible to use WebRTC libraries on mobile applications directly?

Thanks!

标签: webrtc
16条回答
闹够了就滚
2楼-- · 2020-05-12 05:41

As of March 2014, here is a way to do that, indeed:

That would be if you're interested in having a native client. If you don't mind using a mobile browser, the following ones are currently supported:

  • Google Chrome 28 (Enabled by default since 29)
  • Mozilla Firefox 24
  • Opera Mobile 12

Source:

查看更多
老娘就宠你
3楼-- · 2020-05-12 05:46

One resource you might want to look at is this article: how to get started with webrtc and ios without wasting 10 hours of your life

One problem I am having is making sense of all the WebRTC/Libjingle library files. At the moment, I can get the example app running but I wish there was a "Hello World" example out there.

查看更多
冷血范
4楼-- · 2020-05-12 05:47

Let me summarize the answer, on Android Firefox actually has WebRTC support I believe, on the other hand there is a bunch of companies out there providing the full stack for building an WebRTC Product. If you are after just WebRTC and building the other stuff (addressing etc) your self you probably have to Build a couple of wrappers yourself. (Disclaimer I work for sinch)

[http://sinch.com]
[http://twilio.com]
[http://tokbox.com]
[http://nexmo.com]
[http://plivo.com] (I think)

There is some more out there, but these are the main ones

We all have our different benefits and weaknesses. if you are interested send an email and I can talk about sinch.

查看更多
Fickle 薄情
5楼-- · 2020-05-12 05:48

As of today, WebRTC officially is available natively on Android/iOS.

http://www.webrtc.org/native-code/android

http://www.webrtc.org/native-code/ios

Although under the hood, it is just a Java/Objective C wrapper around the C++ APIs.

You can still use them without going through JavaScript.

The Java wrapper API : https://code.google.com/p/webrtc/source/browse/trunk/talk/#talk%2Fapp%2Fwebrtc%2Fjava%2Fsrc%2Forg%2Fwebrtc

The Objective C wrapper API : https://code.google.com/p/webrtc/source/browse/trunk/talk/#talk%2Fapp%2Fwebrtc%2Fobjc%2Fpublic%253Fstate%253Dclosed

查看更多
登录 后发表回答