replay
abstract fun replay(@NonNull source: MediaReplay.Source, @NonNull observer: Ref.Observer<MediaReplay>): Ref<MediaReplay>
Content copied to clipboard
Creates a new replay stream for some remote media.
This method creates a new replay stream instance for the given media stream identifier that must be disposed by closing the returned reference once that stream is not needed.
Closing the returned reference automatically stops the referenced media replay stream.
Return
a reference onto a new replay stream for the given media stream identifier
Parameters
source
identifies remote media stream
observer
observer notified when the stream state changes