- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Tags:
- HTML5
- JavaScript*
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For 4.0 version , please use id() to get stream id information .Please read our API documentation to get more information .

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page