Skip to content

Commit c3ff511

Browse files
danilofreitasSean-Der
authored andcommitted
Fix panic in janus-gateway example
panic: no element "audiotestsrc" goroutine 1 [running]: main.pipelineForCodec({0x9293b6?, 0x3?}
1 parent 57b266b commit c3ff511

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

janus-gateway/video-room/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func watchHandle(handle *janus.Handle) {
3939
}
4040

4141
func main() {
42+
gst.Init(nil)
4243
// Everything below is the Pion WebRTC API! Thanks for using it ❤️.
4344

4445
// Prepare the configuration

0 commit comments

Comments
 (0)