![]() |
Intel® Collaboration Suite for WebRTC
version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
|
ConferenceClient handles PeerConnection interactions between client and server. More...
Classes | |
interface | ConferenceClientObserver |
Interface for observing conference client events. More... | |
Public Member Functions | |
ConferenceClient (ConferenceClientConfiguration configuration) | |
Constructor for ConferenceClient. More... | |
void | addObserver (ConferenceClientObserver observer) |
Add a ConferenceClientObserver. More... | |
void | removeObserver (ConferenceClientObserver observer) |
Remove a ConferenceClientObserver. More... | |
ConferenceInfo | info () |
Get the ConferenceInfo of this ConferenceClient. More... | |
synchronized void | join (String token, ActionCallback< ConferenceInfo > callback) |
Join a conference specified by |token|. More... | |
synchronized void | leave () |
Leave the conference. | |
void | publish (LocalStream localStream, ActionCallback< Publication > callback) |
Publish a LocalStream to the conference. More... | |
synchronized void | publish (final LocalStream localStream, final PublishOptions options, final ActionCallback< Publication > callback) |
Publish a LocalStream to the conference. More... | |
void | subscribe (RemoteStream remoteStream, ActionCallback< Subscription > callback) |
Subscribe a RemoteStream from the conference. More... | |
synchronized void | subscribe (final RemoteStream remoteStream, final SubscribeOptions options, final ActionCallback< Subscription > callback) |
Subscribe a RemoteStream from the conference. More... | |
void | send (String message, ActionCallback< Void > callback) |
Send a text message to all participants in the conference. More... | |
synchronized void | send (String participantId, String message, final ActionCallback< Void > callback) |
Send a text message to a specific participant in the conference. More... | |
ConferenceClient handles PeerConnection interactions between client and server.
|
inline |
Constructor for ConferenceClient.
configuration | ConferenceClientConfiguration for ConferenceClient |
|
inline |
Add a ConferenceClientObserver.
observer | ConferenceClientObserver to be added. |
|
inline |
Get the ConferenceInfo of this ConferenceClient.
|
inline |
Join a conference specified by |token|.
token | token issued by conference server (nuve). |
callback | ActionCallback.onSuccess will be invoked with the ConferenceInfo when succeeds to join the conference room. Otherwise when fails to do so, ActionCallback .onFailure will be invoked with the corresponding OwtError. |
|
inline |
Publish a LocalStream to the conference.
localStream | LocalStream to be published. |
callback | ActionCallback.onSuccess will be invoked with the Publication when succeeds to publish the LocalStream. Otherwise when fails to do so, ActionCallback .onFailure will be invoked with the corresponding OwtError. |
|
inline |
Publish a LocalStream to the conference.
localStream | LocalStream to be published. |
options | PublishOptions for publishing this LocalStream. |
callback | ActionCallback.onSuccess will be invoked with the Publication when succeeds to publish the LocalStream. Otherwise when fails to do so, ActionCallback .onFailure will be invoked with the corresponding OwtError. |
|
inline |
Remove a ConferenceClientObserver.
observer | ConferenceClientObserver to be removed. |
|
inline |
Send a text message to all participants in the conference.
message | message to be sent. |
callback | ActionCallback.onSuccess will be invoked succeeds to send the message. Otherwise when fails to do so, ActionCallback.onFailure will be invoked with the corresponding OwtError. |
|
inline |
Send a text message to a specific participant in the conference.
participantId | id of Participant the message to be sent to. |
message | message to be sent. |
callback | ActionCallback.onSuccess will be invoked succeeds to send the message. Otherwise when fails to do so, ActionCallback.onFailure will be invoked with the corresponding OwtError. |
|
inline |
Subscribe a RemoteStream from the conference.
remoteStream | RemoteStream to be subscribed. |
callback | ActionCallback.onSuccess will be invoked with the Subscription when succeeds to subscribe the RemoteStream. Otherwise when fails to do so, ActionCallback .onFailure will be invoked with the corresponding OwtError. |
|
inline |
Subscribe a RemoteStream from the conference.
remoteStream | RemoteStream to be subscribed. |
options | SubscribeOptions for subscribing the RemoteStream. |
callback | ActionCallback.onSuccess will be invoked with the Subscription when succeeds to subscribe the RemoteStream. Otherwise when fails to do so, ActionCallback .onFailure will be invoked with the corresponding OwtError. |