I am using Ant Media Server for WebRTC streaming. I want to play my WebRTC stream automatically when I open my WebRTC playing page. But it doesn't. How can I solve this?
I am using Ant Media Server for WebRTC streaming. I want to play my WebRTC stream automatically when I open my WebRTC playing page. But it doesn't. How can I solve this?
From the browser matters, autoplay doesn't work properly some browsers like Google Chrome and Mozilla Firefox. Btw, you can be digging into with below method:
muted parameter in your video tag.Here are the browser's autoplay policies that are most used.
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide#The_autoplay_feature_policy