The main connection class for R5Pro. This establishes the connection to the server. Used by R5Stream as the communication layer.
More...
#import <R5Connection.h>
Inherits NSObject.
The main connection class for R5Pro. This establishes the connection to the server. Used by R5Stream as the communication layer.
- (void) call: |
|
(NSString *) |
method |
withReturn: |
|
(NSString *) |
returnMethod |
withParam: |
|
(NSString *) |
param |
|
|
| |
Make a connection call RPC to the server
- Parameters
-
method | Method name to call |
returnMethod | Return method name. "void" if no return |
param | Parameter to send for this method |
Get the connection context associated with this context
- Returns
- A client connection context.
Initialize the connection with the configuration
- Parameters
-
config | The configuration of the connection |
- Returns
- a new connection
De-initialize the connection.
- (void) startDataOnlyStream |
|
|
|
Request a connection for data transfers - can't be used if this object is already being used for an A/V stream
- (void) switchStream: |
|
(NSString *) |
app |
name: |
|
(NSString *) |
streamName |
|
|
| |
Request to switch the stream received on the current connection.
- Parameters
-
app | The webapp context the target stream is being streamed in. e.g., "live". |
streamName | The new target stream name to request playback. |
The client to receive rpc calls for this connection. Specifically for Data Only streams.
The configuration for this connection
The delegate to receive events for this connection. Specifically for Data Only streams.
The documentation for this class was generated from the following file:
- /Users/jpalmer/GIT/red5pro-core-streaming-library/red5streaming/src/R5Connection.h