The VideoStream protocol handler allows sending a video stream to a remote location. It is write-only and can also be used to write video files.

Options

Example

This example shows how to grab a video stream from a webcam and stream it to a remote client:

PQL

video = ACCESS({source='Video', 
                wrapper='GenericPull', 
                transport='IntegratedCamera', 
                protocol='none', 
                datahandler='Tuple',
                options=[['id', '0']]})

output = SENDER({sink='Sink',
				wrapper='GenericPush',
				transport='none',
				protocol='VideoStream',
				dataHandler='Tuple',
				options=[	['framerate', '30.0'],
							['streamUrl', 'udp://192.168.178.105:8085']
						]
				}, video)