WebRTC on a standalone mobile app

后端 未结 16 2327
一个人的身影
一个人的身影 2021-01-30 09:42

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

Thanks!

16条回答
  •  悲&欢浪女
    2021-01-30 10:04

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

    https://webrtc.github.io/webrtc-org/native-code/android/

    https://webrtc.github.io/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

提交回复
热议问题