Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
7 Views

Unable to Reconnect in iOS.

Hi Team,

I'm using "CS_WebRTC_Client_SDK_iOS.v4.1", in that how can I reconnect and publish stream the stream, when I have network reconnection, or when I switch networks? (in MCU)

Observed scenarios:

1. When I'm in conference call, if I switch Off Wifi, after some seconds( may be after 10 - 20 seconds) the stream get ended, Before that 10-20 seconds if I switch ON my WiFi back the conference is continuing. Now, how to implement manual reconnection when the stream gets ended?

Note: There is no Mobile data.

2. Secondly, how can I know that my stream got ended because of network? Is there a delegate/ call backs?

 

Thanks,

Srujan K.

 

Tags (2)
0 Kudos
3 Replies
Highlighted
Beginner
7 Views

Hi Team,

Hi Team,

Any update would be appreciated.

0 Kudos
Highlighted
7 Views

Hi Srujan,

Hi Srujan,

1. Reconnection is automatically performed by SDK. If you want to manually reconnect to a conference, you'll need to stop existing publications and subscriptions, then re-publish and re-subscribe the streams you need.

2. ICSConferencePublicationDelegate and ICSConferenceSubscriptionDelegate may be the delegates you're looking for.

0 Kudos
Highlighted
Beginner
7 Views

Hello,

Hello,

Once your streaming got ended you will receive an iceconnection state closed or disconnect the state. On which you have to do the further operation.

In my case reconnection established automatically.

0 Kudos