Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

m7s.live/plugin/rtsp/readme.html

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m7s.live/plugin/rtsp/readme.html

Go Modules
Version
v1.4.1
Version published
Created
Source

Monibuca 的RTSP 插件

主要功能是提供RTSP的端口监听接受RTSP推流,以及对RTSP地址进行拉流转发

插件名称

RTSP

配置

[RTSP]
ListenAddr  = ":554"
BufferLength  = 2048
AutoPull     = false
RemoteAddr   = "rtsp://localhost/${streamPath}"
[[RTSP.AutoPullList]]
URL = "rtsp://admin:admin@192.168.1.212:554/cam/realmonitor?channel=1&subtype=1"
StreamPath = "live/rtsp"
  • ListenAddr 是监听端口,可以将rtsp流推到Monibuca中
  • BufferLength是指解析拉取的rtp包的缓冲大小
  • AutoPull是指当有用户订阅一个新流的时候自动向远程拉流转发
  • RemoteAddr 指远程拉流地址,其中${streamPath}是占位符,实际使用流路径替换。
  • AutoPullList 是一个数组,如果配置了该数组,则会在程序启动时自动启动拉流,StreamPath一定要是唯一的,不能重复

使用方法(拉流转发)

new(RTSP).PullStream("live/user1","rtsp://xxx.xxx.xxx.xxx/live/user1") 

FAQs

Package last updated on 24 Mar 2021

Did you know?

Socket

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.

Install

Related posts