启用MediaServer.exe

rtp推流(单端口)-- 端口固定,ssrc随机
推流 ffmpeg -stream_loop -1 -re -i "test.mp4" -vcodec h264 -acodec aac -f rtp_mpegts rtp://127.0.0.1:10000
查看流地址 http://127.0.0.1/index/api/getMediaList?secret=64kPPS5lQh6ScgAT5bwWTEGmqLxelq9a&schema=rtsp
播放 rtsp://127.0.0.1/rtp/B3D95E63

rtp推流(多端口)-- 指定端口,ssrc固定
http://127.0.0.1/index/api/closeRtpServer?secret=64kPPS5lQh6ScgAT5bwWTEGmqLxelq9a&stream_id=34020000001110000001-34020000001310000001
http://127.0.0.1/index/api/openRtpServer?secret=64kPPS5lQh6ScgAT5bwWTEGmqLxelq9a&port=30000&tcp_mode=1&stream_id=34020000001110000001-34020000001310000001
推流 ffmpeg -re -stream_loop -1 -i "test.mp4" -vcodec h264 -acodec aac -f rtp_mpegts rtp://127.0.0.1:30000
播放 rtsp://127.0.0.1/rtp/34020000001110000001-34020000001310000001

SIP代理接入GB28181

摄像头 -> GB28181代理程序  -> GB28181Server

申请流时:GB28181Server zlm openRtpServer,GB28181Client zlm startSendRtp发送流到指定ip及端口

Logo

火山引擎开发者社区是火山引擎打造的AI技术生态平台,聚焦Agent与大模型开发,提供豆包系列模型(图像/视频/视觉)、智能分析与会话工具,并配套评测集、动手实验室及行业案例库。社区通过技术沙龙、挑战赛等活动促进开发者成长,新用户可领50万Tokens权益,助力构建智能应用。

更多推荐