On Monday, August 28, 2017 at 2:52:02 PM UTC+8, Andreas Pehrson wrote:
> Hi xpeng,
>
> You can use RtpSender.setParameters({ encodings: [{ scaleResolutionDownBy:
> 2.0 }] }) to control resolution (bug 1244913
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1244913>). There's a similar
> maxBitrate control as well. For framerate I'm not as sure what we support.
> Others may comment later as they come online (US timezones).
>
>
> Andreas
>
> On Mon, Aug 28, 2017 at 5:41 AM, <[email protected]> wrote:
>
> > We found that the max-fr was disabled after firefox 53 , the max-fs was
> > also disabled after firefox 56 . How to control the resolution and
> > framerate now?
> > _______________________________________________
> > dev-media mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-media
> >
Thanks , but the "scaleResolutionDownBy" can not solve our problem :
We want to get the 640*360 15fps video from camera by getusermedia,some camera
do not support resolution smaller than 1280*720, and just support 30fps , we
have to scale up framerate and scale down resolution to make sure the total
bitrate reaches our goal, so we finally getusermedia with a parameter: 0-1920
0-1080 30fps to make sure succeed to getusermedia and then use max-fs to
scale down the resolution to 640*360/2 .but now the max-fs do not work , the
"scaleResolutionDownBy" also can not make sure the resolution not smaller than
640*360/2
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media