Skip to content

Recreate the video encoder session at the adaptive resolution after a restart - #488

Open
gabbelitoV2 wants to merge 1 commit into
eerimoq:mainfrom
gabbelitoV2:recreate-the-video-encoder-session-at-the-adaptive-resolutio
Open

gabbelitoV2 wants to merge 1 commit into
eerimoq:mainfrom
gabbelitoV2:recreate-the-video-encoder-session-at-the-adaptive-resolutio

Conversation

@gabbelitoV2

Copy link
Copy Markdown
Contributor

startRunning set invalidateSession but kept oldBitrateVideoSize. With adaptive resolution active and the bitrate below a threshold, the first frame after a reconnect skipped the adaptive branch (same size as before) and the invalidate branch created the session at full resolution, so the encoder ran full size at the low bitrate until the bitrate crossed another threshold. Resetting the size on start makes the first frame create the session at the adaptive size and notify the control delegate.

Not built locally, relying on CI for the build.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant