RtmpStreamSessionFactory

Creates publishing and playback sessions for rtmp and rtmps URIs.

Register this factory with StreamSession.Builder.registerFactory before building an RTMP session.

Properties

Link copied to clipboard
open override val protocols: List<String>

Functions

Link copied to clipboard
open override fun create(context: Context, uri: Uri, mode: StreamSession.Mode): StreamSession

fun create(context: Context, uri: Uri, mode: StreamSession.Mode, playbackDynamicRangeMode: DynamicRangeMode): StreamSession

Creates a session with an explicit playback range. HLG requires API level 33+ and OpenGL.