WebStream (DVR version only)
Top  Previous  Next

Description

Enables/disables the RTSP web streaming. Used in combination with SetWebStreamer.


Syntax


[VB]
objActiveGige.WebStream [= Value]


[C/C++]
HRESULT get_WebStream ( bool *pValue);
HRESULT put_WebStream( bool Value );


Data Type
[VB]

Boolean


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the Boolean that is TRUE if the web streaming is enabled, or FALSE otherwise  
Value [in]  
Set to TRUE to enable the web streaming, or set to FALSE to disable it  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example sets the web streamer's parameters and activates the streaming:

sourceAddr=
"192.168.0.5:8554/ActiveUsb.sdp"

destAddr=
"192.168.0.10"

streamFPS=15
streamQuality=4
ActiveUSB1.SetWebStreamer sourceAddr, destAddr, streamFPS, streamQuality
ActiveUSB1.Acquire=
True

ActiveUSB1.WebStream=
True

 

Remarks

The web streaming option allows you to automatically convert video outputted by the camera into the H.264 compression format and transmit it over the wireless or wired network using the RTSP protocol to a remote playback devices, such as PCs, tablets and smartphones.

Before enabling the WebStream property, you should configure the web streaming parameters by calling SetWebStreamer.

The Acquire property must be set to TRUE prior to activating the web streaming.

To watch a transmitted video on a remote playback device, use an RTSP/RTP client such as VLC Media Player (for Windows, Linux and MAC) or Fresh Video Player (for iOS devices). For more information refer to SetWebStreamer.

Note - the web streaming module utilizes Intel's H.264 encoder which takes advantage of Intel's hardware acceleration. Therefore running your ActiveUSB-based web streaming application on a PC with Intel graphics chipset will substantially improve the encoding performance.