nubomediaTI / Kurento-iOS

Kurento Toolbox for iOS
Apache License 2.0
120 stars 76 forks source link

Black Picture #8

Open arashr opened 8 years ago

arashr commented 8 years ago

I'm trying to run the demo app with a local kurento room server. It joins the room but picture of other people is black and a loading indicator is showing. Web client shows that iOS is joined and the picture is black too. No errors at all.

Do you have any idea what can it be?

maross commented 8 years ago

Hi arashr, it seems that you don't send your stream and, at the same time, you don't receive other participant's remote streams. Did you run the app on device right? Have you verified that the - (void)roomManager:(NBMRoomManager *)broker didAddStream:(RTCMediaStream *)remoteStream ofPeer:(NBMPeer *)remotePeer method is called?

arashr commented 8 years ago

I'm running the demo app on an iPhone 5, with 9.2 iOS. The method is not called. I'm trying to trace the code to find the reason. So far? Nothing.

sashakid commented 8 years ago

Hi, I have encountered with the same issue. @maross in my case I see that didAddStream is called in both right and wrong (black screen) session. I've noticed, that audio works while black screen, but there is no video for 40-50 seconds and then video appears. I'm trying to compare right and wrong session (right on left, wrong on right), check my screenshot, do you see any suspicious in that place? Screenshot