We determined that tracks were always getting limited to 30fps and approx 4mbps. After digging into the publish_track method it was determined that the user defined video_encoding parameters were getting thrown out in favor of the defaults.
This PR modifies the compute_appropriate_encoding to properly take into account the user defined encoding settings. After making this change we were able to reliably push 60fps @ 30mbps using VP8/VP9/AV1 and are no longer running into a cap.
Hello everyone!
When publishing a track, with the following code
We determined that tracks were always getting limited to 30fps and approx 4mbps. After digging into the
publish_track
method it was determined that the user definedvideo_encoding
parameters were getting thrown out in favor of the defaults.This PR modifies the
compute_appropriate_encoding
to properly take into account the user defined encoding settings. After making this change we were able to reliably push 60fps @ 30mbps using VP8/VP9/AV1 and are no longer running into a cap.