Android Not streaming m3u channels (https, User-Agent restriction, ffmpeg)
#1
Exclamation 
Dear community,

I'm trying to make IPTVClient stream m3u (m3u8) channel list on Android (Tried: Kodi 13/14 and SPMC) . As my provider has restricted access to User-Agent, I made my links by appending the param |User-Agent=stagefright to the links.
I have to mention that in Linux/Windows (Tried: Kodi 13/14) IPTVClient works perfectly with same configuration but in Android doesn't work. Maybe this issue shouldn't be opened here, but I hope somebody can help identify the problem why is this happening.

Content of m3u list:
================
#EXTM3U tvg-shift=3
#EXTINF:-1 tvg-logo="channel1.png" group-title="General",Channel1
https://x.x.x.x/channel/1232/index.m3u8|...tagefright

#EXTINF:-1 tvg-logo="channel2.png" group-title="General",Channel2
https://x.x.x.x/channel/1233/index.m3u8|...tagefright
.....
================

When I try to debug, I can see that Headers are overwritten and it seems there is an issue with ffmpeg related (could be wrong).
HERE IS A SNAP FROM THE DEBUG LOGS (Linux and Android):
http://pastebin.com/GsPFwbZ9

Any help is appreciated and keep up the good work.

Thnx,
Reply
#2
This has nothing to do with the pvr-addon. The pvr-addon does not play the streams, Kodi does.
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#3
Hi,

I have the exact same issue. I tried XBMC (Kodi) with a similar playlist as yours (changing the useragent and https stream) on Windows, Linux, Android and iOS. On both Windows and Linux everything plays fine where as on android and iOS I get the same issue as you posted in your log file.

Anyone can help with this issue?

Thanks
Reply
#4
I would think that it's an architectural issue.
Stream too complex for ARM processor but not for X86.
Reply
#5
Hi,

Doing more research it seems the issue is related with android ffmpeg which is built without gnutls support.

You can read more on these related topics:

http://forum.kodi.tv/showthread.php?tid=189621
http://forum.kodi.tv/showthread.php?tid=166897

Hope somebody will fix this issue soon.

Regards,
Reply
#6
Hi Lolziac,

as I posted above, I have the same issue as you do, exactly the same. It is strange to me that this is an android issue (and possibly iOS also, since the same error happens on my iPhone) because the streams play fine for me if I use a different player (MX Player for example or the default android player - stagefright), but the issue remains in xbmc/kodi. Either way, maybe these other players are using some other codec to play the streams and that might be why they work through them.

Thanks for the info above and I hope someone will have any clue. I will also try to do some searching on the net (even though I did before also).

If you find a solution, please post it here if you can Smile

Kind regards,
Reply
#7
Hi once again,

it seems indeed that the issue is with the gnutls not enabled on android / ios Sad and I cannot figure out how to enable it and make a build. Would someone be so kind as to do it for me or is there already a premade version of this where I can download?

Thanks in advance.
Reply
#8
Hi lolziac,

I went agead and asked in the android development forum for a build with gnutls enabled since i could not do it on my own, and wsniperx there was kind enough to make a test build for me which seems to be working fine.

You can find it here
http://forum.kodi.tv/showthread.php?tid=209569

Regards
Reply

Logout Mark Read Team Forum Stats Members Help
Not streaming m3u channels (https, User-Agent restriction, ffmpeg)0