Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

HTTP Live Stream Demo - can't delete old

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


dbadia at gmail

May 13, 2012, 5:42 PM

Post #1 of 4 (351 views)
Permalink
HTTP Live Stream Demo - can't delete old

So I've been playing with the demo at mbeip:6544/samples/hlstest.qsp
and I see a list of streams. But the list refreshes so quickly (it's
constantly flashline) that I either can't click the "Delete" link or it's
not doing anything.

Anyway I can slow down the refresh rate on this page or is there some other
way I can delete the old content?

Thanks
Dave


cpinkham at bc2va

May 23, 2012, 5:52 AM

Post #2 of 4 (329 views)
Permalink
Re: HTTP Live Stream Demo - can't delete old [In reply to]

* On Sun May 13, 2012 at 08:42:25PM -0400, Dave Badia wrote:
> So I've been playing with the demo at mbeip:6544/samples/hlstest.qsp
> and I see a list of streams. But the list refreshes so quickly (it's
> constantly flashline) that I either can't click the "Delete" link or it's
> not doing anything.
>
> Anyway I can slow down the refresh rate on this page or is there some other
> way I can delete the old content?

That list should only refresh at most once every second, and that should
only occur if there are entries that are in a queued, starting, or
stopping state because those states should be temporary.

What browser are you using? I'm using a simple javascript timer to
reload the page when an entry is found in one of these states, but maybe
that is failing on your browser.

Second, it sounds like you have items stuck in the queue. You can clean
up the queue by executing the following SQL:

truncate livestream;

If you have any HLS files in the ~/.mythtv/tmp/hls directory you will
have to remove them manually after running the above command.

--
Chris
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


dbadia at gmail

May 23, 2012, 2:17 PM

Post #3 of 4 (319 views)
Permalink
Re: HTTP Live Stream Demo - can't delete old [In reply to]

On Wed, May 23, 2012 at 8:52 AM, Chris Pinkham <cpinkham [at] bc2va> wrote:

> * On Sun May 13, 2012 at 08:42:25PM -0400, Dave Badia wrote:
> > So I've been playing with the demo at mbeip:6544/samples/hlstest.qsp
> > and I see a list of streams. But the list refreshes so quickly (it's
> > constantly flashline) that I either can't click the "Delete" link or it's
> > not doing anything.
> >
> > Anyway I can slow down the refresh rate on this page or is there some
> other
> > way I can delete the old content?
>
> That list should only refresh at most once every second, and that should
> only occur if there are entries that are in a queued, starting, or
> stopping state because those states should be temporary.
>
> What browser are you using? I'm using a simple javascript timer to
> reload the page when an entry is found in one of these states, but maybe
> that is failing on your browser.
>

The refresh was definitely more frequent than every second. Tried firefox
11 and 12.


> Second, it sounds like you have items stuck in the queue. You can clean
> up the queue by executing the following SQL:
>
> truncate livestream;
>
>
This cleaned up the old entries. I think I was missing some HLS
dependencies in my BE build when I had this issue. Since correcting that,
the refresh behaves as expected and the queue looks good.


> If you have any HLS files in the ~/.mythtv/tmp/hls directory you will
> have to remove them manually after running the above command.
>
> --
> Chris
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Thanks for the help
Dave


cpinkham at bc2va

May 23, 2012, 3:03 PM

Post #4 of 4 (320 views)
Permalink
Re: HTTP Live Stream Demo - can't delete old [In reply to]

* On Wed May 23, 2012 at 05:17:26PM -0400, Dave Badia wrote:
> This cleaned up the old entries. I think I was missing some HLS
> dependencies in my BE build when I had this issue. Since correcting that,
> the refresh behaves as expected and the queue looks good.

Thanks. You just added something else to my TODO. :) I made a note to
handle errors either at runtime or if the user hasn't compiled MythTV
with the --enable-libx264 option. 0.26 will support AAC audio encoding
using the native audio encoder, so you won't need --enable-libmp3lame
going forward.

--
Chris
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.