Commit Graph

215 Commits

Author SHA1 Message Date
xiongziliang 9498b96b95 确保rtp推流线程安全性 2022-10-30 21:36:35 +08:00
ziyue ac1abb34da 新增媒体流flush机制:#1996 2022-10-16 19:54:17 +08:00
ziyue 2b64245c14 优化代码 2022-10-08 10:47:09 +08:00
xiongguangjie 9f716dd8b8 fix gb startsendpassive use random port return immediately not wait 2022-09-26 15:50:02 +08:00
ziyue 15affeff1d 优化关闭媒体源相关逻辑: #1963 2022-09-18 20:36:47 +08:00
夏楚 4a35ddbddb
Merge pull request #1942 from mtdxc/reduce_code
简化代码
2022-09-09 11:10:55 +08:00
custompal d853075175
RtpServer新增tcp主动模式支持 (#1938) 2022-09-09 10:56:28 +08:00
cqm 999e0b274e 简化代码:
- MediaSource引入shortUrl和getUrl来简化日志输出
- WebApi引入fillSockInfo
2022-09-07 11:47:15 +08:00
xiongziliang 20f1275c58 rtsp拉流、rtp单端口推流新增支持获取丢包率: #1877 2022-09-03 16:32:09 +08:00
custompal 0d6509ce03 统一部分变量名和代码样式风格 2022-08-30 21:24:25 +08:00
xiongzilaing 679c79802f 整理媒体事件相关代码,删除无须重载时的多余代码逻辑 2022-08-28 17:25:56 +08:00
xiongziliang f0ae5a1bd7 优化日志提示 2022-08-27 11:00:24 +08:00
xiongziliang 0cab9c8d16 rtp发送去除重连机制 2022-08-27 10:59:15 +08:00
xiongziliang 6a4297845f 新增发送rtp被动关闭hook 2022-08-27 10:53:47 +08:00
xiongziliang c2ab45f78d 完善线程安全设计 2022-08-27 10:17:06 +08:00
xiongziliang 9f0c15a4f0 startSendRtp接口支持rtcp接收超时主动停止 2022-08-20 12:48:27 +08:00
ziyue 6382fcb3be 确保on_publish事件回调时线程安全 2022-08-11 18:36:17 +08:00
ziyue 9c3b8a6a95 时间戳改为64位 2022-08-08 17:13:39 +08:00
ziyue 143580d780 修复编译警告 2022-08-08 15:28:43 +08:00
ziyue f85de2e108 精简复用rtp encoder创建相关代码 2022-08-05 17:36:51 +08:00
ziyue afcf247464 完善mpegts/ps容器对aac音频的兼容: #1801 2022-07-29 18:05:16 +08:00
ziyue ace989d378 完善rtp server日志打印 2022-07-29 17:57:52 +08:00
dingcan 23e0abde04 Update RtpProcess.cpp 2022-07-27 14:13:54 +08:00
dingcan 0a678661e3 Update RtpProcess.cpp 2022-07-27 10:02:15 +08:00
dingcan 532932fd2d Update RtpProcess.h 2022-07-26 14:44:32 +08:00
dingcan b8d17565d7 修改代码格式 2022-07-26 14:42:42 +08:00
dingcan c1b4ccd041 Update RtpProcess.cpp 2022-07-26 11:57:09 +08:00
dingcan ed6c80cf07 新增rtp udp收流增加丢包率 2022-07-26 11:21:19 +08:00
xiongguangjie 14da5ab2d8
when start send rtp wait key rtp previous drop (#1789) 2022-07-09 22:30:43 +08:00
CharleyWangHZ 28350c0d05
Optimize Decoder inheritance relationship (#1760) 2022-06-29 11:01:16 +08:00
xiongziliang b351f4c7e5 优化日志提示 2022-06-18 21:06:18 +08:00
custompal 771844d065
去除rtp_sender_mtx (#1722)
* 去除rtp_sender_mtx
* 无人观看定时器指定为MediaSource对象所属poller以确保读取观看数是线程安全的

Co-authored-by: xiongziliang <771730766@qq.com>
2022-06-18 13:22:57 +08:00
xiongguangjie b22e1cf937 fix g711u or g711a rtp judge error 2022-06-16 10:04:46 +08:00
xiongguangjie 5479820748 const payload type variable start's letter is lower case 2022-06-16 09:59:09 +08:00
xiongguangjie 6a337adc91 for rtp server can config pt 2022-06-15 00:20:53 +08:00
xiongziliang 93201f40d3 优化日志提示 2022-05-28 09:47:48 +08:00
xiongziliang 30dbac2c70 提高对不规范GB28181流的兼容性,防止视频轨道被忽略 2022-05-20 21:52:53 +08:00
xiongziliang 251fe1f77c 优化随机端口分配逻辑 2022-05-14 23:34:33 +08:00
xiongziliang 8231c5c293 新增GB28181 tcp passive被动发送接口(startSendRtpPassive) 2022-05-14 23:25:22 +08:00
xiongziliang b4166d5cfe 修复startSendRtp接口发送ipv4 udp地址失败的bug: #1635 2022-05-14 17:14:38 +08:00
ziyue 9861091b18 优先使用ipv4地址 2022-05-10 14:48:05 +08:00
ziyue 45494c020b bug fixed 2022-05-10 10:44:12 +08:00
xiongziliang d66845425c 完善ipv6网络适配 2022-05-08 00:26:01 +08:00
ziyue 3062ea0e7c 初步支持ipv6: #576, #1406 2022-05-07 20:06:08 +08:00
ziyue 200a193c04 openRtpServer新增ssrc参数修改为追加至函数末尾, 确保代码逻辑一致无歧义: #1572 2022-04-28 17:44:35 +08:00
wangcker e712639e33
openrtpserver接口新增ssrc参数,强制过滤不属于本端口的视频流,以解决视频串流问题 (#1572) 2022-04-16 15:12:49 +08:00
xiongziliang a1b350c9f0 startSendRtp接口udp发送不指定端口时,从端口池获取端口 2022-04-09 10:33:27 +08:00
xiongziliang a6e82799f5 openRtpServer接口新增re_use_port参数 2022-04-09 10:26:15 +08:00
xiongziliang 8da23da35c 添加utf-8 bom头 2022-04-03 18:38:07 +08:00
xiongziliang 2818e371b8 完善startSendRtp接口 2022-04-03 18:37:22 +08:00