ionic-video-chat-support icon indicating copy to clipboard operation
ionic-video-chat-support copied to clipboard

Black Screen on Video Call [iOS]

Open pauval08 opened this issue 8 years ago • 7 comments

I'm only seeing a black screen when placing a video call. I'm able to call and answer just fine, and the smaller video frame in the lower right works fine, but no video of the other party, or sound.

pauval08 avatar Feb 04 '17 05:02 pauval08

  • iOS, android, or desktop
  • if desktop what browser
  • hosted or local

spacedevin avatar Feb 04 '17 15:02 spacedevin

iOS and Hosted on AWS with an nginx proxy sitting in front of it. Only port 9000 is open.

pauval08 avatar Feb 04 '17 19:02 pauval08

For iOS, make sure you have followed step 6 here https://github.com/devin-la/ionic-video-chat-v2-issues/wiki/Building#ios

If that still does not work: Is the other party also iOS? or are you testing using a desktop web browser?

spacedevin avatar Feb 08 '17 17:02 spacedevin

Both phones are iOS, and I did add the privacy description keys into xCode as per iOS 10 requirements. How does the iosrtc work - is it peer to peer or does it require the server? It may be a firewall or network issue?

pauval08 avatar Feb 08 '17 17:02 pauval08

It could be network related. The server portion allows messages to be sent using socket.io to signal a direct connection between each device. Once the connection is negotiated, they should be talking to eachother.

To debug the network traffic:

  • server: modify the log output in socket.on('sendMessage', (userId, message) => { so that it prints the message as well.
  • client: take a look at the bottom of the contructor method in call.ts. specificly at the end of this.socket.on('messageReceived', (name, message) => { you will see the rtc connection specific functions. output the entire message there to make sure the message is getting received properly.

spacedevin avatar Feb 08 '17 17:02 spacedevin

Also, I just added this which might also help you: https://github.com/devin-la/ionic-video-chat-v2-issues/wiki/STUN-TURN-Server

spacedevin avatar Feb 08 '17 19:02 spacedevin

I'm getting a black screen too when on a video call... Android receives Browser fine Browser does not receive Android and shows a black

orion3dgames avatar Sep 20 '17 01:09 orion3dgames