SrtEndpointFactory

fun SrtEndpointFactory(serviceInfo: TSServiceInfo = createDefaultTsServiceInfo(), coroutineDispatcher: CoroutineDispatcher): CompositeEndpointFactory

The SRT endpoint factory.

It returns a CompositeEndpointFactory with a TsMuxer and a SrtSink

Parameters

serviceInfo

The service info to use in the TS muxer. Default to a basic service info.

coroutineDispatcher

The coroutine dispatcher to use in the SRT sink.