invoke

operator fun invoke(previousStreamer: SingleStreamer? = null): SingleStreamer

Build a new SingleStreamer based on audio and video preferences.

Only create a new streamer if the previous one is not the same type.

Parameters

previousStreamer

Previous streamer to check if we need to create a new one.