Project

General

Profile

Actions

Bug #4474

closed

SAT>IP with IPTV inputs never "locks signal"

Added by DSA APF almost 8 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
SAT>IP
Target version:
-
Start date:
2017-07-06
Due date:
% Done:

100%

Estimated time:
Found in version:
master snapshot
Affected Versions:

Description

Hi,

We found another complex bug to identify:

After the commit based on our patch for correcting the State 1 and RTCP messages (see #4449), an additional problem has appeared:

- When the input is an IPTV stream, the lock nevers goes from 0 to 1. See this example corresponding to the response from TVH to any DESCRIBE command after the SETUP command:

RTSP/1.0 200 OK
Content-Type: application/sdp
Content-Length: 278
CSeq: 737
Content-Base: rtsp://192.168.11.211/stream=59

v=0
o=- 8472337638943 8472337639066 IN IP4 192.168.11.211
s=SatIPServer:1 8
t=0 0
a=control:stream=59
a=tool:tvheadend
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=fmtp:33 ver=1.0;src=0;tuner=0,240,0,15,10729,v,dvbs2,8psk,on,35,22000,23;pids=0,1,2,16,17,18,19,20
a=sendonly

Please, take note that "Signal level" is 240, and "Signal quality" is "15". This is correct. However, the "Frontend lock" is "0" (tuner=0,240,***0***,15,). This value is correct until the THE is receiving the stream and completed the subscription to the MUX. But the problem is that now this value nevers changes from "0" (unlocked) to "1" (locked). So, some clients wait indefinitely until a timeout expires.

With our original patch the value is "0" at the start, and then it changes to "1"... during the SETUP phase (prior to the PLAY command). And this is the expected behaviour for clients. If we enforce the value to "1" from the start (just after the SETUP command), then some clients get confused. So, we recommend to change the lock value to "1" when the MUX is subscribed.

You agree?

Actions

Also available in: Atom PDF