Skip to content

Position discontinuity behavior is different between last mid ad point and others. ( This behavior causes audio lag in some devices ) #9929

@dev-platong

Description

@dev-platong

I have a problem of audio lag at specific device. So I investigated, finally I found position discontinuity behavior is different between final mid ad point and others.

This behavior is always replicated when vast is empty and IMA SDK cannot insert an ad.

  1. Final mid ad point

Position Discontinuity reason is always AUTO_TRANSITION. This cause an audio lag issue in some devices.

  1. Others (except final mid ad point)

Position Discontinuity reason is always SKIP.

So that I think SKIP is correct when IMA SDK failed to insert ad at last mid ad point.

Reproduction Step

I prepare reproduction demo app at https://github.com/dev-platong/ExoPlayer/tree/issues-position-discontinuity-reason branch.

  1. Open demo app
  2. Select a stream ( I removed other streams )
  • ExoPlayer version number r.2.16.1
  • Android version 11 ( I think any android os versions reproduction )
  • Android device Any devices and emulators

Video

2022-02-03.15.05.25.mov

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions