Open mjprins opened 7 years ago
Ah I now see that the peer object has the attribute "type" with value "screen" for screenshare and "video" for webcam feed
@mjprins please close this issue if you have resolved it (just trying to clean up the repo of old issues)
Hi,
I am looking into a way to identify the type of video stream a client is receiving (actually the role it is assigned). For instance this may be a webcam feed, but also a screen share. I could work around this by creating a mapping table myself (peer.id => role), but am curious if there's a built in way to signal the role of a certain peer stream.