php redirect to m3u8 problem

SS IPTV App for LG Smart TV discussion
kolin
Ensign
Ensign
Posts: 3
Joined: 04 Nov 2019, 13:45
TV Model: samsung
Has thanked: 1 time
Flag: Iraq

php redirect to m3u8 problem

Postby kolin » 04 Nov 2019, 13:50

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

User avatar
Eugene
Project Leader
Project Leader
Posts: 5777
Joined: 15 Apr 2013, 22:54
TV Model: LG 47LM960V, LG LB679V
Location: Санкт-Петербург
Has thanked: 32 times
Been thanked: 223 times
Flag: Russia
Contact:

Re: php redirect to m3u8 problem

Postby Eugene » 06 Nov 2019, 17:17

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/vnd.apple.mpegurl", Some HLS Channel

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

kolin
Ensign
Ensign
Posts: 3
Joined: 04 Nov 2019, 13:45
TV Model: samsung
Has thanked: 1 time
Flag: Iraq

Re: php redirect to m3u8 problem

Postby kolin » 17 Nov 2019, 12:11

Great Thank u so much it work like charm


Return to “English forum SS IPTV”

Who is online

Users browsing this forum: No registered users and 15 guests