Jacob Su
3e1a4e4439
Player: Fix empty img tag occupy 20px size in safari. v6.0.142 ( #4029 )
...
the html img tag occupy 20px size in safari.
427104f1da/trunk/research/players/rtc_player.html (L19)
> <img width="1011" alt="Screenshot 2024-04-17 at 9 17 07 AM"
src="https://github.com/ossrs/srs/assets/2757043/79a4edf8-5bbf-4300-8817-039088f13283 ">
(ignore the img css warning: `auto\9;` it's another problem, I will file
another PR.)
but, the empty img tag just occupy 1px size in chrome. So I guess it's a
html compatible problem.
> <img width="608" alt="Screenshot 2024-04-17 at 9 46 33 AM"
src="https://github.com/ossrs/srs/assets/2757043/40cb2eb6-3a6d-4bb7-9b17-51c5fd6d2272 ">
---------
`TRANS_BY_GPT4`
---------
Co-authored-by: winlin <winlinvip@gmail.com>
6 months ago
chundonglinlin
4a100616fc
Support build without cache to test if actions fail. v5.0.196 v6.0.96 ( #3858 )
...
By default, caching is enabled during compilation, which means that data
is cached in Docker. This helps to avoid compiling third-party
dependency libraries. However, sometimes when updating third-party
libraries, it's necessary to disable caching to temporarily verify if
the pipeline can succeed. Therefore, a configure option should be added.
When this option is enabled, the compilation cache will not be used, and
all third-party libraries will be compiled from scratch.
---------
Co-authored-by: winlin <winlinvip@gmail.com>
1 year ago
panda
30c2f50cae
Upgrade jquery from 1.10.2 to 1.12.2 ( #3571 )
...
---------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
winlin
f7280399d4
Merge 4.0release, migrate to new website.
3 years ago
winlin
310514ea94
Update players and console.
3 years ago
CommanderRoot
8a75e8a165
Replace deprecated String.prototype.substr() ( #2948 )
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() or substring() which work similarily but aren't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
winlin
becbe45bcd
SquashSRS4: Add demo for RTC
4 years ago
winlin
1e27db6a7d
Update players
4 years ago
winlin
d4a8a72388
SquashSRS4: Add console. Disable cherrypy by default.
4 years ago
winlin
6f66cf0868
Player: Change the default from RTMP to HTTP-FLV.
4 years ago
xialixin@kanzhun.com
fdaee20b81
For #2200 , Enable RTC and FLV for GB28181
4 years ago
xialixin@kanzhun.com
4df6fa540f
For #2200 , Enable RTC and FLV for GB28181
4 years ago
johzzy
3c14a96bdd
fix: html5 video tag resolution adaptive. ( #2128 )
4 years ago
Pieere Pi
ffae1720ec
gb28181模块可用性增强
...
主要改动,
1. 支持作为GB/T 28181上级平台
2. 新的目录接口sip_query_devicelist (/api/v1/gb28181?action=sip_query_devicelist)
3. 各种异常和问题修复
4. 其他一些小改动
以上改动基于feature/rtc分支,因为需要网页用WebRTC来拉GB28181的监控流,gb28181分支代码有点老了。
下面的序号n是指第n个差异块("@@ -"之间的内容)。
srs_gb28181.html
1. 原页面上多加了一个端口号
2-4. 给摄像头加上名称显示
5. 查询目录去掉chid
6. 删除通道参数分解为id和chid
7. API端口固定为1985
srs_app_gb28181.cpp
1-4. 四处因为错误而退出GB28181媒体处理循环,修改为不退出
5. payload为空异常
6. 修正判断startcode越界一个字符导致内存写越界的问题
ps流有可能末尾是全零填充,而且越界的那个字符正好是0x01,这样会多出一个nalu(末尾的三个0x00和一个越界的0x01),后面写video_data内存越界(if (first_pos != pre_pos){块,此处size - pre_pos - 4为-1,uint32_t naluLen得到的值为0,video_data[pre_pos+3] = p[0];写越界)破坏了其他数据,后续video_stream析构出错程序异常退出。
7. 此处srs后来已修复
8. 更新ssrc为被叫返回的值
原代码只支持标准中的《点播域内设备媒体流SSRC处理方式》(设备注册上来),不支持《点播外域设备媒体流SSRC处理方式》(即作为上级平台)。
这是因为如果srs作为上级平台,ssrc不是自己生成的,而是下级平台生成的。
9. 删除通道参数分解为id和chid
10. notify_sip_unregister后delete_stream_channel无效
11. notify_sip_query_catalog清空内存中的设备列表
12. 新函数query_device_list
srs_app_gb28181.hpp
1. update_rtmpmuxer_to_newssrc_by_id声明
2. 新函数get_gb28181_config_ptr和函数delete_stream_channel声明修改
3. 新函数query_device_list
srs_app_gb28181_sip.cpp
1-4. 在调试界面给摄像头加上名称显示;新函数clear_device_list和新函数dumpItemList
5-6. 两处因为错误而退出GB28181信令处理循环,修改为不退出
7. 设备注册上来,不检查服务器ID匹不匹配(支持作为上级平台)
8. 收到一个目录上报消息,更新内存中的数据
9. 更新ssrc为被叫返回的值
10. 新函数query_device_list
srs_app_gb28181_sip.hpp
1. 在调试界面给摄像头加上名称显示
2. 每个设备加上item_list,用于存储目录;新函数clear_device_list和新函数dumpItemList
3. 新函数clear_device_list
srs_app_http_api.cpp
1. 删除通道参数分解为id和chid
2. 新的接口sip_query_devicelist,用于查询所有设备的目录
srs_sip_stack.cpp
1. GB2312转UTF-8类
2. 被叫返回的ssrc初始化
3. parse_xml声明修改
4. 对XML内容进行字符集检测和转换
5-7. parse_xml定义修改
8. SIP BODY里面也有可能有\r\n
9-10. 防止恶意SIP消息 by vicious sip prober
11-12. 新的XML解析目录代码
13. 获取被叫返回的ssrc
srs_sip_stack.hpp
1. 依赖vector
2. 每个设备加上item_list,用于存储目录
3. 被叫返回的ssrc
4. parse_xml声明修改
4 years ago
winlin
534fcabbd5
Research: Update players
4 years ago
winlin
5e7fe096a9
Refine player pages
4 years ago
winlin
3eeeda6a12
Player: Remove jwplayer and osmf
5 years ago
winlin
cd3c15ec4e
Support RTC publisher.
5 years ago
winlin
7bec73f224
Refactor demo pages.
5 years ago
kyxlx550
904ce2452b
update srs gb28281 web demo
5 years ago
kyxlx550
6a070a9a64
support sip ptz cmd
5 years ago
kyxlx550
06412ddddc
fix gb28281 html ret error show
5 years ago
kyxlx550
b391ed6206
fix gb28281 html rtc player stop
5 years ago
kyxlx550
7950bc586e
add gb28281 demo html
5 years ago