Fix the bug when live streaming a MPD consists of multiple periods
Submitted by WeiChungChang
Created attachment 323233
patch to fix claimed issue
I found that currently if a "live" DASH streaming with a MPD consists of "multiple periods", it cannot advance to next period once the we have completed the first period.
For example, in attached MPD there are 2 periods. Once we have done the first period (have played out 5 minutes content), we can never arrive the 2nd period.
It is because we never call gst_adaptive_demux_advance_period()。
Once all streams have reached the end of current period & there is a next period, we should advance to next period instead of merely waiting for manifest's update.
Patch is as attached, please kindly refer to it.
Patch 323233, "patch to fix claimed issue":