|
Object | client |
| Client object to receive RPC calls.
|
|
R5Stream | stream |
| Stream associated with the connection.
|
|
◆ R5Connection()
com.red5pro.streaming.R5Connection.R5Connection |
( |
R5Configuration |
configuration | ) |
|
|
inline |
Create new connection object
- Parameters
-
configuration | Configuration parameters for the connection |
◆ addListener()
◆ call() [1/2]
Native call to make RPC call on server
- Parameters
-
stream | Stream to call through |
rpc | RPC to make the call |
◆ call() [2/2]
Make an RPC call on the connection
- Parameters
-
rpc | RPC to send to the server |
◆ connect()
void com.red5pro.streaming.R5Connection.connect |
( |
R5Configuration |
configuration | ) |
|
|
inline |
Establish a socket connection with the connection (called internally)
- Parameters
-
configuration | Configuration for the connection |
◆ connectToSharedObject()
void com.red5pro.streaming.R5Connection.connectToSharedObject |
( |
String |
name | ) |
|
|
inline |
Request to connect to remote Shared Object on server.
- Parameters
-
name | The name of te Shared Object to connect to. |
◆ disconnect()
native void com.red5pro.streaming.R5Connection.disconnect |
( |
| ) |
|
Disconnect the connection
◆ getConfiguration()
Get the configuration object associated with this connection
- Returns
- the configuration for the connection
◆ removeListener()
void com.red5pro.streaming.R5Connection.removeListener |
( |
| ) |
|
|
inline |
◆ sharedObjectSend() [1/2]
native void com.red5pro.streaming.R5Connection.sharedObjectSend |
( |
Object |
stream, |
|
|
R5RemoteCallContainer |
rpc |
|
) |
| |
|
protected |
Send a Shared Object message
- Parameters
-
stream | Stream to call through |
rpc | RPC to make the call |
◆ sharedObjectSend() [2/2]
void com.red5pro.streaming.R5Connection.sharedObjectSend |
( |
String |
message | ) |
|
|
inline |
Send a Shared Object message
- Parameters
-
message | information to send to the server |
◆ switchStream()
void com.red5pro.streaming.R5Connection.switchStream |
( |
String |
contextName, |
|
|
String |
streamName |
|
) |
| |
|
inline |
Request the server to change the currently delivered stream to another. Subscriber Only.
- Parameters
-
contextName | String The webapp context name, e.g. "live" |
streamName | String The stream name to switch subscription to. |
The documentation for this class was generated from the following file:
- /Users/ankitashankhdhar/Documents/Red5/Git/infrared5/red5pro-core-streaming-library/android/src/main/java/com/red5pro/streaming/R5Connection.java