AppRTCDemo
AppRTCDemo copied to clipboard
No delegates methods are calling after rtcWorkerDidStartRTCTask
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.
Here is screenshot.
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 theXMPPMessage+Signaling
file, for example in the file, changeTYPE_SIGNALING
macro valuesignaling
tochat
.
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
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.
you said 'signaling' is custom configuration on jabber server. Generally, what be the XMPP messagee type for video chatting? (other than 'signaling'). ??
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.
Hi. Iam facing same issue. plz help me.