[mythtv] Question about TVRec and recorder development

Michael Chmilar chmilar at sbcglobal.net
Mon Jan 30 22:41:02 UTC 2006


I am writing a new recorder class to record from an r5000hd (an AV/C
firewire device).

I have the recorder functioning nicely for scheduled recordings.

However, it is not working correctly for LiveTV viewing. The log
shows:

1. TVRec says "Changing from None to WatchingLiveTV"

2. Recorder object is contructed

3. StartRecording is called

4. There is a delay (3-5 seconds) before the first TS packets arrive
to ProcessTSPacket

5. TVRec says "Changing from WatchingLiveTV to None"

6. StartRecording is exited

It looks like TVRec is setting the recorder's "_request_recording"
variable to false, before the Recorder has had a chance to deliver
any TS packets.

Is this happening because of a timeout? If so, where is the timeout
value (so I can try extending it)?

If not, can anyone tell me what is happening? I am assuming that if a
Recorder functions properly for scheduled recordings, it should also
work for LiveTV.

Thanks in advance for any help or advice.

Mike



More information about the mythtv-dev mailing list