<VOCommonPlayerRTSPConfiguration > Protocol Reference

#import <VOCommonPlayerRTSPConfiguration.h>

+ Inheritance diagram for <VOCommonPlayerRTSPConfiguration >:

Instance Methods

(VO_OSMP_RETURN_CODE) - setRTSPConnectionType:
 Set RTSP connection type. More...
 
(VO_OSMP_RETURN_CODE) - setRTSPConnectionPort:
 Set the port number for RTSP connection. More...
 
(id< VOOSMPRTSPStatistics >) - getRTSPStatistics
 Get the RTSP module statistics. More...
 
(VO_OSMP_RETURN_CODE) - enableRTSPOverHTTP:
 Enable RTSP over HTTP tunnelling. More...
 
(VO_OSMP_RETURN_CODE) - setRTSPOverHTTPConnectionPort:
 Set the port number for RTSP over HTTP tunnelling. More...
 
(VO_OSMP_RETURN_CODE) - setRTSPMaxSocketErrorCount:
 Set maximum socket errors while receiving data from the server before event VO_OSMP_SRC_CB_RTSP_ERROR (with parameter VO_OSMP_SRC_RTSP_ERROR_SOCKET_ERROR) is issued. More...
 
(VO_OSMP_RETURN_CODE) - setRTSPConnectionTimeout:
 Set RTSP connection timeout. More...
 

Method Documentation

- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) enableRTSPOverHTTP: (bool)  enable

Enable RTSP over HTTP tunnelling.

RTSP over HTTP tunnelling is disabled by default.

Parameters
enable[in] Enable/Disable; true to enable, false to disable(default).
Returns
VO_OSMP_ERR_NONE if successful
- (id<VOOSMPRTSPStatistics> VOCommonPlayerRTSPConfiguration) getRTSPStatistics

Get the RTSP module statistics.

Returns
a VOOSMPRTSPStatistics object if successful; nil if failed
- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) setRTSPConnectionPort: (VOOSMPRTSPPort *)  portNum

Set the port number for RTSP connection.

Parameters
portNum[in] port number
Returns
VO_OSMP_ERR_NONE if successful
- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) setRTSPConnectionTimeout: (int)  time

Set RTSP connection timeout.

Parameters
time[in] RTSP connection timeout (in seconds), default is 10 seconds
Returns
VO_OSMP_ERR_NONE if successful
- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) setRTSPConnectionType: (VO_OSMP_RTSP_CONNECTION_TYPE)  type

Set RTSP connection type.

The default value is VO_OSMP_RTSP_CONNECTION_AUTOMATIC.

Parameters
type[in] Connection type. VO_OSMP_RTSP_CONNECTION_TYPE
Returns
VO_OSMP_ERR_NONE if successful
- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) setRTSPMaxSocketErrorCount: (int)  count

Set maximum socket errors while receiving data from the server before event VO_OSMP_SRC_CB_RTSP_ERROR (with parameter VO_OSMP_SRC_RTSP_ERROR_SOCKET_ERROR) is issued.

Parameters
count[in] maximum RTSP socket errors, default is 20000
Returns
VO_OSMP_ERR_NONE if successful
- (VO_OSMP_RETURN_CODE VOCommonPlayerRTSPConfiguration) setRTSPOverHTTPConnectionPort: (int)  portNum

Set the port number for RTSP over HTTP tunnelling.

Parameters
portNum[in] port number
Returns
VO_OSMP_ERR_NONE if successful

The documentation for this protocol was generated from the following file: