那这个在那地方设置,我这是直接取rtsp数据流,然后将数据发送到解码器通道作者: 板蓝根 时间: 2021-11-30 17:27
你把回调函数 printf 打印log 发一下,另外你是怎么预览的,预览的设置成 1920x1088 试一下,如果可以上传一下nv12文件作者: xiongyingsun 时间: 2022-2-17 11:35
你好,我这个回调函数只执行了一次,是因为什么,看着感觉rtsp连接是正常的
Opening connection to 192.168.1.198, port 8554...
...remote connection opened
Sending request: DESCRIBE rtsp://192.168.1.198:8554/H264_stream_0 RTSP/1.0
CSeq: 2
User-Agent: ffrtspGet (LIVE555 Streaming Media v2015.06.21)
Accept: application/sdp
Received 468 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Thu Feb 17 11:34:57 2022
Server: rtsp_demo
Content-Type: application/sdp
Content-Length: 337
Received 188 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Thu Feb 17 11:34:57 2022
Session: 12345B01
Transport: RTP/AVP;ssrc=22345B01;unicast;client_port=60910-60911;server_port=49152-49153
Server: rtsp_demo
[URL:"rtsp://192.168.1.198:8554/H264_stream_0"]: Set up the "video/H264" subsession (client ports 60910-60911)
[URL:"rtsp://192.168.1.198:8554/H264_stream_0"]: Created a data sink for the "video/H264" subsession
Sending request: PLAY rtsp://192.168.1.198:8554/H264_stream_0 RTSP/1.0
CSeq: 4
User-Agent: ffrtspGet (LIVE555 Streaming Media v2015.06.21)
Session: 12345B01
Range: npt=0.000-
Received 98 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 4
Date: Thu Feb 17 11:34:57 2022
Session: 12345B01
Server: rtsp_demo
[URL:"rtsp://192.168.1.198:8554/H264_stream_0"]: Started playing session...
FFRKMedia_Vdec_SendFFRKMedia_Vdec_Send