DefaultRtpPayloadReaderFactory


@UnstableApi
class DefaultRtpPayloadReaderFactory : RtpPayloadReader.Factory


Default RtpPayloadReader.Factory implementation.

Summary

Public constructors

Public functions

RtpPayloadReader?

Returns a RtpPayloadReader for a given RtpPayloadFormat.

Public constructors

DefaultRtpPayloadReaderFactory

DefaultRtpPayloadReaderFactory()

Public functions

createPayloadReader

fun createPayloadReader(payloadFormat: RtpPayloadFormat!): RtpPayloadReader?

Returns a RtpPayloadReader for a given RtpPayloadFormat.

Parameters
payloadFormat: RtpPayloadFormat!

The RtpPayloadFormat of the RTP stream.

Returns
RtpPayloadReader?

A RtpPayloadReader for the packet stream, or null if the stream format is not supported.