ireader / media-server

RTSP/RTP/RTMP/FLV/HLS/MPEG-TS/MPEG-PS/MPEG-DASH/MP4/fMP4/MKV/WebM
MIT License
3.12k stars 1.09k forks source link

librtsp/source/sdp.c 获取 IP 地址错误 #324

Closed shizhe0123 closed 10 months ago

shizhe0123 commented 10 months ago

使用 librtsp/source/sdp.c 解析 SDP 数据包,然后使用 sdp_connection_get_address() 获取 connection 中的 IP 地址时,该函数实现错误,应将 *ip++ = *p; 改为 *ip++ = *p++;

ireader commented 10 months ago

感谢指正,sdp_connection_get_address/sdp_media_get_connection_address 都有这个问题, 方便的话可以提个MR。