Commit Graph

170 Commits

Author SHA1 Message Date
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
13221ad796 http回复根据状态码自动生成status message: #602 2021-01-02 21:24:06 +08:00
xiongziliang
c69e9b8ec1 主动发送rtp接口(startSendRtp)支持返回本地端口: #538 2021-01-02 20:43:02 +08:00
xiongziliang
bca2b403ae getMediaList接口可以刷选stream:#669 2021-01-02 20:12:33 +08:00
xiongziliang
f9f9cde2b4 整理webapi、webhook框架代码 2020-12-27 22:14:59 +08:00
xiongziliang
781708f0a1 删除兼容代码 2020-12-27 21:48:04 +08:00
xiongziliang
61b29efe94 统一代码风格 2020-12-27 21:21:31 +08:00
夏楚
537ae2f412
Merge pull request #651 from sunhui2013/master
添加停止、恢复rtp代理rtp超时检查功能,解决播放器暂停后断流问题
2020-12-27 20:56:33 +08:00
ziyue
fd15fe70b2 合并 https://gitee.com/kingyuanyuan/ZLMediaKit 2020-12-27 18:41:53 +08:00
sunhui
c32c2146b2 添加停止、恢复rtp代理rtp超时检查功能 2020-12-25 16:05:38 +08:00
xiongziliang
bc125e65be addFFmpegSource接口支持enable_hls、enable_mp4参数 2020-12-20 20:25:44 +08:00
ziyue
8b2fb0bc1f 修复Linux下编译问题 2020-12-06 22:36:44 +08:00
ziyue
c0a4170086 优化http api相关代码,方便自由添加不同类型的api 2020-12-06 21:50:41 +08:00
hewenyuan
50927548e9 增加多路RTP视频流输出 2020-11-27 17:19:55 +08:00
xiongziliang
408a678ade 修复编译问题:#584 2020-11-21 22:32:01 +08:00
xiongziliang
67e49cb66e 修复close stream接口返回code不正确的问题 2020-10-24 23:31:40 +08:00
xiongziliang
c5f1b4cd52 程序退出时清空RtpProcess对象 2020-10-24 23:29:44 +08:00
xiongziliang
a1de3bfd30 添加流创建时间、在线时间 2020-10-01 18:57:15 +08:00
xiongziliang
7f3877e437 添加网速统计功能 2020-10-01 11:02:00 +08:00
xiongziliang
5cd8e8ae1c 添加媒体生成源信息 2020-09-27 11:32:49 +08:00
xiongziliang
2cf66594e8 解决截图失败的问题 2020-09-26 10:07:22 +08:00
xiongziliang
416d21df36 返回值去除std::move 2020-09-21 14:32:56 +08:00
xiongziliang
9c873e1d19 去除转协议开关参数 2020-09-20 09:26:00 +08:00
xiongziliang
040c132fb6 优化stopSendRtp接口返回值 2020-09-06 18:24:48 +08:00
xiongziliang
51ae8d4083 复用忽略协议查找流的相关代码 2020-09-06 18:19:54 +08:00
xiongziliang
09e484794b 实现ps-rtp的发送 #366 2020-09-06 17:56:05 +08:00
xiongziliang
461b5da933 修复closeRtpServer接口相关bug:#447 2020-08-08 12:20:44 +08:00
xiongziliang
d6d861c401 openRtpServer接口不允许添加重复的stream_id 2020-07-09 10:57:17 +08:00
xiongziliang
363673dd00 完善getRtpInfo接口 2020-07-09 10:41:17 +08:00
xiongziliang
4b39fd487d 动态创建rtp端口采用stream_id为索引 2020-07-09 10:38:57 +08:00
xiongziliang
b2ff53037b http api新建的rtp服务器可以自动超时移除 2020-07-08 10:25:30 +08:00
xiongziliang
477f99b756 支持动态创建GB28181收流端口并可指定stream_id:#338 2020-07-07 10:01:12 +08:00
xiongziliang
2be19ffb31 添加listRtpServer接口 2020-07-02 22:26:38 +08:00
xiongziliang
b603b8a68d 支持http api动态添加或关闭rtp服务器 2020-07-02 22:23:43 +08:00
xiongziliang
9c646d1316 完善预设截图相关逻辑 2020-06-10 10:50:37 +08:00
xiongziliang
cecfe7ba54 截图api支持默认图片 2020-06-10 10:33:48 +08:00
xiongziliang
ebc1ee2c6e 代码优化 2020-05-28 12:44:25 +08:00
xiongziliang
ff7914e441 修改MediaSource相关接口 2020-05-26 10:11:58 +08:00
xiongziliang
abe1698601 防止重复创建截图 2020-05-09 09:39:36 +08:00
xiongziliang
5b4d4dab96 优化截图生成逻辑 2020-05-09 09:29:45 +08:00
xiongziliang
76bece0217 实现实时生成和获取截图的http api 2020-05-09 00:06:36 +08:00
xiongziliang
f222af2632 完善代码 2020-04-24 15:28:27 +08:00
xiongziliang
a9fcd9dbc1 完善接口 2020-04-23 23:57:42 +08:00
xiongziliang
787af5109e api返回音视频相关信息 2020-04-23 23:45:20 +08:00
xiongziliang
b6946a5968 事件广播触发者改成SockInfo对象 2020-04-23 21:38:44 +08:00
xiongziliang
1d5c6cb141 整理解析器 2020-04-20 18:13:45 +08:00
xiongziliang
1f02144225 完善录制相关api错误提示 2020-04-16 21:31:07 +08:00
xiongziliang
6b621d42db 优化接口 2020-04-15 22:30:24 +08:00
xiongziliang
8a8da61ef5 防止windows下字符编码错误 2020-04-08 13:54:44 +08:00
xiongziliang
e5d5cabf89 部分恢复录制相关接口 2020-04-05 09:26:29 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +08:00
xiongziliang
cefb2a7cc4 hls/mp4录制不再能随时开启或关闭 2020-04-04 14:33:12 +08:00
xiongziliang
1168174c2b tab统一替换为4个空格键:#242 2020-03-20 11:51:24 +08:00
xiongziliang
89e191f7fd 添加接口:getMp4RecordFile 2020-02-01 23:26:33 +08:00
liuziloong
2384aa5bbd MP4录像增加一级目录,按照:年月/年月日/*.mp4存储;
增加按月,按天查询mp4录像;
消除一处编译器警告;
2020-01-20 15:02:45 +08:00
liuziloong
ee2ca4bda5 Merge branch 'master' into research 2020-01-19 15:09:34 +08:00
liuziloong
d2d84680c0 temp 2020-01-19 14:54:31 +08:00
xiongziliang
cbd6cd4e60 替换不可调试的宏代码 2020-01-17 11:44:20 +08:00
xiongziliang
9c42c5ed8c windows视频FFmpeg拉流代理 2020-01-07 14:37:18 +08:00
Gemfield
e31c1ee207 Add optional customized_path parameter for startRecord 2020-01-02 12:47:12 +08:00
xiongziliang
4b4c4e0cec 实现hls按需拉流 2019-12-29 11:52:02 +08:00
xiongziliang
54736859d4 基本完成hls相关的主要事件 2019-12-29 10:49:04 +08:00
xiongziliang
e72fa359b6 完善hls播放器个数计数 2019-12-28 16:57:35 +08:00
xiongziliang
fbf0f63503 1、getMediaList接入添加tracks、readerCount字段
2、添加getMediaInfo接口
2019-12-13 13:35:27 +08:00
xiongziliang
df73eb2c10 getSsrcInfo接口ssrc使用16进制字符串 2019-12-09 18:15:02 +08:00
xiongziliang
0d9bdec182 支持rtp代理服务器 2019-12-06 11:54:10 +08:00
Gemfield
55814070f8 Update CMakeFiles for RTP Proxy 2019-12-05 19:53:55 +08:00
xiongziliang
10dc254510 完善stopRecord接口 2019-12-05 14:31:44 +08:00
xiongziliang
055c312579 修复getRecordStatus接口 2019-12-05 14:12:22 +08:00
xiongziliang
8502ed27c4 修复录制http ap接口 2019-12-05 12:55:43 +08:00
xiongziliang
69c0c3e237 添加录制相关http api 2019-12-05 12:04:08 +08:00
xiongziliang
5249c24430 整理MediaSource代码 2019-12-03 16:10:02 +08:00
xiongziliang
d587ddf7ef 添加服务器启动报告 2019-11-29 10:12:20 +08:00
xiongziliang
85cd4a7d02 修复遍历删除可能崩溃的bug 2019-11-19 10:55:44 +08:00
xiongziliang
517f3c229c 添加kick_sessions接口 2019-11-18 16:34:39 +08:00
xiongziliang
bcc5c839a5 close_stream接口结果返回字段改成result 2019-11-18 16:28:56 +08:00
xiongziliang
f628985037 优化代码 2019-11-18 16:16:56 +08:00
xiongziliang
ddf351d350 添加close_streams接口 2019-11-18 10:46:59 +08:00
xiongziliang
d440c424c4 获取线程负载接口返回code字段
简化代码
2019-11-13 14:33:19 +08:00
xiongziliang
aef8fb8849 添加isMediaOnline接口判断是否媒体在线 2019-11-13 14:26:12 +08:00
xiongziliang
9665d557ae 兼容拼写错误 2019-11-13 14:11:49 +08:00
xiongziliang
88a5de00b2 修正拼写错误 2019-11-13 14:05:15 +08:00
xiongziliang
35c4c05e7b 修复setServerConfig接口保存配置文件相关bug 2019-11-04 09:21:11 +08:00
xiongziliang
43e1cc69a8 优化http服务器 2019-10-29 00:35:44 +08:00
xiongziliang
fd10ef1187 添加下载文件http api范例 2019-10-28 17:23:16 +08:00
xiongziliang
1f89a86892 新增getWorkThreadsLoad接口 2019-10-24 11:21:55 +08:00
xiongziliang
e67894a085 推流鉴权事件支持是否允许转rtsp/rtmp、hls 、mp4 2019-09-10 11:06:31 +08:00
xiongziliang
bdf515561a 完善addStreamProxy接口注释 2019-07-22 11:38:32 +08:00
xiongziliang
3ca699721e PlayerProxy、DevChannel、MultiMediaSourceMuxer类支持是否开启rtsp/rtmp功能
addStreamProxy增加enable_rtsp、enable_rtmp参数
2019-07-22 11:27:17 +08:00
xiongziliang
8092cb446e 修改on_stream_not_found接口 2019-07-09 14:30:00 +08:00
xiongziliang
99dda48bf7 FFmpeg超时时间与hook超时时间关联 2019-06-24 14:51:49 +08:00
xiongziliang
25286c4377 移植Windows 2019-06-15 17:07:10 +08:00
xiongziliang
c7cc082d95 http文件鉴权支持自定义错误提示 2019-06-14 18:42:09 +08:00
xiongziliang
618cf79569 完善http文件鉴权范例以及注释 2019-06-13 13:02:30 +08:00
xiongziliang
555601506b 添加访问http目录权限事件 2019-06-12 17:53:48 +08:00
xiongziliang
4bd6b24c30 添加协议头 2019-06-11 09:25:54 +08:00
xiongziliang
1eb40884c4 完善按需拉流范例 2019-06-10 14:13:43 +08:00
xiongziliang
c503749328 添加FFmpeg拉流功能 2019-06-06 18:28:33 +08:00
xiongziliang
d85e19fb74 防止拉流中途重复拉流 2019-05-30 16:45:11 +08:00
xiongziliang
a317ff8614 on_stream_not_found接口检查参数 2019-05-29 18:30:43 +08:00