Project

General

Profile

Bug #4326

Opened sessions with "zero" output traffic

Added by saen acro over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2017-04-20
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1.xxx
Affected Versions:

Description

In status i see user to switch channel and previous channel to stay in open status,
with take stream from tuner but to user stay to "0 kb/s"
this make tuner busy
Usually this happens to client with HTSP protocol on KODI clent
but e see this rarely and with vlc client with playlist /pass profile/

Is it possible to kill those sessions, to allow users with "1" connection to watch without problem, or need to set limit to 2 connections.

History

#1

Updated by Sam Stenvall over 3 years ago

I've noticed this too on v4.0.8. What I usually do is kill the HTSP connection for the user, which causes it to reconnect and restart the stream.

#2

Updated by Jaroslav Kysela over 3 years ago

TVH should close all connections when linux kernel detects the close. I added peer port / server ip&port info to the connections list in v4.3-43-gd392de2 . Could you check the state of TCP socket via netstat for those connections ? (netstat -an | grep "PEERIP:PEERPORT")?

#3

Updated by Andreas Fornberg over 3 years ago

For me IPTV streams that fails causes TVheadend to crash.

#4

Updated by Jaroslav Kysela over 3 years ago

Then report the crash to fix it.

#5

Updated by Pablo R. over 3 years ago

Is there any way to automatically restart a stream if it is at 0kbps input for a long time?

#6

Updated by saen acro over 3 years ago

andreas öman Fornberg and Mister Pablo Rodríguez
Bug is for OUTPUT stream to client,
not for INPUT stream with TVH get from somewhere.

#7

Updated by Andreas Fornberg over 3 years ago

Jaroslav Kysela wrote:

Then report the crash to fix it.

Yes but reasons i wrote here is that i think it can be related to this problem.

#8

Updated by Andreas Fornberg over 3 years ago

But i can make a own ticket for it.

Also available in: Atom PDF