Android在获得对等连接之前在屏幕上显示摄像头捕获

时间:2018-03-05 11:37:28

标签: android apprtc apprtcdemo

我正在使用appRTC进行视频通话,但是在连接到服务器之前有一段时间屏幕是黑色的,而我希望在等待时在屏幕上显示相机捕获:

VideoCapturer videoCapturer = createVideoCapturer();
//what to do here before creating a peer connection
peerConnectionClient.createPeerConnection(rootEglBase.getEglBaseContext(), localProxyRenderer, remoteRenderers, videoCapturer, signalingParameters);

谢谢

0 个答案:

没有答案
相关问题