Skip to content

Commit

Permalink
新增预览插件和截图插件,录像插件增加裸流保存功能
Browse files Browse the repository at this point in the history
  • Loading branch information
langhuihui committed Jun 12, 2022
1 parent 3f7e7b3 commit 2dd008d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ debug.go
dist/
flv
hls
mp4
mp4
raw
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ module monibuca
go 1.18

require (
m7s.live/engine/v4 v4.1.4
m7s.live/engine/v4 v4.2.0
m7s.live/plugin/debug/v4 v4.0.0-20220506113031-34f3a736ceb2
m7s.live/plugin/gb28181/v4 v4.0.0-20220607131724-e110acfb56d3
m7s.live/plugin/hdl/v4 v4.0.0-20220520061858-640094798008
m7s.live/plugin/hls/v4 v4.0.0-20220526032106-b2c401b1cbb5
m7s.live/plugin/hook/v4 v4.0.0-20220510140048-d4f76fd1c415
m7s.live/plugin/jessica/v4 v4.0.0-20220511035009-ac66c57b299d
m7s.live/plugin/logrotate/v4 v4.0.0-20220506113619-1a557d4707a5
m7s.live/plugin/preview/v4 v4.0.0-20220608021414-a4c9f8eab7f5
m7s.live/plugin/record/v4 v4.0.0-20220602063958-0e61984aec81
m7s.live/plugin/preview/v4 v4.0.0-20220612074126-ea770517a67e
m7s.live/plugin/record/v4 v4.0.0-20220612043738-8f9b23601007
m7s.live/plugin/room/v4 v4.0.0-20220512035851-f980d4a7f6a0
m7s.live/plugin/rtmp/v4 v4.0.0-20220526123604-cbe785dedaae
m7s.live/plugin/rtsp/v4 v4.0.0-20220605130937-f9bc450d0186
m7s.live/plugin/snap/v4 v4.0.0-20220612035905-720756e0d9ce
m7s.live/plugin/webrtc/v4 v4.0.0-20220606135438-05117be5d638
m7s.live/plugin/webtransport/v4 v4.0.0-20220606132852-13c8e2349a26
)
Expand All @@ -37,7 +38,7 @@ require (
github.com/google/uuid v1.3.0 // indirect
github.com/icza/bitio v1.1.0 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/lucas-clemente/quic-go v0.25.0 // indirect
github.com/lucas-clemente/quic-go v0.26.0 // indirect
github.com/lufia/plan9stats v0.0.0-20220517141722-cf486979b281 // indirect
github.com/marten-seemann/qpack v0.2.1 // indirect
github.com/marten-seemann/qtls-go1-16 v0.1.5 // indirect
Expand Down
24 changes: 16 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -127,23 +127,21 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/logrusorgru/aurora v2.0.3+incompatible h1:tOpm7WcpBTn4fjmVfgpQq0EfczGlG91VSDkswnjF5A8=
github.com/logrusorgru/aurora v2.0.3+incompatible/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
github.com/lucas-clemente/quic-go v0.25.0 h1:K+X9Gvd7JXsOHtU0N2icZ2Nw3rx82uBej3mP4CLgibc=
github.com/lucas-clemente/quic-go v0.25.0/go.mod h1:YtzP8bxRVCBlO77yRanE264+fY/T2U9ZlW1AaHOsMOg=
github.com/lucas-clemente/quic-go v0.26.0 h1:ALBQXr9UJ8A1LyzvceX4jd9QFsHvlI0RR6BkV16o00A=
github.com/lucas-clemente/quic-go v0.26.0/go.mod h1:AzgQoPda7N+3IqMMMkywBKggIFo2KT6pfnlrQ2QieeI=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
github.com/lufia/plan9stats v0.0.0-20220517141722-cf486979b281 h1:aczX6NMOtt6L4YT0fQvKkDK6LZEtdOso9sUH89V1+P0=
github.com/lufia/plan9stats v0.0.0-20220517141722-cf486979b281/go.mod h1:lc+czkgO/8F7puNki5jk8QyujbfK1LOT7Wl0ON2hxyk=
github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI=
github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/marten-seemann/qpack v0.2.1 h1:jvTsT/HpCn2UZJdP+UUB53FfUUgeOyG5K1ns0OJOGVs=
github.com/marten-seemann/qpack v0.2.1/go.mod h1:F7Gl5L1jIgN1D11ucXefiuJS9UMVP2opoCp2jDKb7wc=
github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I=
github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk=
github.com/marten-seemann/qtls-go1-16 v0.1.5 h1:o9JrYPPco/Nukd/HpOHMHZoBDXQqoNtUCmny98/1uqQ=
github.com/marten-seemann/qtls-go1-16 v0.1.5/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk=
github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8=
github.com/marten-seemann/qtls-go1-17 v0.1.1/go.mod h1:C2ekUKcDdz9SDWxec1N/MvcXBpaX9l3Nx67XaR84L5s=
github.com/marten-seemann/qtls-go1-17 v0.1.2 h1:JADBlm0LYiVbuSySCHeY863dNkcpMmDR7s0bLKJeYlQ=
github.com/marten-seemann/qtls-go1-17 v0.1.2/go.mod h1:C2ekUKcDdz9SDWxec1N/MvcXBpaX9l3Nx67XaR84L5s=
github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1/go.mod h1:PUhIQk19LoFt2174H4+an8TYvWOGjb/hHwphBeaDHwI=
github.com/marten-seemann/qtls-go1-18 v0.1.1/go.mod h1:mJttiymBAByA49mhlNZZGrH5u1uXYZJ+RW28Py7f4m4=
github.com/marten-seemann/qtls-go1-18 v0.1.2 h1:JH6jmzbduz0ITVQ7ShevK10Av5+jBEKAHMntXmIV7kM=
github.com/marten-seemann/qtls-go1-18 v0.1.2/go.mod h1:mJttiymBAByA49mhlNZZGrH5u1uXYZJ+RW28Py7f4m4=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
Expand Down Expand Up @@ -497,8 +495,8 @@ grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJd
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
m7s.live/engine/v4 v4.1.4 h1:JRHFD4eYBye4MFZCXQeh9Lvc2a56sOcrJ8KeJi32RNw=
m7s.live/engine/v4 v4.1.4/go.mod h1:rliHP5yJnSyr40ha6q8OhUResRn8fo26TxmmBbR2X4M=
m7s.live/engine/v4 v4.2.0 h1:8t19PmVHoiLxvfogs6pgh/MeEeYm4EBca8U1wmLFqR8=
m7s.live/engine/v4 v4.2.0/go.mod h1:rliHP5yJnSyr40ha6q8OhUResRn8fo26TxmmBbR2X4M=
m7s.live/plugin/debug/v4 v4.0.0-20220506113031-34f3a736ceb2 h1:0QWJvozTHy7m+G/lOIGiejQ9okFIDjwzVsgXe6ZaJg8=
m7s.live/plugin/debug/v4 v4.0.0-20220506113031-34f3a736ceb2/go.mod h1:A/C1ViacCOK7EPeeCfiwlUrC2TUtRdEqzrR0Yd9b1KQ=
m7s.live/plugin/gb28181/v4 v4.0.0-20220607131724-e110acfb56d3 h1:zhDjSjstW82eRaihAJdNwgat5hMhRD39GbyWf2Kg8+I=
Expand All @@ -515,14 +513,24 @@ m7s.live/plugin/logrotate/v4 v4.0.0-20220506113619-1a557d4707a5 h1:XkkHG9sYk45GX
m7s.live/plugin/logrotate/v4 v4.0.0-20220506113619-1a557d4707a5/go.mod h1:a8hIV59GjpQDE+Ip790CU7yOHaG4+Iweci0sLvo43FU=
m7s.live/plugin/preview/v4 v4.0.0-20220608021414-a4c9f8eab7f5 h1:JjCpIj+JaLUVdPGQn85M7aSAnyP1HcGp2yvnmoVLO1k=
m7s.live/plugin/preview/v4 v4.0.0-20220608021414-a4c9f8eab7f5/go.mod h1:iYhWqFbTvTNDFplbTOrE5X9M6ED7gCKkKMuM5QmBocg=
m7s.live/plugin/preview/v4 v4.0.0-20220609062649-c4f3571bbc80 h1:cZ47Qp6dzbEpPaKM+FBY2FxJ0xo59s1qibYprzOJA9g=
m7s.live/plugin/preview/v4 v4.0.0-20220609062649-c4f3571bbc80/go.mod h1:iYhWqFbTvTNDFplbTOrE5X9M6ED7gCKkKMuM5QmBocg=
m7s.live/plugin/preview/v4 v4.0.0-20220612074126-ea770517a67e h1:S8hrME0L3QWwmJ4i6iEvGSqXCGpgWHgg42N0M1Pq3N0=
m7s.live/plugin/preview/v4 v4.0.0-20220612074126-ea770517a67e/go.mod h1:iYhWqFbTvTNDFplbTOrE5X9M6ED7gCKkKMuM5QmBocg=
m7s.live/plugin/record/v4 v4.0.0-20220602063958-0e61984aec81 h1:t3lB7xeF85vqbqaIpLFpbK+BmTjhkqgZEK01ol7BHmY=
m7s.live/plugin/record/v4 v4.0.0-20220602063958-0e61984aec81/go.mod h1:a2/CY+ddgmxzUMDpVTfAsTHrtWNDo/JOmzi6Xf05bQM=
m7s.live/plugin/record/v4 v4.0.0-20220609103825-f838166f51d3 h1:onsa8Z6EtztuF1D3oAlhKhTNrOHc8A0JFT2H6dJyKak=
m7s.live/plugin/record/v4 v4.0.0-20220609103825-f838166f51d3/go.mod h1:a2/CY+ddgmxzUMDpVTfAsTHrtWNDo/JOmzi6Xf05bQM=
m7s.live/plugin/record/v4 v4.0.0-20220612043738-8f9b23601007 h1:sqg20vFQjVGXivFih+aMZMjDYdE0cJ0tuCjmu5rzvwM=
m7s.live/plugin/record/v4 v4.0.0-20220612043738-8f9b23601007/go.mod h1:RH4YeWiKMIheDA7UpRUJWuvd4s+yCl7v/FXT4NASwUA=
m7s.live/plugin/room/v4 v4.0.0-20220512035851-f980d4a7f6a0 h1:rv/GTbcVz1k3/7xWHTXnp4f9LU7Bzf+qC3Dqe9TIEZs=
m7s.live/plugin/room/v4 v4.0.0-20220512035851-f980d4a7f6a0/go.mod h1:s/e+9cyOkJVMAsOVRM08RDvlPikeaeh5R26qk8oekFA=
m7s.live/plugin/rtmp/v4 v4.0.0-20220526123604-cbe785dedaae h1:AMCGnBXpMQ4Z/JRXeh8GDKP+a6IWXgzSZpEoMWcm3V4=
m7s.live/plugin/rtmp/v4 v4.0.0-20220526123604-cbe785dedaae/go.mod h1:Qq/uCVLaROsvhCnlpsUEKy9ZFvD5ajeF23tnJBQEt5s=
m7s.live/plugin/rtsp/v4 v4.0.0-20220605130937-f9bc450d0186 h1:ddyK1aeMQeG8YnCaidXmoTl+N58FDjR+aaOAiV2QKjw=
m7s.live/plugin/rtsp/v4 v4.0.0-20220605130937-f9bc450d0186/go.mod h1:pGxUDv4pes+hA/PxDdUdJleyJpSbK0562hCC0TODMJ0=
m7s.live/plugin/snap/v4 v4.0.0-20220612035905-720756e0d9ce h1:oYlcXS0qX/LtLMry6Lvaidz91dw6nEIs8q4XIaU6+dw=
m7s.live/plugin/snap/v4 v4.0.0-20220612035905-720756e0d9ce/go.mod h1:XHggonZ0lIKEX/OP2rXjV2mPpG4urmvMT3foIaFRsus=
m7s.live/plugin/webrtc/v4 v4.0.0-20220606135438-05117be5d638 h1:GPPxzA9zGW+Ip1Q/0BbKV7Thl1rqpRtALlTNCPn7Vu4=
m7s.live/plugin/webrtc/v4 v4.0.0-20220606135438-05117be5d638/go.mod h1:F78F1+ILZZbKYoHXr42YBXkHoi9D4W7jvjSazN38000=
m7s.live/plugin/webtransport/v4 v4.0.0-20220606132852-13c8e2349a26 h1:UiTuyBhVndkzrnd/hg+JUAY0QZF6HVAz2SpP7AFsdgI=
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
_ "m7s.live/plugin/rtsp/v4"
_ "m7s.live/plugin/webrtc/v4"
_ "m7s.live/plugin/webtransport/v4"
_ "m7s.live/plugin/snap/v4"
)

func main() {
Expand Down

0 comments on commit 2dd008d

Please sign in to comment.