uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Too many dropped frames when watching YouTube over uProxy

Open scouttle opened this issue 12 years ago • 6 comments

(Note: I think this counts as a bit more optimization than basic stabilization, so I'm marking P2 for v0.3... not sure what other labels are most relevant.)

From a dogfooder:

I had a quick test with E***. We're able to quickly establish connection. He has fast internet connection 50/10, and he is in Redwood City CA. I sit in Dublin CA. I'm proxying through his machine. Speedtest shows I have 10Mbps down and 8Mbps up, which is pretty good. "Find my ip" shows his IP correctly.

[...]

Then I tried youtube. Even at 360P, the video is pretty choppy.

I captured some stats info attached. ([...] just right click and choose "Stats for nerd") Video resolution: 854 x 480 stream type: https Mime Type: vp9 DASH: yes bandwidth 1103Kbps decoded frames: 2500 Dropped Frames: 1648 Video bytes decoded: 5235007 Audio bytes decoded: 1381457

Too many dropped frames. :(

image

scouttle avatar Jun 13 '14 19:06 scouttle

The next time you run into a YouTube problem like this, could you check your system CPU usage? It might be a CPU issue. On Jun 13, 2014 12:11 PM, "scouttle" [email protected] wrote:

(Note: I think this counts as a bit more optimization than basic stabilization, so I'm marking P2 for v0.3... not sure what other labels are most relevant.)

From a dogfooder:

I had a quick test with E***. We're able to quickly establish connection. He has fast internet connection 50/10, and he is in Redwood City CA. I sit in Dublin CA. I'm proxying through his machine. Speedtest shows I have 10Mbps down and 8Mbps up, which is pretty good. "Find my ip" shows his IP correctly.

[...]

Then I tried youtube. Even at 360P, the video is pretty choppy.

I captured some stats info attached. ([...] just right click and choose "Stats for nerd") Video resolution: 854 x 480 stream type: https Mime Type: vp9 DASH: yes bandwidth 1103Kbps decoded frames: 2500 Dropped Frames: 1648 Video bytes decoded: 5235007 Audio bytes decoded: 1381457

Too many dropped frames. :(

[image: image] https://cloud.githubusercontent.com/assets/245240/3274361/45844aee-f32e-11e3-8f36-e4eeb8cdc13a.png

— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/233.

bemasc avatar Jun 14 '14 15:06 bemasc

Think this will get fixed by networking cleanup in progress (https://github.com/uProxy/socks-rtc/tree/iislucas-big_cleanup).

iislucas avatar Jun 24 '14 20:06 iislucas

A tad more context: the dogfooder who reported this is someone on the YouTube team who runs these sorts of tests for on a regular basis, so I'm assuming he would have checked CPU usage before reporting (but maybe not).

Anyway, once the cleanup @iislucas references is done, we can explicitly ask dogfooders to 1) try and reproduce but also 2) look at CPU usage too. :)

scouttle avatar Jun 25 '14 16:06 scouttle

Looks like the most likely reason remaining why this may happen is: https://github.com/uProxy/uproxy/issues/340

iislucas avatar Aug 27 '14 18:08 iislucas

We should probably drop logging messages too when testing this next time.

iislucas avatar Aug 27 '14 18:08 iislucas

Once we got rid of the extensive console logging, this becomes reasonable again. We do still need to fix https://github.com/uProxy/uproxy/issues/340 but I think all issues we know of contributing to this are tracked elsewhere. Will re-open if we find this a problem again.

iislucas avatar Nov 18 '14 16:11 iislucas