I'm trying to calculate packet loss rate from youtube when a video is running.
I sniff packets one by one by Scapy, on eth0 and filter TCP packets with IP header.
To calculate packet loss rate, I should have a number of received packets and a number of sent packets (or excepted packets).
I can easily calculate the number of received packets, but I have a problem with sent packets from youtube.