![]() |
Intel® Collaboration Suite for WebRTC
version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
|
Public Member Functions | |
ConferencePublication (std::shared_ptr< ConferenceClient > client, const std::string &pub_id, const std::string &stream_id) | |
std::string | Id () const |
Return the ID of the publication. | |
void | Mute (TrackKind track_kind, std::function< void()> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) override |
Pause current publication's audio or/and video basing on |track_kind| provided. | |
void | Unmute (TrackKind track_kind, std::function< void()> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) override |
Pause current publication's audio or/and video basing on |track_kind| provided. | |
void | GetStats (std::function< void(std::shared_ptr< ConnectionStats >)> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) override |
Get conneciton stats of current publication. | |
void | GetNativeStats (std::function< void(const std::vector< const webrtc::StatsReport *> &reports)> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) |
void | Stop () override |
Stop current publication. | |
bool | Ended () const |
Check if the publication is stopped or not. | |
void | AddObserver (PublicationObserver &observer) override |
Register an observer onto this conference publication. | |
void | RemoveObserver (PublicationObserver &observer) override |
Unregister an observer from this conference publication. | |