| Modifier and Type | 86 |Constant Field | 87 |Value | 88 |
|---|---|---|
92 |
93 | public static final java.lang.String |
94 | METHOD_ICE_CANDIDATE |
95 | "iceCandidate" |
96 |
99 |
100 | public static final java.lang.String |
101 | METHOD_MEDIA_ERROR |
102 | "mediaError" |
103 |
106 |
107 | public static final java.lang.String |
108 | METHOD_PARTICIPANT_JOINED |
109 | "participantJoined" |
110 |
113 |
114 | public static final java.lang.String |
115 | METHOD_PARTICIPANT_LEFT |
116 | "participantLeft" |
117 |
120 |
121 | public static final java.lang.String |
122 | METHOD_PARTICIPANT_PUBLISHED |
123 | "participantPublished" |
124 |
127 |
128 | public static final java.lang.String |
129 | METHOD_PARTICIPANT_UNPUBLISHED |
130 | "participantUnpublished" |
131 |
134 |
135 | public static final java.lang.String |
136 | METHOD_SEND_MESSAGE |
137 | "sendMessage" |
138 |
public class ApplicationTest
109 | extends <any>
110 |
111 | | Constructor and Description | 127 |
|---|
ApplicationTest() |
130 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ApplicationTest()168 |
| Interface | 79 |Description | 80 |
|---|---|
| RoomListener | 84 |
85 | Interface class defining the KurentoRoomAPI room events
86 | |
87 |
| Class | 96 |Description | 97 |
|---|---|
| KurentoAPI | 101 |
102 | Base class for API classes that handles web socket connections and Json-RPC requests and
103 | responses.
104 | |
105 |
| KurentoRoomAPI | 108 |
109 | Class that handles all Room API calls and passes asynchronous
110 | responses and notifications to a RoomListener interface.
111 | |
112 |
| RoomError | 115 |
116 | Room error class
117 | |
118 |
| RoomNotification | 121 |
122 | Room notification class
123 | |
124 |
| RoomResponse | 127 |
128 | Room response class
129 | |
130 |
| Enum | 139 |Description | 140 |
|---|---|
| KurentoRoomAPI.Method | 144 |145 | |
| RoomError.Code | 148 |149 | |
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
78 |Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
90 |Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
110 |Each annotation type has its own separate page with the following sections:
114 |Each enum has its own separate page with the following sections:
125 |There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
143 |These links take you to the next or previous class, interface, package, or related page.
147 |These links show and hide the HTML frames. All pages are available with or without frames.
151 |The All Classes link shows all classes and interfaces except non-static nested types.
155 |Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
159 |The Constant Field Values page lists the static final fields and their values.
163 |public class RoomNotification
110 | extends java.lang.Object
111 | | Constructor and Description | 128 |
|---|
RoomNotification(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcNotification obj) |
131 |
| Modifier and Type | 145 |Method and Description | 146 |
|---|---|
java.lang.String |
149 | getMethod() |
150 |
java.lang.Object |
153 | getParam(java.lang.String key) |
154 |
java.util.Map<java.lang.String,java.lang.Object> |
157 | getParams() |
158 |
java.lang.String |
161 | toString() |
162 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic RoomNotification(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcNotification obj)192 |
public java.util.Map<java.lang.String,java.lang.Object> getParams()209 |
public java.lang.Object getParam(java.lang.String key)218 |
public java.lang.String getMethod()227 |
public java.lang.String toString()236 |
toString in class java.lang.Objectpublic class RoomError
110 | extends java.lang.Object
111 | | Modifier and Type | 128 |Class and Description | 129 |
|---|---|
static class |
132 | RoomError.Code |
133 |
| Constructor and Description | 147 |
|---|
RoomError(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcResponseError error) |
150 |
| Modifier and Type | 164 |Method and Description | 165 |
|---|---|
int |
168 | getCode() |
169 |
java.lang.String |
172 | getData() |
173 |
java.lang.String |
176 | toString() |
177 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic RoomError(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcResponseError error)207 |
public int getCode()224 |
public java.lang.String getData()233 |
public java.lang.String toString()242 |
toString in class java.lang.Objectpublic class RoomResponse
110 | extends java.lang.Object
111 | | Constructor and Description | 128 |
|---|
RoomResponse(java.lang.String id,
131 | net.minidev.json.JSONObject obj) |
132 |
| Modifier and Type | 146 |Method and Description | 147 |
|---|---|
int |
150 | getId() |
151 |
KurentoRoomAPI.Method |
154 | getMethod() |
155 |
java.lang.String |
158 | getSdpAnswer() |
159 |
java.lang.String |
162 | getSessionId() |
163 |
java.util.Map<java.lang.String,java.lang.Boolean> |
166 | getUsers() |
167 |
java.util.List<java.lang.String> |
170 | getValue(java.lang.String key) |
171 |
java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> |
174 | getValues() |
175 |
java.lang.String |
178 | toString() |
179 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic RoomResponse(java.lang.String id, 209 | net.minidev.json.JSONObject obj)210 |
public java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> getValues()227 |
public int getId()236 |
public java.util.Map<java.lang.String,java.lang.Boolean> getUsers()245 |
public java.lang.String getSdpAnswer()254 |
public java.lang.String getSessionId()263 |
public KurentoRoomAPI.Method getMethod()272 |
public java.util.List<java.lang.String> getValue(java.lang.String key)281 |
public java.lang.String toString()290 |
toString in class java.lang.Objectpublic static enum KurentoRoomAPI.Method 123 | extends java.lang.Enum<KurentoRoomAPI.Method>124 |
| Enum Constant and Description | 140 |
|---|
JOIN_ROOM |
143 |
PUBLISH_VIDEO |
146 |
RECEIVE_VIDEO |
149 |
STOP_RECEIVE_VIDEO |
152 |
UNPUBLISH_VIDEO |
155 |
| Modifier and Type | 169 |Method and Description | 170 |
|---|---|
static KurentoRoomAPI.Method |
173 | valueOf(java.lang.String name)
174 | Returns the enum constant of this type with the specified name.
175 | |
176 |
static KurentoRoomAPI.Method[] |
179 | values()
180 | Returns an array containing the constants of this enum type, in
181 | the order they are declared.
182 | |
183 |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final KurentoRoomAPI.Method JOIN_ROOM220 |
public static final KurentoRoomAPI.Method PUBLISH_VIDEO229 |
public static final KurentoRoomAPI.Method UNPUBLISH_VIDEO238 |
public static final KurentoRoomAPI.Method RECEIVE_VIDEO247 |
public static final KurentoRoomAPI.Method STOP_RECEIVE_VIDEO256 |
public static KurentoRoomAPI.Method[] values()273 |
277 | for (KurentoRoomAPI.Method c : KurentoRoomAPI.Method.values()) 278 | System.out.println(c); 279 |
public static KurentoRoomAPI.Method valueOf(java.lang.String name)293 |
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract class KurentoAPI
118 | extends java.lang.Object
119 | implements fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEvents
120 | | Constructor and Description | 138 |
|---|
KurentoAPI(fi.vtt.nubomedia.utilitiesandroid.LooperExecutor executor,
141 | java.lang.String uri)
142 | Constructor that initializes required instances and parameters for the API calls.
143 | |
144 |
| Modifier and Type | 158 |Method and Description | 159 |
|---|---|
void |
162 | connectWebSocket()
163 | Opens a web socket connection to the predefined URI as provided in the constructor.
164 | |
165 |
void |
168 | disconnectWebSocket()
169 | Attempts to close the web socket connection asynchronously.
170 | |
171 |
boolean |
174 | isWebSocketConnected()
175 | Method to check if the web socket connection is connected.
176 | |
177 |
void |
180 | onClose(int code,
181 | java.lang.String reason,
182 | boolean remote) |
183 |
void |
186 | onError(java.lang.Exception e) |
187 |
void |
190 | onNotification(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcNotification notification) |
191 |
void |
194 | onOpen(org.java_websocket.handshake.ServerHandshake handshakedata) |
195 |
void |
198 | onRequest(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcRequest request) |
199 |
void |
202 | onResponse(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcResponse response) |
203 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic KurentoAPI(fi.vtt.nubomedia.utilitiesandroid.LooperExecutor executor, 233 | java.lang.String uri)234 |
executor - is the asynchronous UI-safe executor for tasks.uri - is the web socket link to the room web services.public void connectWebSocket()260 |
public boolean isWebSocketConnected()272 |
public void disconnectWebSocket()286 |
public void onOpen(org.java_websocket.handshake.ServerHandshake handshakedata)296 |
onOpen in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEventspublic void onRequest(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcRequest request)309 |
onRequest in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEventspublic void onResponse(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcResponse response)322 |
onResponse in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEventspublic void onNotification(fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcNotification notification)335 |
onNotification in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEventspublic void onClose(int code, 348 | java.lang.String reason, 349 | boolean remote)350 |
onClose in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEventspublic void onError(java.lang.Exception e)363 |
onError in interface fi.vtt.nubomedia.jsonrpcwsandroid.JsonRpcWebSocketClient.WebSocketConnectionEvents