public interface

RtpPayloadReader.Factory

 androidx.media3.exoplayer.rtsp.reader.RtpPayloadReader.Factory

Subclasses:

DefaultRtpPayloadReaderFactory

Overview

Factory of RtpPayloadReader instances.

Summary

Methods
public RtpPayloadReadercreatePayloadReader(RtpPayloadFormat payloadFormat)

Returns a RtpPayloadReader for a given RtpPayloadFormat.

Methods

public RtpPayloadReader createPayloadReader(RtpPayloadFormat payloadFormat)

Returns a RtpPayloadReader for a given RtpPayloadFormat.

Parameters:

payloadFormat: The RtpPayloadFormat of the RTP stream.

Returns:

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