I recently came across mediasoup and decided to use it in my development.
https://test.tiptop.rus/test2/index.php is the broadcast page,
https://test.tiptop.rus/test2/index2.php and this is the viewer page.
In Firefox, everything works fine, but in Google Chrome, it does not want to work on all mobile browsers.
The same goes for your demo project: https://v3demo.mediasoup.org
Firefox works, Google Chrome doesn’t.
Mediasoup is the latest version.
Google Chrome 100.0.4896.127
Please tell me what could be the reason? There are no errors in the logs.
Check webrtc-internals. This may be related: WebRTC transport not working on Chrome on the latest mediasoup libraries - #3 by adamansky (though I am not sure about the solution there; it seems that something strange is going on in Chrome).
I’m in production currently and checking the logs, over 1,000 unique users today have entered the site and used it with the latest version of Chromium.
Version 1.37.116 Chromium: 100.0.4896.127
There’s many of the users using mobiles as they’re routed to mobile domain and not a single transport had failed to be created unless user lagged out. So not sure it’s a browser issue.
I had similar issues when developing, I’d log and check the mediasoup-client to see if it gets stuck somewhere, turned out to solve most my issues back when.
I went custom with my code writing a room.js and modifying the mediasoup-client so unsure if this can be helpful but worth logging to see if it’s getting stuck you’ll know where.