[Live-devel] set top box problem

bdiwi rawia bdiwi.rawya at gmail.com
Tue Dec 27 08:23:10 PST 2011


Thank you for the response, i haven't modified anything in the source code
i just asked if i have to modify the code to solve this problem.
So, i analyzed the traffic between the decoder and the RTSP server with a
trace module and i got this message:

00:00:00.000 BBClientSDK Version: 2.1.53
00:00:00.001 set_param: STBID=002691D28012
00:00:00.001 set_param: BufferSizeSec=1
00:00:00.001 set_param: MaxBufferSizeKByte=256
00:00:00.001 set_param: DefBufferSizeKByte=128
00:00:00.001 ------------------------------------------------------------
----------------------------
00:00:00.001 | Id | Name                      |  Minimum |  Maximum |
Value                         |
00:00:00.001 ------------------------------------------------------------
----------------------------
00:00:00.001 |   1| DebugLevel                |         0|       255|
15                            |
00:00:00.001 |   2| RemoteDebug               |         0|
80|                               |
00:00:00.001 |   3| UserAgent                 |         0|       256|
BBClientSDK Ver:2.1           |
00:00:00.001 |   4| STBID                     |         0|       256|
002691D28012                  |
00:00:00.001 |   5| LoopEnabled               |         0|         1|
0                             |
00:00:00.001 |   6| LoadConfigTimeOut         |       200|     60000|
5000                          |
00:00:00.001 |   7| LoadPlayListTimeout       |       200|     60000|
5000                          |
00:00:00.001 |   8| ServerNotFoundDelay       |       200|     30000|
2000                          |
00:00:00.001 |   9| FindServerRetrNumber      |         1|      3000|
3                             |
00:00:00.001 |  10| MaxBitrate                |   1000000| 100000000|
10000000                      |
00:00:00.002 |  11| LocalIP                   |         0|
64|                               |
00:00:00.002 |  12| LocalIfName               |         0|        64|
eth0                          |
00:00:00.002 |  13| SGatewayIP                |         0|
74|                               |
00:00:00.002 |  14| DecoderBufSize            |         0|   8388608|
0                             |
00:00:00.002 |  15| UpdateTimeFromSG          |         0|         1|
1                             |
00:00:00.002 |  16| BufferSizeSec             |         1|        20|
1                             |
00:00:00.002 |  17| MaxBufferSizeKByte        |       128|    131072|
256                           |
00:00:00.002 |  18| DefBufferSizeKByte        |       128|    131072|
128                           |
00:00:00.002 |  19| RtThreadPriority          |         0|      1024|
0                             |
00:00:00.002 |  20| NRtThreadPriority         |         0|      1024|
0                             |
00:00:00.002 |  21| HTTPFindServerTimeOut     |      1000|     60000|
5000                          |
00:00:00.002 |  22| HTTPFindGoodLoading       |         5|        95|
20                            |
00:00:00.002 |  23| HTTPConnectTimeOut        |       200|     60000|
2000                          |
00:00:00.002 |  24| HTTPResponseTimeOut       |       200|     60000|
2000                          |
00:00:00.002 |  25| HTTPDataReceiveTimeOut    |        50|     30000|
2000                          |
00:00:00.002 |  26| HTTPFseekFrameMSec        |       500|     10000|
800                           |
00:00:00.002 |  27| HTTPFilterEnable          |         0|         1|
0                             |
00:00:00.002 |  28| RTSPFindServerByDescribe  |         0|         1|
0                             |
00:00:00.002 |  29| RTSPFindServerTimeOut     |      1000|     60000|
5000                          |
00:00:00.003 |  30| RTSPFindGoodLoading       |         5|        95|
20                            |
00:00:00.003 |  31| RTSPConnectTimeout        |       500|     30000|
2000                          |
00:00:00.003 |  32| RTSPResponseTimeOut       |       200|     60000|
2000                          |
00:00:00.003 |  33| RTSPTcpConnectTimeOut     |       500|     10000|
2000                          |
00:00:00.003 |  34| RTSPDataReceiveTimeOut    |       200|     60000|
2000                          |
00:00:00.003 |  35| RTSPReceiveErrMaxRetries  |         1| 100000000|
5                             |
00:00:01.002 |  36| RTSPQoSMaxRec             |         0|       100|
10                            |
00:00:01.002 |  37| RTSPProtocol              |         0|         2|
1                             |
00:00:01.002 |  38| PLTVDelay                 |         0|        60|
5                             |
00:00:01.002 |  39| RTSPMaxSpeed_X100         |       100|       400|
120                           |
00:00:01.002 |  40| RTSPBufTopMSec            |       200|      4000|
1000                          |
00:00:01.002 |  41| RTSPBufLowMSec            |       200|      4000|
500                           |
00:00:01.002 |  42| RTSPContinueByPTS         |         0|         1|
0                             |
00:00:01.002 |  43| RTSPTcpBufLimitMSec       |        50|      2000|
100                           |
00:00:01.002 |  44| RTSPUdpPortStart          |      1500|     30000|
1500                          |
00:00:01.002 |  45| RTSPUdpPortNumb           |         2|      2000|
1500                          |
00:00:01.002 |  46| RTSPUdpMapTimeoutSec      |         0|     30000|
30                            |
00:00:01.003 |  47| RTSPKkeepAliveNum         |         1|       100|
1                             |
00:00:01.003 |  48| UDPReconnectDelay         |       100|     60000|
1000                          |
00:00:01.003 |  49| UDPMaxRetries             |         1| 100000000|
10                            |
00:00:01.003 |  50| UDPDataReceiveTimeOut     |       100|     60000|
2000                          |
00:00:01.003 |  51| UDPFECDisable             |         0|         1|
0                             |
00:00:01.003 |  52| UDPPrebufKB               |         0|      2048|
100                           |
00:00:01.003 |  63| PLSTParamEnable           |         0|         1|
1                             |
00:00:01.003 |  64| DBGParam1                 |         0| 2147483647|
0                             |
00:00:01.003 |  65| DBGParam2                 |         0| 2147483647|
0                             |
00:00:01.003 ------------------------------------------------------------
----------------------------
00:00:01.003 Entry number 0
00:00:01.003 Insert 0 host Protocol:2 IP:190.99.21.31 Port:8554 PR:0
00:00:01.039 bbsdk_play_strm: entry:0 pos:0, scale:1.
00:00:01.039 bbrb_set_prebuffering: 0.
00:00:01.047 bbrtspdstrm_pause.
00:00:01.047 bbrtspdstrm_pause.
pipe found 0x289a2e8 (nil)
00:00:01.099 close_sesion: sesion closed.
00:00:01.099 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:01.140 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:01.181 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:47 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:01.222 bbtcp_find_server: server not found.
00:00:01.222 close_sesion: sesion closed.
00:00:01.222 wait_for_cmd: 2000 msec.
00:00:03.262 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:03.303 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:03.344 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:49 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:03.385 bbtcp_find_server: server not found.
00:00:03.385 close_sesion: sesion closed.
00:00:03.385 wait_for_cmd: 2000 msec.
00:00:05.425 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:05.467 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:05.508 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:51 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:05.549 bbtcp_find_server: server not found.
00:00:05.549 close_sesion: sesion closed.
00:00:05.549 wait_for_cmd: 2000 msec.
00:00:07.589 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:07.631 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:07.672 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:53 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:07.713 bbtcp_find_server: server not found.
00:00:07.713 close_sesion: sesion closed.
00:00:07.713 wait_for_cmd: 2000 msec.
00:00:09.755 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:09.796 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:09.838 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:56 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:09.879 bbtcp_find_server: server not found.
00:00:09.880 close_sesion: sesion closed.
00:00:09.880 wait_for_cmd: 2000 msec.
00:00:11.921 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:11.962 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:12.004 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:00:58 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:12.046 bbtcp_find_server: server not found.
00:00:12.047 close_sesion: sesion closed.
00:00:12.047 wait_for_cmd: 2000 msec.
00:00:14.088 bbtcp_find_server: Check connection with:190.99.21.31:8554
00:00:14.129 bbtcp_send: GET_PARAMETER rtsp://
190.99.21.31/mpeg2TransportStreamTest RTSP/1.0
CSeq: 1
Content-Length: 84
Content-Type: text/parameters

Version
Build
Type
ServerLoad
QoSRecNum
x-setup-timeout-msec
server-time-utc
00:00:14.171 bbtcp_find_server: RTSP/1.0 405 Method Not Allowed
CSeq: 1
Date: Tue, Dec 20 2011 11:01:00 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER

.
00:00:14.213 bbtcp_find_server: server not found.
00:00:14.214 close_sesion: sesion closed.
00:00:14.214 wait_for_cmd: 2000 msec.
00:00:16.049 bbrtspdstrm_pause.
00:00:16.051 bbrtsp_command_loop: thread closed.

Le 27 décembre 2011 15:56, Ross Finlayson <finlayson at live555.com> a écrit :

> I use live555 Media server to read Transport Stream file. The file is
> launched without any problem with the Videolan client.
>
> The problem is that my set top box client (which recieves , decodes and
> displays stream) doesen’t display the video.
> Analyzing wireshark capture i have found that SETUP method server is
> successful but the method used by the STB GET_PARAMETER is not supported
> (“405 method not allowed”).
>
>
> Please post (on this mailing list) a specific example of the RTSP protocol
> exchange (between your set top box and our server) that fails for you.
>
> is there a change that i have made ​​in the source code of the rtsp server
>  ?
>
> Well, *have you* made a change to the source code of the RTSP server?  (If
> you have, then you can expect no support on this mailing list.  You should
> have first done your testing without having made any changes at all to the
> supplied source code.)
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111227/5a401202/attachment-0001.html>


More information about the live-devel mailing list