Compare commits

...

1 Commits

Author SHA1 Message Date
langhuihui
a9f2c23f90 feat: 兼容不规范的 rtp 包和 sdp 2023-10-27 10:04:41 +08:00
3 changed files with 18 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ Inspired by:
- [mp4ff](https://github.com/edgeware/mp4ff) mp4 file format library [@edgeware](https://github.com/edgeware)
- [gosip](https://github.com/ghettovoice/gosip) go sip library [@ghettovoice](https://github.com/ghettovoice)
- [webrtc](https://github.com/pion/webrtc) go library and whole [@pion](https://github.com/pion) team
- [gortsplib](https://github.com/aler9/gortsplib) rtsp library [@aler9](https://github.com/aler9)
- [gortsplib](https://github.com/bluenviron/gortsplib) rtsp library [@aler9](https://github.com/aler9)
## Remote console

6
go.mod
View File

@@ -4,7 +4,7 @@ go 1.20
require (
go.uber.org/zap v1.26.0
m7s.live/engine/v4 v4.14.0
m7s.live/engine/v4 v4.14.1-0.20231027012327-14c1caec58aa
m7s.live/plugin/debug/v4 v4.0.1
m7s.live/plugin/fmp4/v4 v4.0.5
m7s.live/plugin/gb28181/v4 v4.4.3
@@ -18,7 +18,7 @@ require (
m7s.live/plugin/record/v4 v4.4.4
m7s.live/plugin/room/v4 v4.0.11
m7s.live/plugin/rtmp/v4 v4.2.7
m7s.live/plugin/rtsp/v4 v4.3.0
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231027015219-2a62472b1d50
m7s.live/plugin/snap/v4 v4.0.7
m7s.live/plugin/webrtc/v4 v4.2.2
m7s.live/plugin/webtransport/v4 v4.0.9
@@ -31,7 +31,7 @@ require (
github.com/asticode/go-astikit v0.30.0 // indirect
github.com/asticode/go-astits v1.13.0 // indirect
github.com/bluenviron/gohlslib v1.0.0 // indirect
github.com/bluenviron/gortsplib/v4 v4.2.1 // indirect
github.com/bluenviron/gortsplib/v4 v4.2.2-0.20231023175953-d4bb674a5091 // indirect
github.com/bluenviron/mediacommon v1.5.0 // indirect
github.com/cnotch/ipchub v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect

14
go.sum
View File

@@ -13,6 +13,8 @@ github.com/bluenviron/gohlslib v1.0.0 h1:UOI7wW7EdXPnnoflPL+WRiUB+bDSyrR9AXtu029
github.com/bluenviron/gohlslib v1.0.0/go.mod h1:fwqXogd2G/CJ/0kD6TTALmWI3KAm66nZoI+06O02YKI=
github.com/bluenviron/gortsplib/v4 v4.2.1 h1:LugQr3TIKoj6GjOf470teDP8goWiL8PTrX2OaF+L2Vc=
github.com/bluenviron/gortsplib/v4 v4.2.1/go.mod h1:VOoeI2VxRKh5eEg6Y48DGb/oLxU1i+X0Xzv9z8dvsUQ=
github.com/bluenviron/gortsplib/v4 v4.2.2-0.20231023175953-d4bb674a5091 h1:VY+xh0y9kIrAqwuJHUOdS/ZdY2JPtNqzWtVN4QJr2Lo=
github.com/bluenviron/gortsplib/v4 v4.2.2-0.20231023175953-d4bb674a5091/go.mod h1:VOoeI2VxRKh5eEg6Y48DGb/oLxU1i+X0Xzv9z8dvsUQ=
github.com/bluenviron/mediacommon v1.5.0 h1:lS0YKNo22ZOyCsYcLh3jn3TgUALqYw0f7RVwalC09vI=
github.com/bluenviron/mediacommon v1.5.0/go.mod h1:Ij/kE1LEucSjryNBVTyPL/gBI0d6/Css3f5PyrM957w=
github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s=
@@ -419,6 +421,12 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
m7s.live/engine/v4 v4.14.0 h1:bvsRe2Ho8M95X9SZ/Sw+pzHJRWmt+f7F7S8LwfS8tHU=
m7s.live/engine/v4 v4.14.0/go.mod h1:cRR/WOZbPSAQfYxIHuCkj1YMg+C54CYlFpOJ88q+OG4=
m7s.live/engine/v4 v4.14.1-0.20231024051535-e4fe493cc61a h1:9gw3H+t/3RCVq+/wfIVLSMhTMCU5er52JTKtCC90AOw=
m7s.live/engine/v4 v4.14.1-0.20231024051535-e4fe493cc61a/go.mod h1:cRR/WOZbPSAQfYxIHuCkj1YMg+C54CYlFpOJ88q+OG4=
m7s.live/engine/v4 v4.14.1-0.20231026092444-2c9d1d7ebdcf h1:JCl8qjRAjKxdo6eZoiHWRWaxdYq06rjMrlM0/djd0bQ=
m7s.live/engine/v4 v4.14.1-0.20231026092444-2c9d1d7ebdcf/go.mod h1:cRR/WOZbPSAQfYxIHuCkj1YMg+C54CYlFpOJ88q+OG4=
m7s.live/engine/v4 v4.14.1-0.20231027012327-14c1caec58aa h1:HqM/ubR8A75p9G7V8l8DGlIeIiRmgyQumRFuzQOPxsc=
m7s.live/engine/v4 v4.14.1-0.20231027012327-14c1caec58aa/go.mod h1:cRR/WOZbPSAQfYxIHuCkj1YMg+C54CYlFpOJ88q+OG4=
m7s.live/plugin/debug/v4 v4.0.1 h1:sX0UADsiikwSol8qx+8aQzGeaFa8yJFa/cUKpBs5Lzw=
m7s.live/plugin/debug/v4 v4.0.1/go.mod h1:A/C1ViacCOK7EPeeCfiwlUrC2TUtRdEqzrR0Yd9b1KQ=
m7s.live/plugin/fmp4/v4 v4.0.5 h1:0madI/TKvrLkYVAKuPK1HBvbVf0RJg0g2WruET3S+9c=
@@ -449,6 +457,12 @@ m7s.live/plugin/rtmp/v4 v4.2.7 h1:eQtrcTuuBZVInvRaDUROcLMeLXJWXo79LAnymRd0L3Y=
m7s.live/plugin/rtmp/v4 v4.2.7/go.mod h1:UqI1l1+3Y2zg2oOUkfVJ719hcv10bMYVAlg5e+gqy2E=
m7s.live/plugin/rtsp/v4 v4.3.0 h1:Q6R7uijgtzCPFbe1JBvB2x7IUs/KV7fvn52UQHoc9Cw=
m7s.live/plugin/rtsp/v4 v4.3.0/go.mod h1:P4cRC2F3f84Vh7Vjjkjv7GZtzKuEVmeNW1NN406K9vY=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231025005733-9ac21a130e9d h1:1rJrvbZ18hwQQBK59haj39bL1vWvCQfYsvd9AAi04A0=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231025005733-9ac21a130e9d/go.mod h1:NfIyqdD/iJo8NYmnxXNN8/z5cc/YBec7RllOhWcOlI8=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231025022229-3e4dcdf649c8 h1:VNbPQ5x1KPM/xxZa7Lfu0YUIZ5/RkZQbbaKXAj/kug8=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231025022229-3e4dcdf649c8/go.mod h1:NfIyqdD/iJo8NYmnxXNN8/z5cc/YBec7RllOhWcOlI8=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231027015219-2a62472b1d50 h1:glo9OFTCdg9ZpFHbdmMhqWzAQ3bPNrbxh8DdU8JGLEQ=
m7s.live/plugin/rtsp/v4 v4.3.1-0.20231027015219-2a62472b1d50/go.mod h1:NfIyqdD/iJo8NYmnxXNN8/z5cc/YBec7RllOhWcOlI8=
m7s.live/plugin/snap/v4 v4.0.7 h1:9otl/K5Iq+wlnrcTEIOnBXGarNXd+Fl4r+684Uz+V+k=
m7s.live/plugin/snap/v4 v4.0.7/go.mod h1:XHggonZ0lIKEX/OP2rXjV2mPpG4urmvMT3foIaFRsus=
m7s.live/plugin/webrtc/v4 v4.2.2 h1:QV+ghnBFnKleWm072Pptmrta+SxNyR8PvCAafuIo4W4=