Back to Exoplayer

BinarySearchSeeker.SeekTimestampConverter (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/BinarySearchSeeker.SeekTimestampConverter.html

latest1.2 KB
Original Source

Package com.google.android.exoplayer2.extractor

Interface BinarySearchSeeker.SeekTimestampConverter

  • All Known Implementing Classes:BinarySearchSeeker.DefaultSeekTimestampConverterEnclosing class:BinarySearchSeeker

protected static interfaceBinarySearchSeeker.SeekTimestampConverter

A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | long | timeUsToTargetTime​(long timeUs) | Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker. |

Method Detail

- 

timeUsToTargetTime

long timeUsToTargetTime​(long timeUs)

Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker.