![]() |
Streamaxia Open SDK
3.2
|
#import <AXStreamInfo.h>
Class Methods | |
Lifecycle | |
| (instancetype) | + streamInfo |
| (instancetype) | + secureStreamInfo |
Properties | |
Properties | |
| NSString * | serverAddress |
| NSString * | applicationName |
| NSString * | streamName |
| BOOL | useSecureConnection |
| NSString * | username |
| NSString * | password |
| NSURL * | streamURL |
| NSString * | streamURLString |
| NSString * | customStreamURLString |
| NSURL * | customStreamURL |
| BOOL | usesCustomURL |
The model wrapping the stream info. It is mandatory to set the server address, the application name and the stream name.
| + (instancetype) secureStreamInfo |
Factory method for creating default stream info, using RTMPS protocol.
| + (instancetype) streamInfo |
Factory method for creating default stream info, using RTMP protocol.
|
readwritenonatomicstrong |
The application name. This must be mandatory set.
|
readnonatomicstrong |
The custom URL.
|
readwritenonatomicstrong |
The custom URL string. Use this property to setup a streaming URL that doesn't conform with the standard "serverAddress/applicationName/streamName".
If the streaming URL is standrad, (<protocol>://serverAddress/applicationName/streamName) it is recommended to use the serverAddress, applicationName and streamName in order to build the URL.
|
readwritenonatomicstrong |
The password for the streaming server. Defaults to empty string.
|
readwritenonatomicstrong |
The server address (e.g. 20.237.227.201). This must be mandatory set.
|
readwritenonatomicstrong |
The stream name. This must be mandatory set.
|
readnonatomicstrong |
The full stream URL.
|
readnonatomicstrong |
The full stream URL string. It is formed like this: <protocol>://user:pass/applicationName/streamName. (e.g. rtmp://20.237.227.201/someApp/someStream
|
readwritenonatomicstrong |
The user name for the streaming server. Defaults to empty string.
|
readnonatomicassign |
Returns YES if the customStreamURLString property is set to non empty value.
|
readwritenonatomicassign |
If set to YES, will use RTMPS protocol, otherwise will use RTMP. The default value is NO.
1.8.13