-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
Description
This is actually more of a question rather than an issue.
Whenever you call MediaCodecVideoTrackRenderer.setSurface() with a new Surface, playback will stop until a new sync frame is received. I haven't looked too deep into the internals but I guess the buffers used by MediaCodec are obtained directly from a given surface so it needs to be reset. Is there any way of passing the current decoding state to a new MediaCodec/Surface?
The question is if it would be possible at all to avoid the playback gap at all and what modifications would it require to ExoPlayer.
Thanks!
Reactions are currently unavailable