[mythtv-users] Debugging IPTV / HLS streaming of NZ Channels

Open Media Support support at openmedia.co.nz
Mon Dec 11 04:18:40 UTC 2017


I've added some detailed notes to the MythTV Trac
 - https://code.mythtv.org/trac/ticket/13187#comment:9

I produced some additional debug output of mythtv-backend by modifying
/etc/mythtv/additional.args

ADDITIONAL_ARGS="-v playback,record"


Based on that I'm still not sure at what point we should change the
requesting URL from the base playlist file to the final re-directed
location of the m3u8. I'd love some input

Steven


On Tue, December 5, 2017 4:36 pm, Open Media Support wrote:
> Looking at the code key sections appear to be
>  -
>https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythbase/mythsingledownload.cpp
> - Line 75 call DownloadURL()
>   -
>https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
>
> I need to enable VB_PLAYBACK and re-test to get some extra debugging
> detail.
>
>
>
>
> On Tue, December 5, 2017 3:59 pm, Mark Perkins wrote:
>>
>>
>> On 05/12/17 09:45, Open Media Support wrote:
>>> For testing outside of NZ can you try the following endpoint for Al
>>> Jazeera
>>>   - http://iptv.matthuisman.nz/nz/tv.46.m3u8
>>>
>>> Should redirect to something similar to
>>>   -
>>> https://english.streaming.aljazeera.net/aljazeera/english2/index4147.m3u8
>>>
>>> Steven
>>>
>>> On Tue, December 5, 2017 12:11 pm, Open Media Support wrote:
>>>
>>
>> The geo-blocking makes sense. Testing using the Al Jazeera details in
>> master yields the same failure that you identified in your original post
>> on fixes/29.
>>
>> 2017-12-05 13:21:57.912540 D [16993/17036] ProcessRequest
>> livetvchain.cpp:32 (LiveTVChain) - LiveTVChain(): ctor
>> 2017-12-05 13:21:57.914273 I [16993/17019] TVRecEvent tv_rec.cpp:1098
>> (HandleStateChange) - TVRec[17]: Changing from None to WatchingLiveTV
>> 2017-12-05 13:21:57.916675 I [16993/17019] TVRecEvent tv_rec.cpp:3721
>> (TuningFrequency) - TVRec[17]: TuningFrequency
>> 2017-12-05 13:21:58.006009 I [16993/17019] TVRecEvent
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/tv.46.m3u8 ->
>> https://english.streaming.aljazeera.net/aljazeera/english2/index4147.m3u8
>> 2017-12-05 13:21:59.376312 I [16993/17019] TVRecEvent
>> channelutil.cpp:2000 (GetIPTVTuningData) - Loaded
>> [data]http://iptv.matthuisman.nz/nz/tv.46.m3u8[fectype][fec0][fec1] for
>> 3414
>> .....
>> 2017-12-05 13:21:59.425285 I [16993/17471] StreamHandler
>> recorders/hlsstreamhandler.cpp:125 (run) -
>> HLSSH(http://iptv.matthuisman.nz/nz/tv.46.m3u8(0)): run() -- begin
>> 2017-12-05 13:21:59.503374 I [16993/17471] StreamHandler
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/tv.46.m3u8 ->
>> https://english.streaming.aljazeera.net/aljazeera/english2/index4147.m3u8
>> 2017-12-05 13:22:00.512598 I [16993/17483] HLSStream
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/index4147_242094.ts ->
>> https://cdn.rawgit.com/matthuisman/iptv/996e41cad56359c88bf95a3a9b21af9f0e5850c2/nz/index4147_242094.ts
>> 2017-12-05 13:22:01.521072 I [16993/17483] HLSStream
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/index4147_242094.ts ->
>> https://cdn.rawgit.com/matthuisman/iptv/996e41cad56359c88bf95a3a9b21af9f0e5850c2/nz/index4147_242094.ts
>> 2017-12-05 13:22:01.521086 I [16993/17482] HLSPlaylist
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/tv.46.m3u8 ->
>> https://english.streaming.aljazeera.net/aljazeera/english2/index4147.m3u8
>> 2017-12-05 13:22:02.562993 I [16993/17483] HLSStream
>> mythsingledownload.cpp:75 (DownloadURL) -
>> http://iptv.matthuisman.nz/nz/index4147_242094.ts ->
>> https://cdn.rawgit.com/matthuisman/iptv/996e41cad56359c88bf95a3a9b21af9f0e5850c2/nz/index4147_242094.ts
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
>
> --------------------------------------------
> Steven Ellis - Technical Director
> OpenMedia Limited - The Home of myPVR
> email   - steven at openmedia.co.nz
> website - http://www.openmedia.co.nz
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>


--------------------------------------------
OpenMedia Limited
sales   - sales at openmedia.co.nz
support - support at openmedia.co.nz
website - http://www.openmedia.co.nz


More information about the mythtv-users mailing list