amazon-chime-sdk-js icon indicating copy to clipboard operation
amazon-chime-sdk-js copied to clipboard

Allow 30fps in simulcast uplink policy

Open OasisLiveForever opened this issue 4 years ago • 3 comments

Hello,

I saw that in recent commit it will be possible to pass in custom simulcast uplink policy. Will it also be possible to set 30fps for simulcast?

Thanks.

OasisLiveForever avatar Oct 06 '21 07:10 OasisLiveForever

@OasisLiveForever Yes, you just need to update this chooseMediaTrackConstraints to set 30fps.

ltrung avatar Oct 06 '21 19:10 ltrung

@ltrung Will I have to reimplement the entire uplink policy or will I be able to inherit from DefaultSimulcastUplinkPolicy and override only chooseMediaTrackConstraints method?

What about chooseVideoInputQuality method? Does it have effect when using simulcast?

OasisLiveForever avatar Oct 07 '21 03:10 OasisLiveForever

You only have to inherit from DefaultSimulcastUplinkPolicy and override chooseMediaTrackConstraints. Make sure to specify that in meeting configuration.

Currently simulcast ignores chooseVideoInputQuality so that API only specify the capturing for the stream from the camera.

ltrung avatar Oct 08 '21 23:10 ltrung