Closed SakibFarhad closed 9 months ago
mid
corresponds to a media stream, not a participant. Your publisher is sending both audio and video, so you get two different mids. Maybe you're confused with msid
. That said, please post questions like this on the group, we only use GitHub for code issues.
@atoppi made me notice that you may be referring to the fact both are video streams, and that both refer to the same source, that is feed_mid: "0"
. In theory, this can happen if:
In that case, it would be normal for you go get the same feed twice. If not, there may be a bug. Make sure (via debugging the client side) that you're not unknowingly sending the same subscribe request twice (e.g., once when doing join
, and once now via subscribe
). As such, please provide the full API sequence, and possibly the SDPs involved (ideally as a gist or pastebin link, not inline here).
Yes, both are video streams. We don't use audio of videoroom, for audio we use audiobridge. We are collecting the debug log for both server and client.
Here is the gist URL providing both server and client log.
Your log demonstrates what I thought: you're subscribing to the same user twice yourself. Before calling subscribe
for ID 7628034449938680
, you also used switch
for the same feed. As such, it's a problem in your client side login, not Janus. Closing.
What version of Janus is this happening on? 1.2.1
For the following request
we are getting following response where for different
mid
we are getting same user