Skip to content

Commit 77894a3

Browse files
tmatthSean-Der
authored andcommitted
Fix janus-gateway: use unified plan with fallback
Fixes "panic: TypeError: offer SDP semantics does not match configuration"
1 parent e78b349 commit 77894a3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Check out the **[contributing wiki](https://github.com/pion/webrtc/wiki/Contribu
6161
* [Jadon Bennett](https://github.com/jsjb)
6262
* [Lukas Herman](https://github.com/lherman-cs) - *C Data Channels example*
6363
* [EricSong](https://github.com/xsephiroth) - *Implement GstV4l2Alsa example*
64+
* [Tristan Matthews](https://github.com/tmatth)
6465

6566
### License
6667
MIT License - see [LICENSE](LICENSE) for full text

janus-gateway/streaming/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func main() {
6060
URLs: []string{"stun:stun.l.google.com:19302"},
6161
},
6262
},
63+
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
6364
}
6465

6566
// Create a new RTCPeerConnection

janus-gateway/video-room/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func main() {
4343
URLs: []string{"stun:stun.l.google.com:19302"},
4444
},
4545
},
46+
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
4647
}
4748

4849
// Create a new RTCPeerConnection

0 commit comments

Comments
 (0)