Closed haiyangwu closed 4 years ago
Hi @haiyangwu,
Can you please paste here logs with SDP offer/answer so we can see the duplicated mid?
Or at least tell me the steps to reproduce it so we can test it.
Thx @jmillan,
dup.log This a whole trace log, it's the answer SDP
duplication occurs, line 3053 and line 3072 are both a=mid:2
, the first one is for probator
.
Android client joins a two users room will reproduce it.
Which libmediasoupclient version are you using? v3 branch is not ready yet for a new stable version.
@ibc Ok... and it's v3 branch @3e0d65e1ed6a1b8da168699a7555f9f71faa322d, I'll do some workaround change and sync until the new stable version ready.
Reopened, this is an issue to be solved.
@haiyangwu,
The issue has been solved.
It would be great if you could give it a try. Thanks.
Recently, I was trying to solve this bug https://github.com/haiyangwu/mediasoup-client-android/issues/23, but found
probatorConsumer
leads to this error (Duplicate a=mid value '2').Related code is
from
https://github.com/versatica/libmediasoupclient/blob/cc511b8c4904ab86c82ba7626a1ddcba4e063d80/src/Transport.cpp#L375
to
https://github.com/versatica/libmediasoupclient/blob/cc511b8c4904ab86c82ba7626a1ddcba4e063d80/src/Transport.cpp#L394
The mid for
probatorConsumer
was 2and it will be deprecated when consumer another one
@jmillan How can I solve this bug? Any suggestions ? just remove code related to
Consumer for RTP probation
?BTW, sorry for opening this issue, I can not visit mediasoup Discourse Group from my network 😔