The patch is for HTTP but you can easly transform it to VTP. The same problem occurs using VTP and HTTP. On 2/12/06, vdr@xxxxxxxxxxxxxxxx <vdr@xxxxxxxxxxxxxxxx> wrote: > Hi! > > Thanks, I will try this as fast as there isn't any interesting from > Turin ... > > But - are you really using HTTP-streaming? I thought I were using VTP? > > Regards, Lars Fredriksson > > > On Sun, Feb 12, 2006 at 06:54:24AM +0100, BRUNETON B??ranger wrote: > > 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))) { > > > _______________________________________________ > > vdr mailing list > > vdr@xxxxxxxxxxx > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > _______________________________________________ > vdr mailing list > vdr@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >