![]() |
Intel® Collaboration Suite for WebRTC
version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
|
Publication handles the actions on a LocalStream published by a P2PClient. More...
Classes | |
interface | PublicationObserver |
Interface for observing publication events. More... | |
Public Member Functions | |
void | addObserver (PublicationObserver observer) |
Add a PublicationObserver. More... | |
void | removeObserver (PublicationObserver observer) |
Remove a PublicationObserver. More... | |
void | getStats (final ActionCallback< RTCStatsReport > callback) |
Get the PeerConnection stats. More... | |
void | stop () |
Stop publishing the LocalStream associated with the Publication to the remote P2PClient. | |
![]() | |
String | id () |
abstract void | getStats (ActionCallback< RTCStatsReport > callback) |
abstract void | stop () |
Publication handles the actions on a LocalStream published by a P2PClient.
|
inline |
Add a PublicationObserver.
observer | PublicationObserver to be added. |
|
inline |
Get the PeerConnection stats.
callback | ActionCallback.onSuccess will be invoked with RTCStatsReport when succeeds to get the stats. Otherwise when fails to do so, ActionCallback.onFailure will be invoked with the corresponding OwtError. |
|
inline |
Remove a PublicationObserver.
observer | PublicationObserver to be removed. |