changing of tuner connection not working at first request when not using htsp client
Added by franck franck over 9 years ago
Hi,
I'm using a rasbery pi with tvheadend version 3.4~wheezy
It's very stable and wonderfull software to stream dvb-t channel over ip
I have only a little problem.
To get the video on my client (tried with vlc without htsp plugin, android mx player, wget) I need to start twice the client before geting the stream if it is not on the same frequency (or multiplex) of the previous tuner connection
If the connection of the second video is on the same multplex the video is playing a the first vlc request
On the log it's written "client hung up" in this case
Is it a known problem ? Am I doing something wrong ?
Edit: With TVHGuide it's working perfectly
Thanks
Franck
Here is a log of the following use case:
- open a network stream with vlc on http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101
- No video displayed on vlc
- Press stop vlc playback
- Press start vlc playback
- The video is playing
- Press stop vlc playback
- open a network stream with vlc on http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver626000000_0203
- No video displayed on vlc
- Press stop vlc playback
- Press start vlc playback
- The video is playing
==================
VLC 1st connection to stream: http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101
====================
Apr 04 13:04:12.344 dvb: /dev/dvb/adapter0 stopping thread
Apr 04 13:04:12.346 dvb: /dev/dvb/adapter0 stopped thread
Apr 04 13:04:12.350 dvb: "/dev/dvb/adapter0" tuning to "F: 474,000 kHz" (Transport start)
Apr 04 13:04:12.353 subscription: "HTTP" direct subscription to adapter: "Siano Mobile Digital MDTV Receiver", network: "F", mux: "F: 474,000 kHz", provider: "GR1 B", service: "France 2", quality: 100
Apr 04 13:04:12.653 dvb: /dev/dvb/adapter0 started dvr thread
Apr 04 13:04:12.672 Service: Siano Mobile Digital MDTV Receiver/474,000 kHz/France 2: Status changed to [Hardware input]
Apr 04 13:04:12.672 Service: Siano Mobile Digital MDTV Receiver/474,000 kHz/France 2: Status changed to [Hardware input] [Input on service]
Apr 04 13:04:12.672 Service: Siano Mobile Digital MDTV Receiver/474,000 kHz/France 2: Status changed to [Hardware input] [Input on service] [Demuxed packets]
Apr 04 13:04:12.722 Service: Siano Mobile Digital MDTV Receiver/474,000 kHz/France 2: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
Apr 04 13:04:13.315 webui: Stop streaming /stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver626000000_0203, client hung up
Apr 04 13:04:13.316 subscription: "HTTP" unsubscribing
==================
VLC Stop
====================
VLC 2nd connection to stream: http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101
====================
Apr 04 13:05:35.250 subscription: "HTTP" direct subscription to adapter: "Siano Mobile Digital MDTV Receiver", network: "F", mux: "F: 474,000 kHz", provider: "GR1 B", service: "France 2", quality: 100
Apr 04 13:05:35.252 webui: Start streaming /stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101
Apr 04 13:06:00.004 epg: expire event 4109 from France 4
Apr 04 13:06:00.004 epg: now/next 4111/4113 set on France 4
Apr 04 13:06:00.004 epg: arm channel timer @ 1428145980 for France 4
Apr 04 13:06:00.004 epg: inform HTSP of now event change on France 4
Vlc playing ok
==================
Stop
===============
Apr 04 13:07:46.367 pass: Live stream: Write failed -- Broken pipe
Apr 04 13:07:46.368 webui: Stop streaming /stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101, muxer reported errors
Apr 04 13:07:46.369 subscription: "HTTP" unsubscribing
=============================
VLC 1st connection to stream: http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver626000000_0203
=========================
Apr 04 13:08:18.326 dvb: /dev/dvb/adapter0 stopping thread
Apr 04 13:08:18.329 dvb: /dev/dvb/adapter0 stopped thread
Apr 04 13:08:18.333 dvb: "/dev/dvb/adapter0" tuning to "F: 626,000 kHz" (Transport start)
Apr 04 13:08:18.335 subscription: "HTTP" direct subscription to adapter: "Siano Mobile Digital MDTV Receiver", network: "F", mux: "F: 626,000 kHz", provider: "NTN", service: "BFM TV", quality: 100
Apr 04 13:08:18.384 dvb: /dev/dvb/adapter0 started dvr thread
Apr 04 13:08:18.738 Service: Siano Mobile Digital MDTV Receiver/F: 626,000 kHz/BFM TV: Status changed to [Hardware input]
Apr 04 13:08:18.738 Service: Siano Mobile Digital MDTV Receiver/F: 626,000 kHz/BFM TV: Status changed to [Hardware input] [Input on service]
Apr 04 13:08:18.739 Service: Siano Mobile Digital MDTV Receiver/F: 626,000 kHz/BFM TV: Status changed to [Hardware input] [Input on service] [Demuxed packets]
Apr 04 13:08:18.792 Service: Siano Mobile Digital MDTV Receiver/F: 626,000 kHz/BFM TV: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
Apr 04 13:08:19.319 webui: Stop streaming /stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver474000000_0101, client hung up
Apr 04 13:08:19.320 subscription: "HTTP" unsubscribing
===========================
VLC 2nd connection to stream: http://192.168.1.13:9981/stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver626000000_0203
===========================
Apr 04 13:09:09.760 subscription: "HTTP" direct subscription to adapter: "Siano Mobile Digital MDTV Receiver", network: "F", mux: "F: 626,000 kHz", provider: "NTN", service: "BFM TV", quality: 100
Apr 04 13:09:09.762 webui: Start streaming /stream/service/_dev_dvb_adapter0_Siano_Mobile_Digital_MDTV_Receiver626000000_0203
Vlc playing ok