Commit Graph

170 Commits

Author SHA1 Message Date
langhuihui
a0cca4d152 fix: publish lost not shutdown 2024-10-09 09:06:55 +08:00
langhuihui
b784470fb2 fix: internal sub cause last leave 2024-09-25 10:03:08 +08:00
langhuihui
63cb1029f6 fix: remove resetTimer warning log 2024-08-30 09:09:54 +08:00
langhuihui
f231a0cd71 fix: delayclosetimeout not work 2024-08-29 19:51:03 +08:00
langhuihui
6360213cd7 feat: use rwlock 2024-06-13 09:01:24 +08:00
pggiroro
a3198be64a 修复publisher为空的问题 2024-04-10 21:05:23 +08:00
langhuihui
9dc92eca7b feat: wait publish tracks longger 2024-03-13 09:52:40 +08:00
langhuihui
b58e926819 feat: remove sei track 2024-02-26 17:16:49 +08:00
langhuihui
5e41a2f6bb feat: sei track use channel to replace data track 2024-02-20 18:08:21 +08:00
langhuihui
f320e61803 fix: subscriber wait track timeout 2024-02-11 10:29:11 +08:00
langhuihui
2891ee8392 feat: reduce wait close when no subscribe 2024-02-08 22:41:25 +08:00
langhuihui
b102419492 fix: new publisher use old track 2024-01-22 13:58:55 +08:00
langhuihui
453ea6a6f2 fix: findstream will panic 2023-12-20 10:14:02 +08:00
langhuihui
6c6a28855d fix: promise never return 2023-11-16 09:55:22 +08:00
langhuihui
2b658ec786 feat: add av1 2023-11-15 15:05:02 +08:00
langhuihui
67b15ce231 fix: republish 2023-11-14 12:44:23 +08:00
langhuihui
8790389df9 fix: AddTrack dead lock 2023-11-13 12:19:40 +08:00
langhuihui
44ee93503f fix: kick publisher cause stream close 2023-11-08 10:04:01 +08:00
langhuihui
f8937ea148 fix: publish is closed when repull 2023-11-02 20:18:12 +08:00
langhuihui
4a9dd2c921 debug: add some log 2023-11-02 09:24:01 +08:00
langhuihui
3668db0eb6 chore: add more log 2023-10-19 14:30:58 +08:00
langhuihui
afabc2777b feat: add track ReaderCount prop 2023-10-17 20:10:48 +08:00
langhuihui
fba10d93eb feat: add actionChan size 2023-10-12 16:45:38 +08:00
langhuihui
d822e502a0 feat: add SendInviteTrack 2023-10-12 13:49:08 +08:00
langhuihui
fb8eb106d6 chore: puller already exists log add streamState 2023-10-09 06:02:47 +08:00
langhuihui
8f7ff8d270 feat: add a state 2023-09-22 08:41:35 +08:00
langhuihui
7ff64a914e feat: update aurora to v4 2023-09-20 14:28:10 +08:00
langhuihui
ff6d3a7bfc fix: stream close process 2023-09-14 09:53:36 +08:00
langhuihui
934d3cf9d4 fix: fetch summary timeout 2023-09-06 13:36:19 +08:00
langhuihui
6c29e525e5 feat: api can return json fomart now
feat: pull on subscribe event use InvitePublish to instead *Stream
fix: pull remote stream publish cause bugs
fix: Concurrency MarshalJSON Tracks

desc:
- API 现在可以返回{"data":xx,"code":0,"msg":"ok"}格式
- 按需拉流的事件的类型从*Stream修改为InvitePublish
- 远程拉流频繁重连后导致多路远程流同时写入同一个track
- 在并发序列化Tracks时导致错误,通过加lock解决
2023-08-12 19:22:03 +08:00
langhuihui
7605485e69 fix: data track push data panic 2023-07-07 14:51:28 +08:00
langhuihui
6a4610df1d feat: Prevent concurrent read and write issues when publishers catch up with subscribers after blocking them
desc: 防止订阅者阻塞后,发布者追上订阅者产生并发读写问题
2023-06-30 10:22:13 +08:00
langhuihui
700aef98c5 fix: sei insert to H265 track 2023-06-17 21:56:34 +08:00
langhuihui
b87416b78e feat: add insert sei
feat: add engine init done event
refactor: remove ring_lock
fix: retry connect to console
fix: h265 sps parse error
fix: concurrent publish

desc:
- 增加插入SEI帧的功能
- 增加engine初始化完成事件
- 删除ring_lock,DataTrack和MediaTrack共用一个ring
- 修复console无限重连导致远程服务器崩溃问题
- 修复h265 sps解析错误问题
- 修复并发发布导致的问题
2023-06-16 22:27:34 +08:00
langhuihui
28a51b9b60 feat: add pause and resume 2023-06-06 19:25:51 +08:00
langhuihui
f4fb7881f7 增加Stream NeverTimeout属性,用于纯数据轨道的流保持不关闭
消除一处魔法数字
将TCP监听增加TLS支持
2023-06-04 11:02:45 +08:00
langhuihui
d3b26d69fc refactor: change Streams to sync.Map 2023-05-23 20:57:26 +08:00
langhuihui
e21f8f765a fix: change tracks to sync.Map to void dead lock 2023-05-21 14:27:57 +08:00
langhuihui
528180b1dc feat: change data track to custom track 2023-05-16 22:49:00 +08:00
langhuihui
4f0e0b4de7 feat: remove ps to ps plugin,add idletimeout
decs: 将ps处理逻辑移入ps插件重,增加idletimeout配置,用于首次发布空闲超时断开连接,增加对订阅者消费过慢的处理,增加dataTrack中元素的回收
2023-05-14 15:27:24 +08:00
langhuihui
379e658e24 feat: support EnhancedRTMP 2023-05-04 09:40:18 +08:00
langhuihui
da92a2238f 修复内置鉴权,音频轨道因IDR锁环并发问题,增加Internal配置,mp4重放能力 2023-04-29 21:57:40 +08:00
langhuihui
2eea5c3706 1、增加内置鉴权机制(同腾讯云)
2、增加trace级别日志功能
3、消除rtp包的padding
4、自动创建BytesPool
5、StreamName修改为除去app后的部分
2023-04-24 13:43:50 +08:00
langhuihui
e9177794cb 新增环境变量覆盖配置功能
兼容偶尔时间戳不对的情况 2023-04-23 10:18:40 +08:00
langhuihui
9dd9fe6cea 修复日志打印序列化报错问题 2023-04-15 08:37:22 +08:00
langhuihui
187a7d86d3 1、支持enhanced-rtmp
2、优化ts解析的pes拼接逻辑
3、增加订阅者写入缓存配置
4、增加对流的主流程耗时过多时的告警
2023-04-12 13:40:34 +08:00
dexter
e2f792b670 修复热更新api导致的崩溃问题
兼容ts中streamID不在标准中定义的情况
修复按需拉流中无音频时订阅者等待的问题
2023-04-09 11:06:09 +08:00
dexter
bfde37db72 支持多语言日志,增加心跳事件广播,兼容一开始缺少 vps 的流 2023-04-04 20:10:49 +08:00
dexter
5086fba6a3 修复续推,修复跳帧前限速,实现只有视频轨道时订阅者不再无效等待 2023-03-28 19:23:19 +08:00
dexter
25a8add7a7 事件上报 2023-03-28 13:26:54 +08:00