Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

RTCPeerClient unpublish Error Code=2000

Hi there, 

 

The error below appears when we hangup from any other partner(Chrome, Firefox, Android) and try to unpublish peerClient:

 

Domain=com.intel.webrtc Code=2000 "(null)"

 

whereas the hangup from iOS works properly!!

 

I'm using iPad mini 2,

iOS: 10.2.1

WebRTC: 3.2

 

The code where the error has been thrown.

 

[_peerClient unpublish:localStream to:remoteUserID onSuccess:^{
				NSLog(@"WebRTC Success: OnStopped: Unpublished Stream successfully.");
			} onFailure:^(NSError *error) {
				NSLog(@"WebRTC Error: OnStopped: %@", error);
			}];

 

 

Thanks in advance.

Tags (2)
0 Kudos
1 Reply
Highlighted
1 View

Hi Mohamad,

Hi Mohamad,

Unpublish a stream after its associated session is ended may trigger failure callback because the stream is unpublished during hangup.

0 Kudos