onAddStream

open override fun onAddStream(stream: MediaStream?)

Triggered whenever there's a new MediaStream that was added to the connection.

Parameters

stream

The stream that contains audio or video.