mssdemux: implement live streams handling
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 17 Jan 2013 19:20:10 +0000 (16:20 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 00:05:12 +0000 (21:05 -0300)
commitaa1713068a2559a3d7af001d9b345ad5c018ccae
treed5331be1c5dfda346bbae705e7266e12b7f8190e
parent0704f151030fc97e4dda50b8dec1c5f2c86ef77c
mssdemux: implement live streams handling

Live streams force the demuxer to keep reloading the Manifest from
time to time, as the new fragments are being added as they are recorded.
The demuxer should also try to keep up and detect when it had to skip
fragments, marking the discont flag when that happens.

Curiously, the spec doesn't seem to mention when/how a live stream is supposed
to end, so keep trying downloads until the demuxer errors out.
ext/smoothstreaming/gstmssdemux.c
ext/smoothstreaming/gstmssdemux.h
ext/smoothstreaming/gstmssmanifest.c
ext/smoothstreaming/gstmssmanifest.h