Ask Your Question

simulating video traffic for ODL APP

asked 2015-01-01 02:55:30 -0700

Srijit Nair gravatar image

updated 2015-01-12 20:30:25 -0700

Hi ,

We have developed a module [MD-SAL] to get stats for TCP,UDP and ICMP protocol for packets in our network. It has been tested in a cluster with HA setup. I am trying to add a feature to capture stats of video packets in the network. To start with I have the UDP stats with me. I am still exploring on how to read video packet information from UDP. I am using mininet for testing. Can we simulate video packet transmission in mininet ? I would like to know if anyone here has done a similar project to monitor the video packet stats and compare them at two end points.

Revised Question : can iperf or mininet be used to simulate UDP-RTCP packets. My plugin wants to listen to RTCP-RR packets.

Thanking you in anticipation, Srijit

edit retag flag offensive close merge delete


I am exploring the option of using RTCP packet to get the stats for RTP packets. It should give me data for packet loss and Jitter. However, I may have to still read RTP packets to detect a video packet.

Srijit Nair ( 2015-01-04 20:08:15 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-13 11:37:33 -0700


updated 2015-01-13 11:38:24 -0700

Hi Seijit,

One way you can do it with mininet is get one of the host to stream the video. The machine that has mininet installed make sure it has VLC installed as well and a video to be used for streaming.

Start up mininet with the place of your host and switch IE

sudo mn --controller=remote,ip= --topo tree,3 --switch ovsk,protocols=OpenFlow13

Then once mininet has start pick of the host to be the stream source in my case it be H1 and the destination for me it be H7 or from within the mininet console you can run a command like

mininet> h1 vlc-wrapper $VideoFile --sout '#rtp{dst=,port=1234}'

where h1 is your video source and $VideoFile is your video that you wish to stream.

Thanks Chris

edit flag offensive delete publish link more


Thanks Chris. I will try this and get back with the results.

Srijit Nair ( 2015-01-13 19:21:40 -0700 )edit

Hi Chris, You solution worked. I am able to detect the rtcp packets. Thanks a lot. Regards, Srijit

Srijit Nair ( 2015-01-28 23:27:37 -0700 )edit

hi, is there a way to measure the delay, jitter and packet loss for that experiment.

hghalwash ( 2017-01-31 18:02:55 -0700 )edit

Hello, the command : h1 vlc-wrapper $VideoFile --sout '#rtp{dst=,port=1234}' does not work for me.... I have transferred an mp4 video inside my Mininet VM... Do I have to do something else so that h1 also has it?

marievi ( 2017-05-21 10:49:38 -0700 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools



Asked: 2015-01-01 02:55:30 -0700

Seen: 854 times

Last updated: Jan 13 '15