Skip to content

Commit

Permalink
GB28181: fix parse rtp-tcp failed (#2378)
Browse files Browse the repository at this point in the history
* fix parse rtp-tcp failed

* fix parse rtp-tcp failed

Co-authored-by: cfw <fangwei.cheng@transwarp.io>
  • Loading branch information
cfw11 and cfw authored May 28, 2021
1 parent bbd7ee0 commit 4d6f00e
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 442 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
.idea
.DS_Store

/cmake-build-debug/
/CMakeLists.txt
7 changes: 4 additions & 3 deletions trunk/conf/push.gb28181.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ stream_caster {
# 接收设备端rtp流的多路复用端口
listen 9000;
# 多路复用端口类型,on为tcp,off为udp
# 默认:off
tcp_enable off;
# 默认:on
tcp_enable on;

# rtp接收监听端口范围,最小值
rtp_port_min 58200;
Expand Down Expand Up @@ -64,7 +64,8 @@ stream_caster {

# 是否开启rtp缓冲
# 开启之后能有效解决rtp乱序等问题
jitterbuffer_enable on;
# tcp模式建议关闭
jitterbuffer_enable off;

# 服务器主机号,可以域名或ip地址
# 也就是设备端将媒体发送的地址,如果是服务器是内外网
Expand Down
Loading

0 comments on commit 4d6f00e

Please sign in to comment.