简体   繁体   English

React Native 构建视频通话 function 使用 expo go

[英]React Native Building a Video Call function using expo go

I am new to React Native development and I have been working on my first app using expo. Now I need to add a video call function to my app.我是 React Native 开发的新手,我一直在使用 expo 开发我的第一个应用程序。现在我需要向我的应用程序添加一个视频通话 function。 How can I add a video call function using expo?如何使用 expo 添加视频呼叫 function?

Technically, you can integrate video calls in the app with WebRTC - https://www.npmjs.com/package/react-native-webrtc .从技术上讲,您可以在 WebRTC - https://www.npmjs.com/package/react-native-webrtc的应用程序中集成视频通话。

Expo - Sadly this module is not available in the Expo Go app by default due to including much needed native code. Expo - 遗憾的是,由于包含急需的本机代码,默认情况下此模块在Expo Go应用程序中不可用。 However you can get things working via the expo-dev-client library and out-of-tree config-plugins/react-native-webrtc package.但是,您可以通过expo-dev-client库和 out-of-tree config-plugins/react-native-webrtc package 让事情正常进行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM