
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
English | 简体中文
rtsp插件提供rtsp协议的推拉流能力,以及向远程服务器推拉rtsp协议的能力。
https://github.com/Monibuca/plugin-rtsp
import (
_ "m7s.live/plugin/rtsp/v4"
)
rtsp://localhost/live/test
localhost是m7s的服务器域名或者IP地址,默认端口554可以不写,否则需要写live代表appNametest代表streamNamelive/test将作为streamPath为流的唯一标识例如通过ffmpeg向m7s进行推流
ffmpeg -i [视频源] -c:v h264 -c:a aac -f rtsp rtsp://localhost/live/test
会在m7s内部形成一个名为live/test的流
如果m7s中已经存在live/test流的话就可以用rtsp协议进行播放
ffplay rtsp://localhost/live/test
rtsp:
publish: # 参考全局配置格式
subscribe: # 参考全局配置格式
pull: # 格式参考文档 https://m7s.live/guide/config.html#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE
push: # 格式参考文档 https://m7s.live/guide/config.html#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE
listenaddr: :554
udpaddr: :8000
rtcpaddr: :8001
readbuffercount: 2048 # 读取缓存队列大小
writebuffercount: 2048 # 写出缓存队列大小
:::tip 配置覆盖 publish subscribe 两项中未配置部分将使用全局配置 :::
rtsp/api/list获取所有rtsp流
rtsp/api/pull?target=[RTSP地址]&streamPath=[流标识]&save=[0|1|2]从远程拉取rtsp到m7s中
rtsp/api/push?target=[RTSP地址]&streamPath=[流标识]将本地的流推送到远端
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.