OSDN Git Service

LiveSession: Use the actual, possibly redirected url as base in the M3U
authorMartin Storsjo <martin@martin.st>
Fri, 22 Nov 2013 15:57:31 +0000 (17:57 +0200)
committerMartin Storsjo <martin@martin.st>
Fri, 10 Jan 2014 09:43:10 +0000 (11:43 +0200)
commit784faaf1d76902be6b36d3af01fb5325f0d45a04
treed54037bc0a62d6192cfdca0279c8377174299c18
parent0c9045e42eebdfcfeb1d372e932f043bb99f7ad9
LiveSession: Use the actual, possibly redirected url as base in the M3U

This fixes playback of HLS streams where the M3U playlists use
relative paths and the main playlist is opened via a redirect.

Change-Id: I787e1c050daddc566be4c8e3f84803d3f91eec46
media/libstagefright/httplive/LiveSession.cpp
media/libstagefright/httplive/LiveSession.h