Page 1 of 1

php redirect to m3u8 problem

Posted: 04 Nov 2019, 13:50
by kolin
Hello I've php link that bring m3u8 file and redirect to it via header location
the probelm is I cant play it on ssiptv but the link work fine on any player like android player Mxplayer or windows player vlc
thank u

Re: php redirect to m3u8 problem

Posted: 06 Nov 2019, 17:17
by Eugene
The problem is the app doen't undestand that you try to play hls-streams. It always defines streams type by m3u8 extension but as you use redirection from php, the app doesn't "see" this extension in the link.
You could directly define stream type in m3u playlist using mime-type attribute:

Code: Select all

#EXTINF:-1 mime-type="application/", Some HLS Channel

It works for old Samsung models but I'm not sure if it works for Tizen.

Re: php redirect to m3u8 problem

Posted: 17 Nov 2019, 12:11
by kolin
Great Thank u so much it work like charm