-
Notifications
You must be signed in to change notification settings - Fork 0
Testing a Multicast Stream
Klaus Kuehnhammer edited this page Aug 14, 2024
·
2 revisions
In static ingress mode, 5GM creates a tunnel network interface for each PMCH (in the default config, there is only one named "5gm_pmch_1", see /etc/5gm.conf). All packets that are sent to this interface are transmitted as they are.
For the simplest test case, you can use ffmpeg to encode an MP4 file:
Set up routing for a multicast subnet to 5gm_pmch_1:
sudo route add -net 239.11.4.0 netmask 255.255.255.0 dev 5gm_pmch_1
Use ffmpeg to output an MPEG_TS stream wrapped in RTP to an address in this subnet:
ffmpeg -stream_loop -1 -re -i <Input-file> -vcodec copy -an -f rtp_mpegts -rtsp_flags skip_rtcp=true udp://239.11.4.50:9988