replacePublishedStream

fun replacePublishedStream(newStream: Stream?): Stream?

Replaces the currently published stream by a given one.

Return

The newly assigned stream.

Parameters

newStream

A new stream.