All Projects → Monibuca → plugin-rtsp

Monibuca / plugin-rtsp

Licence: MIT license
rtsp协议实现,接受RTSP推流以及提供拉流转发功能

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to plugin-rtsp

Viseron
Self-hosted NVR with object detection
Stars: ✭ 192 (+84.62%)
Mutual labels:  rtsp
Cameradar
Cameradar hacks its way into RTSP videosurveillance cameras
Stars: ✭ 2,775 (+2568.27%)
Mutual labels:  rtsp
rtsp-video-server
RTSP video streaming server implementation based on Live555 and FFmpeg
Stars: ✭ 36 (-65.38%)
Mutual labels:  rtsp
Gear Lib
Gear-Lib, C library for IOT Embedded Multimedia and Network
Stars: ✭ 2,381 (+2189.42%)
Mutual labels:  rtsp
Nodemediaclient Ios
NodeMedia RTMP/RTSP/HTTP Play/Publish Client SDK for iOS
Stars: ✭ 221 (+112.5%)
Mutual labels:  rtsp
Yi Hack Allwinner
Custom firmware for Yi 1080p camera based on Allwinner platform
Stars: ✭ 243 (+133.65%)
Mutual labels:  rtsp
Media Stream Library Js
JavaScript library to handle media streams on the command line (Node.js) and in the browser.
Stars: ✭ 192 (+84.62%)
Mutual labels:  rtsp
streamer
Go Package built around spinning up streaming processes
Stars: ✭ 37 (-64.42%)
Mutual labels:  rtsp
Jmuxer
jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Stars: ✭ 222 (+113.46%)
Mutual labels:  rtsp
Plate-Minder
Monitor a video source for license plates and record them. Zero cloud dependencies.
Stars: ✭ 106 (+1.92%)
Mutual labels:  rtsp
Rtsp.player.android
RTSP player for Android / IP camera viewer
Stars: ✭ 199 (+91.35%)
Mutual labels:  rtsp
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+2648.08%)
Mutual labels:  rtsp
Zsgx1hacks
Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
Stars: ✭ 251 (+141.35%)
Mutual labels:  rtsp
Iot Dc3
IOT DC3 is an open source, distributed Internet of Things (IOT) platform based on Spring Cloud. It is used for rapid development of IOT projects and management of IOT devices. It is a set of solutions for IOT system.
Stars: ✭ 195 (+87.5%)
Mutual labels:  rtsp
mini
OpenSource Mini IP camera streamer
Stars: ✭ 64 (-38.46%)
Mutual labels:  rtsp
Camerattack
An attack tool designed to remotely disable CCTV camera streams (like in spy movies)
Stars: ✭ 192 (+84.62%)
Mutual labels:  rtsp
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+120.19%)
Mutual labels:  rtsp
gstreamer-rtc-streamer
webrtc streamer based on gstreamer
Stars: ✭ 65 (-37.5%)
Mutual labels:  rtsp
live555ProxyServerEx
Improved version of the "LIVE555 Proxy Server"
Stars: ✭ 35 (-66.35%)
Mutual labels:  rtsp
camera-live-streaming
Camera Live Streaming with Flask and Open-CV
Stars: ✭ 69 (-33.65%)
Mutual labels:  rtsp

RTSP插件

rtsp插件提供rtsp协议的推拉流能力,以及向远程服务器推拉rtsp协议的能力。

插件地址

https://github.com/Monibuca/plugin-rtsp

插件引入

import (
    _ "m7s.live/plugin/rtsp/v4"
)

推拉地址形式

rtsp://localhost/live/test
  • localhost是m7s的服务器域名或者IP地址,默认端口554可以不写,否则需要写
  • live代表appName
  • test代表streamName
  • m7s中live/test将作为streamPath为流的唯一标识

例如通过ffmpeg向m7s进行推流

ffmpeg -i [视频源] -c:v h264 -f rtsp rtsp://localhost/live/test

会在m7s内部形成一个名为live/test的流

如果m7s中已经存在live/test流的话就可以用rtsp协议进行播放

ffplay rtsp://localhost/live/test

配置

rtsp:
    publish:
        pubaudio: true
        pubvideo: true
        kickexist: false
        publishtimeout: 10
        waitclosetimeout: 0
    subscribe:
        subaudio: true
        subvideo: true
        iframeonly: false
        waittimeout: 10
    pull:
        repull: 0
        pullonstart: {}
        pullonsub: {}
    push:
        repush: 0
        pushlist: {}
    listenaddr: :554
    udpaddr: :8000
    rtcpaddr: :8001
    readbuffersize: 2048
    pullprotocol: 'auto'

:::tip 配置覆盖 publish subscribe 两项中未配置部分将使用全局配置 :::

API

rtsp/api/list

获取所有rtsp流

rtsp/api/pull?target=[RTSP地址]&streamPath=[流标识]

从远程拉取rtsp到m7s中

rtsp/api/push?target=[RTSP地址]&streamPath=[流标识]

将本地的流推送到远端

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].