Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

RTCPeerClient unpublish Error Code=2000

Mohamad_I_
Beginner
125 Views

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.

0 Kudos
1 Reply
Jianjun_Z_Intel
Employee
125 Views

Hi Mohamad,

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

Reply