AppRTCDemo icon indicating copy to clipboard operation
AppRTCDemo copied to clipboard

No delegates methods are calling after rtcWorkerDidStartRTCTask

Open manjunathgudisi opened this issue 8 years ago • 7 comments

HI -

Im trying to implement video calling. 'rtcWorkerDidStartRTCTask' method is getting called in 'RosterViewController.m' file. after this, no delegate method is getting called. Ideally, my understanding is, 'didReceiveRemoteStream' should get called. then the users can see the video to each other.

what could be the reason for not gelling called 'didReceiveRemoteStream' method. FYI, I have xmpp signaling message type as 'normal', not 'signaling'.

Help me please, thank you.

manjunathgudisi avatar Sep 24 '16 08:09 manjunathgudisi

img_1774

Here is screenshot.

manjunathgudisi avatar Sep 24 '16 08:09 manjunathgudisi

About the signaling message type, I have wrote the Attention Text in Readme.md. Maybe you can change the TYPE_SIGNALING macro value signaling to normal.

  • In this demo, I custom-make a signaling type XMPPMessage to transfer the signallings. Before run this demo, Please Check whether your jabber server can support this custom XMPPMessage. If your jabber server cann't support it, you should modify the custom XMPPMessage's type that your jabber server can support in the XMPPMessage+Signaling file, for example in the file, change TYPE_SIGNALING macro value signaling to chat.

YK-Unit avatar Sep 24 '16 08:09 YK-Unit

Thanks for your quick reply. I have changed 'signaling' to 'chat'. Still its not showing up any video chat. I mean, '- (void)rtcWorker:(RTCWorker *)sender didReceiveRemoteStream:(RTCMediaStream *)stream' is not getting called.

is the message type 'chat' means, is it only message chat or also for video chat?

is my assumption correct about 'didReceiveRemoteStream' should get call for video chatting to start?

thanks

manjunathgudisi avatar Sep 24 '16 09:09 manjunathgudisi

The message type 'chat' means only message chat , and the message type 'signaling' means only video chat. The 'signaling' message is a control command for control video chat.

YK-Unit avatar Sep 24 '16 09:09 YK-Unit

you said 'signaling' is custom configuration on jabber server. Generally, what be the XMPP messagee type for video chatting? (other than 'signaling'). ??

manjunathgudisi avatar Sep 24 '16 14:09 manjunathgudisi

you should check what type your jabber server can support,then you select one type message for video chatting, and change TYPE_SIGNALING macro value signaling to the type.

YK-Unit avatar Sep 26 '16 01:09 YK-Unit

Hi. Iam facing same issue. plz help me.

shravanteegala avatar Jun 21 '17 09:06 shravanteegala