AudioSink.UnexpectedDiscontinuityException


class AudioSink.UnexpectedDiscontinuityException : Exception


Thrown when the sink encounters an unexpected timestamp discontinuity.

Summary

Public constructors

UnexpectedDiscontinuityException(
    actualPresentationTimeUs: Long,
    expectedPresentationTimeUs: Long
)

Creates an instance.

Public properties

Long

The actual presentation time of a sample, in microseconds.

Long

The expected presentation time of a sample, in microseconds.

Public constructors

UnexpectedDiscontinuityException

UnexpectedDiscontinuityException(
    actualPresentationTimeUs: Long,
    expectedPresentationTimeUs: Long
)

Creates an instance.

Parameters
actualPresentationTimeUs: Long

The actual presentation time of a sample, in microseconds.

expectedPresentationTimeUs: Long

The expected presentation time of a sample, in microseconds.

Public properties

actualPresentationTimeUs

val actualPresentationTimeUsLong

The actual presentation time of a sample, in microseconds.

expectedPresentationTimeUs

val expectedPresentationTimeUsLong

The expected presentation time of a sample, in microseconds.