Page 1 of 1

VLS doesn't streaming on other interface than eth0

Posted: 06 Apr 2005 09:40
by Martin
Hi all

I have problem with streaming on interface eth1. Option "interface = ""eth1""" was ignored. Where is a mistakes?

Thanks

Martin.Uher@ct.cz

# Streams sources declaration
BEGIN "Inputs"
# --- Format:
# InputName = "Type"
# --- Example:
local1 = "local" # Local input example
# kfir = "video" # Video input example (mpeg encoder)
# dvb = "dvb" # Video input example (DVB card)
END

# --- Example:
BEGIN "1" # MPEG2 stream stored in /home/videolan/streams/Dolby.vob
Name = "slavia"
FileName = "kalendar_slavia.avi"
Type = "Mpeg2-PS"
END

BEGIN "2" # another file
Name = "lepsi"
FileName = "/home/data/VTS_02_1.VOB"
Type = "Mpeg2-PS"
END

# Video input configuration
BEGIN "kfir"
# --- Example:
# Device = "/dev/video" # Video4linux device (default is /dev/video)
# Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
END

# Video input (DVB) configuration
BEGIN "dvb"
# --- Example:
# DeviceNumber = "0" # /dev/dvb/adapter<i>
# SendMethod = "0" # 0 - Send All Pids
END

# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName = "Type"
# --- Example:
# localhost = "network"
# client1 = "network"
# client2 = "network"
multicast = "network"
# localfile = "file"
END

BEGIN "multicast" # multicast example
Type = "multicast"
TTL = "2" # Time To Live
DstHost = "239.9.9.9" # multicast address
DstPort = "1234" # destination port
Interface = "eth1"
END

Posted: 06 Apr 2005 15:39
by Guest
I 'm not sure, but i think you need the Source address to use the interface.

Posted: 07 Apr 2005 17:25
by Martin
SrcAddress doesn't working too :-( but small workaround is setting eth1 as default interface and defining static routes to the management station, dns, etc...

101.10.22.0 * 255.255.255.0 U 0 0 0 eth0
39.9.9.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 eth1
default fTghWqzxxxAVXXX 0.0.0.0 UG 0 0 0 eth0