WebRTC on a standalone mobile app

后端 未结 16 2166
一个人的身影
一个人的身影 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 09:58

    My team has done quite a bit of work in this area. If you are looking for a Cordova plugin we've been playing with an open source project called PhoneRTC. We have it running on iOS but it's a bit unreliable and the aspect ratio of the video window is fixed in a way that looks unnatural on most devices but it does work.

    We've also created an Android demo using libjingle. Libjingle is now part of the WebRTC project and code base. This link is probably out of date now but points to instructions that worked for us at the time.

提交回复
热议问题