# The demo can't work with 3.10.x !!!

**URL:** <https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524>\
**Category:** mediasoup-demo\
**Created:** [August 31, 2022, 7:35am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524 "2022-08-31T07:35:38Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [August 31, 2022, 7:35am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/1 "2022-08-31T07:35:38Z")

</div>

Hi

The demo can’t work with mediasoup 3.10.x.  
Steps:

1. Open two web browser and put “[https://x.x.x.x:3000?romeId=xxx](https://x.x.x.x:3000?romeId=xxx)”  
2.It works the first time.(You can see each other in video)
2. Close these two browser and re-open two web browser.(try again)
3. 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)

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [August 31, 2022, 7:46am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/2 "2022-08-31T07:46:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [August 31, 2022, 7:50am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/3 "2022-08-31T07:50:55Z")

</div>

I tried another roomId when I re-open browser . It means a new conversation. But the video is not work.

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [August 31, 2022, 7:52am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/4 "2022-08-31T07:52:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [August 31, 2022, 7:53am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/5 "2022-08-31T07:53:22Z")

</div>

You mentioned typically about 3.10 version does this work with 3.9?

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [August 31, 2022, 7:57am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/6 "2022-08-31T07:57:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [August 31, 2022, 8:19am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/7 "2022-08-31T08:19:35Z")

</div>

> [@rimancool](#):
>
> MEDIASOUP\_USE\_WEBRTC=ture

It seems the issue caused by the 3.10 new feather of MEDIASOUP\_USE\_WEBRTC=ture

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [August 31, 2022, 9:23am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/8 "2022-08-31T09:23:52Z")

</div>

I don’t think there is any thing like MEDIASOUP\_USE\_WEBRTC in mediasoup, this seems to be your project specific.

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [September 1, 2022, 1:13am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/9 "2022-09-01T01:13:36Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [September 1, 2022, 3:36am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/10 "2022-09-01T03:36:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [September 1, 2022, 3:48am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/11 "2022-09-01T03:48:14Z")

</div>

yes, this MEDIASOUP\_USE\_WEBRTC is defined in mediasoup-demo project.

---

<div class="post-metadata">

**Author:** ![rimancool](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rimancool](https://mediasoup.discourse.group/u/rimancool)\
**Post date:** [September 1, 2022, 3:49am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/12 "2022-09-01T03:49:27Z")

</div>

> [@rimancool](#):
>
> mediasoup-demo

mediasoup-demo doesn’t work with mediasoup 3.10.x

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [September 1, 2022, 5:54am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/13 "2022-09-01T05:54:50Z")

</div>

Have you checked with ending the call properly?

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [September 1, 2022, 6:00am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/14 "2022-09-01T06:00:07Z")

</div>

Some issue related to 3.10.x was solved here as well, he updated the mediasoup-client version:

> [@Video freeze in Firefox, mac m1](https://mediasoup.discourse.group/t/video-freeze-in-firefox-mac-m1/4431):
>
> Reproduce steps: Open demo mediasoup in ff last version on mac m1 [https://v3demo.mediasoup.org/](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

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [September 1, 2022, 6:01am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/15 "2022-09-01T06:01:40Z")

</div>

You asked this couple of months ago as well 😄

> [@3.10.x Bug?](https://mediasoup.discourse.group/t/3-10-x-bug/4405):
>
> 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

---

<div class="post-metadata">

**Author:** ![jason-shen](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/jason-shen/32/1419_2.png) [@jason-shen](https://mediasoup.discourse.group/u/jason-shen)\
**Post date:** [September 2, 2022, 1:20am UTC](https://mediasoup.discourse.group/t/the-demo-cant-work-with-3-10-x/4524/16 "2022-09-02T01:20:22Z")

</div>

don’t think its the webrtcserver issue, i got it fully working but using rust though
