Skip to content

Instantly share code, notes, and snippets.

@alicanalbayrak
Created March 6, 2016 10:45
Show Gist options
  • Save alicanalbayrak/8953dd07dd046f216637 to your computer and use it in GitHub Desktop.
Save alicanalbayrak/8953dd07dd046f216637 to your computer and use it in GitHub Desktop.
Example multicast-rtp streaming ffserver configuration
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 500000
CustomLog -
NoDaemon
#RTSPPort 7654
#RTSPBindAddress 0.0.0.0
<Stream test1-sdp.mp4>
Format rtp
NoAudio
File "/home/alicana/Downloads/HD-720p.mp4"
MulticastAddress 239.0.0.1
MulticastPort 5004
#MulticastAddress 127.0.0.1
#MulticastPort 7000
MulticastTTL 32
</Stream>
<Stream status.html> # Server status URL
Format status
# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>
@lchunleo
Copy link

lchunleo commented Jun 3, 2018

I wonder do multicast work by software configuration only ? I don't know how my client will be connected through which switch and if switch is multicast enabled or not. Will it work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment