monibuca / plugin-rtmp Goto Github PK
View Code? Open in Web Editor NEWRTMP协议插件,提供RTMP协议的server功能:接收rtmp推流和rtmp的播放功能
License: MIT License
RTMP协议插件,提供RTMP协议的server功能:接收rtmp推流和rtmp的播放功能
License: MIT License
if not, can this be considered?
请问推流时如何实现用户名密码认证
小白想请教一下,使用网络摄像头,搭建好流媒体服务器之后,要在摄像头的同一个网段配置一台电脑专门去推流吗,如果有多个摄像头的话是不是就需要多台电脑去推流了
推送一路rtmp,然后ffplay 播放rtmp,画面很卡顿。
测试视频HD.Club-4K-Chimei-inn-20mbps.mp4
下载: http://pan.baidu.com/s/1ntG1d0H 密码: r7ag
请问在自定义插件中的OnEvent方法接收哪个事件中处理?现在我在“SEpublish”事件中通过Stream.Close()的方法进行处理,因为obs有断线重连功能,就出现反复连接->断开,感觉这样不是很友好。
support flash?
你好,请问现在是否支持推流 采用H264+MP3/g711a/g726/opus 等等,而拉流时在服务端转码为H264+AAC呢?
go 语言调用ffmpeg 转码性能怎么样呢?
如果不调用ffmpeg ,go语言是否有类似ffmpeg 的解码库?
谢谢
如题,rtmp url 在vlc,IINA 中能播放
url如:rtmp://<host>:<port>/domain=31010600012000000000&resource=31010600011320001122-0&quality=2&src=1
使用api rtmp/api/pull urlencode 过编码 也是不行,同样错误(后台能输出能看到正确的url地址)
音视频编码:H264 - MPEG-4 AVC (part 10) (avc1) / MPEG AAC Audio (mp4a)
Line 170 in 79070d8
/live/a 已存在(记为1),又收到/live/a(记为2)的推流请求,先触发一次读1,如果短时间内读不到1的数据,删除1,发布2(重新发布/live/a)(这个是群中大佬提的方案)
例如:
rtmp推流,然后使用rtsp进行播放? 或者反过来?
是否支持flv播放?
Hi I was wondering if you could also create this plugin for monibuca: https://github.com/optman/go-rtmfp
Right now I have a project which is using rtmfp and I don't like the architecture of MonaServer and the code is really not easy to understand. I need that rtmfp protol to upgrade from MonaServer into something more powerful and fast such as monibuca.
Let me know
thanx
时戳处理有问题,播放一卡一卡的,totalDuration变量不应该是音视频共用的。
时戳是相对于chunkstreamid相同的chunk包的,这里音视频混用了同一个totalduration变量,计算出来的有问题。
这段代码已经默认时戳是相对时戳了,不够严谨,这个时戳可能是绝对时戳啊,这段计算totalduration,其实就是绝对时戳,
这部分逻辑应该放到解析协议中吧,这里并没有任何地方表明这个时戳一定是相对时戳。虽然大部分推流工具除了首包,后面都是相对时戳。
由于时戳问题,rtmp拉流会明显卡顿。
case RTMP_MSG_AUDIO:
// pkt := avformat.NewAVPacket(RTMP_MSG_AUDIO)
if msg.Timestamp == 0xffffff {
totalDuration += msg.ExtendTimestamp
} else {
totalDuration += msg.Timestamp // 绝对时间戳
}
stream.PushAudio(totalDuration, msg.Body)
case RTMP_MSG_VIDEO:
// pkt := avformat.NewAVPacket(RTMP_MSG_VIDEO)
log.Println("huheng debug push video timestamp: ", msg.Timestamp)
if msg.Timestamp == 0xffffff {
totalDuration += msg.ExtendTimestamp
} else {
totalDuration += msg.Timestamp // 绝对时间戳
}
stream.PushVideo(totalDuration, msg.Body)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.