![]() |
Intel® Collaboration Suite for WebRTC
version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
|
Public Member Functions | |
ConferenceSubscription (std::shared_ptr< ConferenceClient > client, const std::string &sub_id, const std::string &stream_id) | |
void | Mute (TrackKind track_kind, std::function< void()> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) |
Pause current subscription'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) |
Pause current subscription'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) |
Get conneciton stats of current subscription. | |
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 () |
Stop current subscription. | |
bool | Ended () |
If the Subscription is stopped or not. | |
std::string | Id () const |
Get the subscription ID. | |
void | ApplyOptions (const SubscriptionUpdateOptions &options, std::function< void()> on_success, std::function< void(std::unique_ptr< Exception >)> on_failure) |
Update the subscription with new encoding settings. | |
void | AddObserver (SubscriptionObserver &observer) |
Add observer on the subscription. | |
void | RemoveObserver (SubscriptionObserver &observer) |
Remove observer on the subscription. | |