File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/livekit/ingress
2
2
3
3
go 1.23.2
4
4
5
- replace github.com/go-gst/go-gst => github.com/livekit/go-gst v0.2.34-0.20250205234446-03e3e98e7c6f
5
+ replace github.com/go-gst/go-gst => github.com/livekit/go-gst v0.2.34-0.20250213212803-e8b19bcbb3e9
6
6
7
7
toolchain go1.23.6
8
8
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
112
112
github.com/kylelemons/godebug v1.1.0 /go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw =
113
113
github.com/lithammer/shortuuid/v4 v4.2.0 h1:LMFOzVB3996a7b8aBuEXxqOBflbfPQAiVzkIcHO0h8c =
114
114
github.com/lithammer/shortuuid/v4 v4.2.0 /go.mod h1:D5noHZ2oFw/YaKCfGy0YxyE7M0wMbezmMjPdhyEFe6Y =
115
- github.com/livekit/go-gst v0.2.34-0.20250205234446-03e3e98e7c6f h1:d5QHoW/YCF9atbqX6WhLFjtyrWOhlq/qssr46s2Pk+E =
116
- github.com/livekit/go-gst v0.2.34-0.20250205234446-03e3e98e7c6f /go.mod h1:pyCgY9XFSG0CAnJzoJ84R5XWn8rEj849EYJOwnAdB8k =
115
+ github.com/livekit/go-gst v0.2.34-0.20250213212803-e8b19bcbb3e9 h1:y2yO9iMj61QwabYrMoLY8aheRVNJaBoXN0uJ+nuTI2U =
116
+ github.com/livekit/go-gst v0.2.34-0.20250213212803-e8b19bcbb3e9 /go.mod h1:pyCgY9XFSG0CAnJzoJ84R5XWn8rEj849EYJOwnAdB8k =
117
117
github.com/livekit/go-rtmp v0.0.0-20230829211117-1c4f5a5c81ed h1:w4c3K0j/I2qG+6PUF/ep4tf93HRibNs9QOWWD1SID50 =
118
118
github.com/livekit/go-rtmp v0.0.0-20230829211117-1c4f5a5c81ed /go.mod h1:X+CliWDrjhm5C+NgmxVt2ncdO3MnKDlbZHTwkuf0808 =
119
119
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1 h1:jm09419p0lqTkDaKb5iXdynYrzB84ErPPO4LbRASk58 =
Original file line number Diff line number Diff line change @@ -76,7 +76,13 @@ func (su *SpliceProcessor) ProcessSpliceEvent(ev *gst.Event) error {
76
76
}
77
77
78
78
str , _ := ev .GetStructure ().GetValue ("running-time-map" )
79
- rMap , _ := str .(* gst.Structure )
79
+ if str == nil {
80
+ return nil
81
+ }
82
+ rMap , ok := str .(* gst.Structure )
83
+ if ! ok {
84
+ return nil
85
+ }
80
86
81
87
splices := scteSit .Splices ()
82
88
for _ , sp := range splices {
You can’t perform that action at this time.
0 commit comments