Autostart Script VIC | |
|
Mbone tools are based on Tcl/Tk programming language, hence
they are highly programmable. As an example we will describe
in detail the procedure for auto-activation of VIC.
If we start VIC as
vic -u start.tcl IP/port
where start.tcl is the following script:
# Set bandwidth to 40 (the '50' is a Tcl priority number)
option add Vic.bandwidth 40 50
# Set framerate to 5
option add Vic.framerate 5 50
# Set brightness to 42
option add Vic.brightness 42 50
# Set contrast to 30
option add Vic.contrast 30 50
# Set saturation to 120
option add Vic.saturation 120 50
# Set image quality to 5
option add Vic.quality 85 50
#
# The procedure named 'user_hook' is called when vic starts up;
# this version of the procedure starts transmission.
#
proc user_hook {} {
global transmitButton transmitButtonState portButton
global inputPort inputDeviceList videoDevice
vic will automatically start transmitting (in default format, H.261) to a chosen IP address and port. (Note: in Windows one can make a shortcut file that points to vic with the similar parameters)
|
Open_Source_Streaming_Platform
Server_Side
Content_Production_Side
Dynamic_Relaying_of_RTSP_Servers
OSSA_Streaming_Protocol |
|
|
|