Hi
The demo can’t work with mediasoup 3.10.x.
Steps:
Open two web browser and put “https://x.x.x.x:3000?romeId=xxx ”
2.It works the first time.(You can see each other in video)
Close these two browser and re-open two web browser.(try again)
it can’t work.(You can’t see each other in video. It seems no video stream was send to mediasoup server. No error log in the mediasoup server console)
zaidiqbal
(Zaid Iqbal)
August 31, 2022, 7:46am
2
Try ending the call before closing the browser, it should work in my opinion. This is demo app and may be lacking some re-connectivity thing if you rejoin without ending.
I tried another roomId when I re-open browser . It means a new conversation. But the video is not work.
zaidiqbal
(Zaid Iqbal)
August 31, 2022, 7:52am
4
Can you confirm if the thing work when you properly end the call instead of just leaving randomly?
Have you setup this on you local? If yes are there any errors in node server?
zaidiqbal
(Zaid Iqbal)
August 31, 2022, 7:53am
5
You mentioned typically about 3.10 version does this work with 3.9?
This issue is only happen in 3.10.x with MEDIASOUP_USE_WEBRTC=ture.
It works fine in 3.9.x or 3.8.x version with the same mediasoup-demo project.(Just close the web browser inderectly) .
I will try end call and see if it works fine.
It seems the issue caused by the 3.10 new feather of MEDIASOUP_USE_WEBRTC=ture
zaidiqbal
(Zaid Iqbal)
August 31, 2022, 9:23am
8
I don’t think there is any thing like MEDIASOUP_USE_WEBRTC in mediasoup, this seems to be your project specific.
rimancool
(riman)
September 1, 2022, 1:13am
9
The “MEDIASOUP_USE_WEBRTC” is the param for the new feather:
3.10.0
WebRtcServer
: A new class that brings to WebRtcTransports
the ability to listen on a single UDP/TCP port (PR #834 ).
zaidiqbal
(Zaid Iqbal)
September 1, 2022, 3:36am
10
I think this constant is the one which you use internally in your all to enable new webrtc server approach. This doesn’t belong to mediasoup.
rimancool
(riman)
September 1, 2022, 3:48am
11
yes, this MEDIASOUP_USE_WEBRTC is defined in mediasoup-demo project.
rimancool
(riman)
September 1, 2022, 3:49am
12
rimancool:
mediasoup-demo
mediasoup-demo doesn’t work with mediasoup 3.10.x
zaidiqbal
(Zaid Iqbal)
September 1, 2022, 5:54am
13
Have you checked with ending the call properly?
zaidiqbal
(Zaid Iqbal)
September 1, 2022, 6:00am
14
Some issue related to 3.10.x was solved here as well, he updated the mediasoup-client version:
Reproduce steps:
Open demo mediasoup in ff last version on mac m1 https://v3demo.mediasoup.org/
Open demo in different browser with same roomId what was in 1 step
Leave window ff and open different(no matter what window exactly)
After a while video in ff will freeze
In common I catch that bug, but time to time video working properly
I’ve checked all params. And as I see consumer is started, but consumer don’t get packets from server. Server send packet normally
Audio is working well
zaidiqbal
(Zaid Iqbal)
September 1, 2022, 6:01am
15
You asked this couple of months ago as well
Hi
I had run the mediasoup-demo successful with the latest version. I can get the video from the other.
But I can’t get the video when I try again after I close the chrome window of the first time. The same peerId with the first time.
It seems the chrome can’t push the video to the mediasoup server.
I’m not sure if it is a bug.
Did other have the same issue?
Thanks
jason-shen
(Jason Shen)
September 2, 2022, 1:20am
16
don’t think its the webrtcserver issue, i got it fully working but using rust though