RtmpStreamSessionFactory
Creates publishing and playback sessions for rtmp and rtmps URIs.
Register this factory with StreamSession.Builder.registerFactory before building an RTMP session.
Functions
Link copied to clipboard
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.