wyvasi
Member
Hello!
How can we force a fixed or a lower resolution when publishing from web?
We have this code for browsers but it seems some users still publish with 1920x1080 instead of 1280x720 do I have to add anything else to force it?
Also where can I get video publish resolution when it comes from rtmp(OBS), it seems I get width:0, height:0 on pubishStream ? can I get it latter on another endpoint?
How can we force a fixed or a lower resolution when publishing from web?
We have this code for browsers but it seems some users still publish with 1920x1080 instead of 1280x720 do I have to add anything else to force it?
Code:
constraints: {
video: {
width: 1280,
height: 720
}