darkise / mpp_rtsp_player

开发板为RK3399-firefly,使用mpp进行做硬解码,显示使用X11+OpenGL ES 2.0
61 stars 25 forks source link

can't get correct results. #6

Open xiaqing10 opened 3 years ago

xiaqing10 commented 3 years ago

I used rk3399/debian and rk3399/ubuntu to test this project, but not get correct results. It seems that can't get valid connect.

Set non-blocking socket. send request. OPTIONS rtsp://192.168.2.25:10000/h264ESVideoTest RTSP/1.0 CSeq: 1 User-Agent: Darkise rtsp player 1.0

Response[RTSP/1.0 200 OK CSeq: 1 Date: Wed, Dec 02 2020 06:29:00 GMT Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

]. send request. DESCRIBE rtsp://192.168.2.25:10000/h264ESVideoTest RTSP/1.0 CSeq: 2 User-Agent: Darkise rtsp player 1.0 Accept: application/sdp

Response[RTSP/1.0 200 OK CSeq: 2 Date: Wed, Dec 02 2020 06:29:00 GMT Content-Base: rtsp://192.168.2.25:10000/h264ESVideoTest/ Content-Type: application/sdp Content-Length: 485

v=0 o=- 1606890268982388 1 IN IP4 192.168.2.25 s=Session streamed by "testOnDemandRTSPServer" i=h264ESVideoTest t=0 0 a=tool:LIVE555 Streaming Media v2018.11.26 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:Session streamed by "testOnDemandRTSPServer" a=x-qt-text-inf:h264ESVideoTest m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:10000 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=000000;sprop-parameter-sets=H264 a=control:track1 ]. send request. SETUP track1 RTSP/1.0 CSeq: 3 User-Agent: Darkise rtsp player 1.0 Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Response[RTSP/1.0 404 Stream Not Found CSeq: 3 Date: Wed, Dec 02 2020 06:29:00 GMT

]. Response error. RTSP initialise error.