#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/OnTrackInterface.hpp>
Public Member Functions | |
| virtual void | OnRemoteTrack (Track tack, TrackAction action)=0 |
| virtual void | OnData (std::shared_ptr< Data > data)=0 |
Protected Member Functions | |
| virtual | ~OnTrackInterface ()=default |
Interface which delivers the content of the Streams you subscribe to.
Register your implementation with StreamApi::addRemoteStreamListener, either for one remote Stream or for every Stream in the Stream Room. The library calls these methods on its own threads, so keep them short and hand the heavy work over to a thread of your own.
|
protectedvirtualdefault |
//doc-gen:ignore
|
pure virtual |
|
pure virtual |
Reports that a remote track arrived or that it is gone.
| tack | the track which the change concerns |
| action | change which happened to the track |