Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

Unable to get LocalStream id

Guzyuk__Andrey
Beginner
86 Views

Hello! 
I'm trying prevent subscribing ourselves ( so i shouldn't see myself in remote view ), but i can't get id of LocalStream. 
So basically i want to compare it like: 

 

[ [RemoteStream getRemoteUserID] isEqualToString: [[LocalStream] getUserId] ]; 

For RemoteStream i can get ID, but for LocalStream - nope 
Is there any workaround for it? 

Note: In android sdk i have seen we have `getID` function for it 
WebRTC 3.5

Thanks in advance! 

0 Kudos
1 Reply
YanbinZ_Intel
Employee
86 Views

For 4.0 version , please use id() to get stream id information .Please read our API documentation to get more information .

Reply