one recording vdr and one replay vdr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
> I have some problems to get picture at the client sometimes - when it
> happens I have to switch channel until I get picture - then I can switch
> back to the channel I wanted to see. I'm also having to Hauppauge MVP's
> using vompserver that streams from the server and they always get
> picture so I think it has something with streamdev or xine to do?

I've have the same problem on my setup. When it's happend the ring
buffer of streamdev is never filled. I've seen that GetTSPacket(b)
from void cDevice::Action(void) method in VDR/device.c
never return data.

For me it's tunning issue may be a wrong timeout setting.
So I'm using the following patch which give me good result.

If someone is interested to fix  this issue I can provide more info.

--- streamdev/server/connectionHTTP.c   2005-05-09 22:22:29.000000000 +0200
+++ streamdev-new/server/connectionHTTP.c       2006-02-12
06:36:36.000000000 +0100
@@ -67,6 +67,8 @@
                        cDevice *device = GetDevice(m_Channel, 0);
                        if (device != NULL) {
                                device->SwitchChannel(m_Channel, false);
+                               usleep(500);
+                               device->SwitchChannel(m_Channel, false);
                                if
(m_LiveStreamer->SetChannel(m_Channel, m_StreamType, m_Apid)) {
                                        m_LiveStreamer->SetDevice(device);
                                        if (m_StreamType == stES &&
(m_Apid != 0 || ISRADIO(m_Channel))) {

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux