removeListener(eventType, listener)

Parameters:

Returns:

replacePublishedStreams(newStream, callbacks, options)

Replaces the currently published stream by a given one.If the first parameter is null then the second parameter must provides a property namedgetStream. The getStream property shall be a function returning a Promise of a Stream.