mssdemux: use streams bitrate individually
authorThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 6 Feb 2013 11:48:55 +0000 (08:48 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 00:09:48 +0000 (21:09 -0300)
commit255eb4b161fa4e87d3943034dc3641c465c49b76
tree89685c445592bf459e47261a0cfaddd2051bb29b
parent52c97834df6a86f67cb5d7011360d3ba2457d0f8
mssdemux: use streams bitrate individually

connection setup times seem to matter when measuring the download
rate of different streams. Streams with longer fragments have a
*relatively* lower connection setup time and achieve higher bitrates.

Using the average seems unfair here, so use each stream's measured bitrate
to select its best quality option.
ext/smoothstreaming/gstmssdemux.c
ext/smoothstreaming/gstmssmanifest.c
ext/smoothstreaming/gstmssmanifest.h