callstack / react-native-opentok

React Native OpenTok
202 stars 79 forks source link

I can't use this library . Please help me asap. #95

Open angel82800 opened 6 years ago

angel82800 commented 6 years ago

Hello, I have been building video chatting app using react native. Problem : iOS Version <Publisher sessionId={sessionId} onPublishStart={() => { console.log('started')}} onPublishStop={() => { console.log('Streaming Stopped')}} onPublishError={() => { console.log('Streaming Error')}} style={styles.publisher} ref={ref => { this.ref = ref; }} /> <Subscriber sessionId={sessionId} onSubscribeStart={() => { console.log('Watching started')}} onSubscribeStop={() => { console.log('Watching started')}} onSubscribeError={() => { console.log('Watching started')}} style={{backgroundColor: 'black',height:height/2, width: width }} ref={ref => { this.ref = ref; }} />

I can't check anything. don't request camera and microphone permission. I set Privacy - Camera Usage and microphone already.

Possible Unhandled Promise Rejection (id: 0): Error: Signal wasn't sent Error: Signal wasn't sent

I am getting these issues.

Carlosp16 commented 6 years ago

"Error: Signal wasn't sent" appears when you try send a signal before to call the Connect of opentok.

ASerga commented 6 years ago

It there any way to get/check current connection to session?