replacePublishedStream

fun replacePublishedStream(newStream: Stream?, oldStream: Stream?)

Replaces the currently published stream by a given one.

Parameters

newStream

A new stream.