Use maximum bitrates for encoded output buffer sizes
There is some risk associated with this change, as audio track buffers come from shared memory and limits may be device-specific. I've tested these sizes on Nvidia Shield TV and Nexus Player on various builds. The maximum size allocated is about 800 KB. We could implement support for retrying creating the audio track if it fails to initialize, but it seems preferable to avoid the extra complexity required to do that unless we know it's necessary to work around device-specific limitations. Issue: #3803 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=206749222
Showing
with
41 additions
and
17 deletions
Please
register
or
sign in
to comment