This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

UDP to RTP- streaming video

0

hi, I'm testing the arbiter of an especial switch by streaming and playing a video on 2 ports.I need a software to measure the delay and quantify it. The application I have used is VLC player. I could do the streaming test by setting only the RTP protocol on VLC. But when I play the video on another PC and capture the packets by Wireshark, I could see UDP packets, and I can't measure the delay! Is it valid to decode UDP to RTP by wireshark? Doesn't it affect on the accuracy of my test?

Thanks,

asked 28 Apr '13, 03:58

nice_star2008's gravatar image

nice_star2008
11113
accept rate: 0%


One Answer:

0

I'm testing the arbiter of an especial switch by streaming and playing a video on 2 ports.I need a software to measure the delay and quantify it.

Do you want to measure the delay produced by the 'special' switch?

If so, you would have to capture the packets with a TAP on the incoming and outgoing port of the switch. You should not use a mirror port on the switch, as that might tamper with the results.

HOWEVER, unless that 'special' switch is kind of broken, I don't think you will be able to measure any delay (created by the switch), as the accuracy of the time source of the capturing device might not not be good enough to detect any such delay.

I could see UDP packets, and I can't measure the delay! Is it valid to decode UDP to RTP by wireshark?

Well, it depends what has been transmitted. If those UDP packets are indeed RTP packets, then it's 'save' to decode those UDP packets as RTP (right click and choose "Decode As").

Regards
Kurt

answered 28 Apr '13, 10:40

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 28 Apr '13, 10:52

Thank you so much in advance Mr. Kurt. I am testing the Reference switch of NetFPGA. It has a Round-Robin arbiter for servicing the ports. I'm going to stream a video (real-time packets) on one port, play it on another port and measure the delay between this sending and receiving to test the QoS. If the Qos is not acceptable, I should change the arbiter, reprogram NetFPGA and measure the delay again. What do you mean by TAP? How should I determine the kind of packets? Are video packets indeed RTP packets?

Thanks

(29 Apr '13, 02:41) nice_star2008

What do you mean by TAP?

see here: http://wiki.wireshark.org/CaptureSetup/Ethernet#Capture_using_a_network_tap

I would recommend to use two TAPs for your requirements. But if you don't have a TAP at hand, you can start with two mirror/monitor ports on the switch.

http://wiki.wireshark.org/CaptureSetup/Ethernet#Capture_using_a_monitor_mode_of_the_switch

However: you can't fully trust that setup, unless you know very well how the switch handles those mirrored packets and how much delay is added by the port mirroring!

Are video packets indeed RTP packets?

That depends on the streaming method.

How should I determine the kind of packets?

Hard to tell without a sample. Can you please post a small sample file somewhere (google docs, dropbox, cloudshark.org. BEWARE privacy issues!!)

(29 Apr '13, 08:49) Kurt Knochner ♦