addStreams

open override fun addStreams(streamsConfig: List<CodecConfig>): Map<CodecConfig, Int>

Adds streams to the first service registered

Return

ordered list of stream id

Parameters

streamsConfig

list of config


fun addStreams(tsServiceInfo: TSServiceInfo, streamsConfig: List<CodecConfig>): Map<CodecConfig, Int>

Adds streams for a service

Return

ordered list of stream id

Parameters

tsServiceInfo

service where to add streams

streamsConfig

list of config