Add support for IP Camera.
This commit is contained in:
@ -1097,6 +1097,45 @@ done
|
||||
IFS="$CUR_IFS"
|
||||
|
||||
|
||||
# ---
|
||||
# - IP Camera
|
||||
# ---
|
||||
|
||||
declare -a ip_camera_tcp_port_arr=()
|
||||
CUR_IFS="$IFS"
|
||||
IFS=',' ; for _port in $ip_camera_tcp_ports ; do
|
||||
|
||||
if containsElement "${_port}" "${out_tcp_port_arr[@]}" ; then
|
||||
continue
|
||||
fi
|
||||
|
||||
ip_camera_tcp_port_arr+=("$_port")
|
||||
|
||||
if $allow_ip_camera_out ; then
|
||||
out_tcp_port_arr+=("$_port")
|
||||
fi
|
||||
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
|
||||
declare -a ip_camera_udp_port_arr=()
|
||||
CUR_IFS="$IFS"
|
||||
IFS=',' ; for _port in $ip_camera_udp_ports ; do
|
||||
|
||||
if containsElement "${_port}" "${out_udp_port_arr[@]}" ; then
|
||||
continue
|
||||
fi
|
||||
|
||||
ip_camera_udp_port_arr+=("$_port")
|
||||
|
||||
if $allow_ip_camera_out ; then
|
||||
out_udp_port_arr+=("$_port")
|
||||
fi
|
||||
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
|
||||
|
||||
# ---
|
||||
# - BigBlueButton Video Conference Service
|
||||
# ---
|
||||
|
Reference in New Issue
Block a user