xgj
9d532cf16b
fix startsendrtp pt error
2022-04-01 19:12:37 +08:00
xgj
61625f458f
for webapi startsendrtp can send raw rtp
2022-04-01 18:28:09 +08:00
xiongziliang
b127d8c2a9
rtsp/GB28181随机端口,支持端口范围设置
2022-03-13 20:50:25 +08:00
xiongziliang
0f1120b8a6
on_publish hook新增多种选项
2022-03-12 14:34:48 +08:00
xiongziliang
4dc621e1bb
转协议选项抽象为ProtocolOption对象
2022-03-12 13:24:23 +08:00
ziyue
d88fe077ed
on_publish hook新增originType字段
2022-03-02 18:03:44 +08:00
ziyue
4af83cbe7c
修复ENABLE_MEM_DEBUG时编译失败的问题
2022-03-01 19:00:50 +08:00
xiongguangjie
9c45fca761
根据配置禁用mmap缓存 ( #1429 )
2022-02-17 10:35:10 +08:00
ziyue
595182cebb
Revert "当调用mk_media_source_close(ptr, 1);时,主动注销流 ( #1401 )"
...
This reverts commit c97aa8483e
.
2022-02-09 14:21:35 +08:00
xiongziliang
0402646f7c
防止命名空间歧义
2022-02-05 01:01:29 +08:00
夏楚
c72cf4cbcc
整理命名空间 ( #1409 )
...
* feat: remove using namespace mediakit in header files.
(cherry picked from commit d44aeb339a8a0e1f0455be82b21fe4b1b536299f)
* feat: remove using namespace mediakit in FFmpegSource.h
* feat: remove using namespace mediakit in RtpExt.h
* feat: remove using namespace mediakit in header files.
* feat: remove using namespace std in header files.
* feat: remove using namespace std in header files when zltoolkit remove std in header
* 补充命名空间
* 整理命名空间
* 整理命名空间2
* 修复macos ci
* 修复编译问题
* 修复编译问题2
* 修复编译问题3
Co-authored-by: Johnny <hellojinqiang@gmail.com>
Co-authored-by: Xiaofeng Wang <wasphin@gmail.com>
2022-02-02 20:34:50 +08:00
joshuafc
c97aa8483e
当调用mk_media_source_close(ptr, 1);时,主动注销流 ( #1401 )
...
* 当调用mk_media_source_close(ptr, 1);时,主动注销流
主动调用上述函数时,期望不再等待RtmpSession.cpp:49处getPoller()->doDelayTask(continue_push_ms, [push_src]() { return 0; });捕获的指针,等待析构时反注册,而是立即反注册。
* `MediaSource::close`逻辑执行成功后执行`unregist`
2022-01-27 14:56:18 +08:00
xiongziliang
3bf6ec8939
修复获取推流所有权导致引用计数紊乱的bug: #1397
2022-01-26 00:37:51 +08:00
ziyue
0ae9a8c8c8
Revert "添加递归溢出检测代码: #1363 "
...
This reverts commit 8937d9ea92
.
2022-01-24 11:38:36 +08:00
ziyue
8937d9ea92
添加递归溢出检测代码: #1363
2022-01-17 14:47:55 +08:00
ziyue
5b6ff0af27
完善mingw编译环境的适配
2022-01-11 14:09:57 +08:00
ziyue
f5efd232a9
rtsp/rtmp推流支持断连续推: #1240 , #1300
2022-01-10 16:43:57 +08:00
alexliyu7352
a441168004
修正不使用resetWhenReplay选项时, MediaSource会重复注册的问题 ( #1330 )
2022-01-04 14:47:41 +08:00
ziyue
c0afcc48e5
malloc大内存警告环境变量改名为MEM_WARN_SIZE
2021-12-31 10:26:36 +08:00
xiongziliang
9cf6fea03e
修复编译问题
2021-12-30 22:12:36 +08:00
ziyue
84f3aa0748
完善内存统计并在malloc大内存时打印backtrace
2021-12-30 20:34:56 +08:00
ziyue
940fe333db
尝试解决全局malloc统计相关变量提前销毁的bug
2021-12-30 15:28:27 +08:00
ziyue
1a6a62a304
malloc确保内存对齐
2021-12-29 20:57:35 +08:00
夏楚
15297a3ca3
添加内存malloc次数分布统计 ( #1322 )
2021-12-29 20:48:15 +08:00
夏楚
878ce87329
支持线程内存malloc统计 ( #1317 )
2021-12-27 17:40:15 +08:00
alexliyu7352
0b2e55429d
HLS: 加速track就绪速度 ( #1286 )
...
* 加速track的准备速度
* 重命名为isAllTrackReady
* 无须缓冲帧时,暂不用转换为可缓存帧
Co-authored-by: 夏楚 <771730766@qq.com>
2021-12-17 14:47:17 +08:00
ziyue
8f60ec9900
Refine: 精简复用MediaSink相关代码
2021-12-01 21:38:31 +08:00
ziyue
4700ab77de
Feature: 新增转协议超时等相关配置项( #1241 )
2021-11-30 18:04:43 +08:00
ziyue
0b79de9d13
MediaSource: 禁止重复推送一个已经注册的流
2021-11-19 15:33:16 +08:00
xiongziliang
a5fc3b04d3
Refine: 删除多余代码
2021-11-13 00:31:32 +08:00
xiongziliang
b0343acf8c
Refine: 提炼精简代码
2021-11-13 00:24:38 +08:00
ziyue
e51a78ebdc
MediaSink: 确保收到数据后才触发TrackReady回调
2021-11-10 14:35:37 +08:00
ziyue
b7e187d7af
Player: 添加kWaitTrackReady选项决定播放器是否等待所有track ready再回调
2021-11-10 13:56:04 +08:00
ziyue
b892ac346f
MediaSink: 优化静音音频相关逻辑性能
2021-11-10 12:41:06 +08:00
ziyue
1ce841ce42
MediaSink: 修复静音音频添加逻辑bug
2021-11-10 12:04:32 +08:00
ziyue
817542cd0c
Mutex: 删除一些不必要的互斥锁
2021-11-10 11:38:54 +08:00
ziyue
143979f354
Stamp: 兼容时间戳跳跃的情况
2021-11-10 11:38:54 +08:00
ziyue
fdfde17ec7
Demuxer/Player: 修改解复用与播放器底层逻辑,确保触发播放成功回调时不丢帧
2021-11-10 11:38:54 +08:00
ziyue
ded5d83e04
MediaSink: 静音音频确保最后添加
2021-11-10 11:38:54 +08:00
ziyue
e249a03dc2
修复调用stopSendRtp接口无法触发无人观看事件的bug:#1189
2021-10-27 13:40:59 +08:00
ziyue
4067f2beb6
ps rtp推流接口(startSendRtp)支持推送本地mp4录像
2021-10-21 10:21:52 +08:00
ziyue
cf1adf1c92
兼容一些不规范的rtsp流
2021-10-20 10:58:05 +08:00
ziyue
8aa2d0ce07
add RTC_SCHEMA macros
2021-10-19 15:22:48 +08:00
ziyue
488026c0b8
删除多余代码
2021-10-16 16:58:13 +08:00
ziyue
f5f58196b5
修改常量命名
2021-10-16 16:58:03 +08:00
ziyue
b10fc52384
CHECK宏支持自定义错误提示
2021-10-16 16:24:40 +08:00
Johnny
722097be05
调整 RtspSession::_push_src类型,统一为 RtspMediaSource::Ptr _push_src;
2021-10-15 18:25:06 +08:00
ziyue
dd81497e5c
修复rtp pts 时间戳回退导致ntp时间戳计算异常的bug:#1152
2021-10-13 15:52:12 +08:00
ziyue
15edbeac3e
整理http相关代码
2021-09-30 16:10:09 +08:00
夏楚
a548fcd709
Feature/dev ( #1143 )
...
* 防止每次cmake后导致重复编译
2021-09-30 11:27:42 +08:00