haiyangwu / mediasoup-client-android

mediasoup android client side library https://mediasoup.org
MIT License
179 stars 107 forks source link

Duplicate a=mid value '2' #23

Closed KurdAppDev closed 4 years ago

KurdAppDev commented 4 years ago

above 3.0.4-beta-2 it has this error with 3 devices and more

[WARN] PeerConnection::OnFailure() | webtc::SetSessionDescriptionObserver failure [INVALID_PARAMETER:Failed to set remote offer sdp: Duplicate a=mid value '2'.]

E/mediasoupclient-jni: [ERROR] transport_jni::JNI_RecvTransport_Consume() | Failed to set remote offer sdp: Duplicate a=mid value '2'.

KurdAppDev commented 4 years ago

There is a way to fix this or we will have to wait for a new update?

zeeshanrasool91 commented 4 years ago

Same issue i also raised if anyone can help on that it will be highly appreciated

YangZhouYz commented 4 years ago

@作者 请问,这个问题有什么解决办法?我卡在这个问题好久了。

haiyangwu commented 4 years ago

Already found the root cause,I'll fix it but still waiting for @jmillan's advice. A quick workaround was to remove code related to Consumer for RTP probation as mentioned in https://github.com/versatica/libmediasoupclient/issues/83.

jmillan commented 4 years ago

Where you able to confirm the fix @haiyangwu?

haiyangwu commented 4 years ago

@jmillan Already tested in my local environment and your fix commit worked. A new version org.mediasoup.droid:mediasoup-client:3.0.8-beta-2 was just uploaded to https://bintray.com/.

jmillan commented 4 years ago

super :-)