[mythtv-commits] Ticket #12444: /Content/GetRecording sets partial Content-Length when serving unfinishing recordings

MythTV noreply at mythtv.org
Fri May 6 14:33:34 UTC 2016


#12444: /Content/GetRecording sets partial Content-Length when serving unfinishing
recordings
---------------------------------------------+----------------------------
 Reporter:  ajb@…                            |          Owner:  stuartm
     Type:  Bug Report - General             |         Status:  accepted
 Priority:  major                            |      Milestone:  0.28.1
Component:  MythTV - Services API - Backend  |        Version:  0.27-fixes
 Severity:  medium                           |     Resolution:
 Keywords:  Content-Length Chase-Play        |  Ticket locked:  0
---------------------------------------------+----------------------------

Comment (by Mitch Capper <mitch.capper@…>):

 Yes you want to call AddLiveStream with whatever args you want (recid is
 the only required one), it will return to you livestreaminfo, which will
 almost certainly not be ready to play yet. So wait for it to actually
 start processing (sleep for a few seconds and then call GetLivestream with
 the livestream id to check on the status) and then just pass the HLS url
 to the TV and in theory you should be good to go.  If your backend is
 underpowered you may want to wait to make sure you don't play faster than
 it can transcode.

 Keep in mind mythtv does not automatically cleanup transcoded streams (so
 once you start streaming it will transcode to the end and then leave the
 files by default).  You can resolve this by either cleaning up when done
 (RemoveLiveStream) or telling mythtv to only keep so many segments around.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12444#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list