diff --git a/format/webrtcv3/adapter.go b/format/webrtcv3/adapter.go index 1c66a45..06269db 100644 --- a/format/webrtcv3/adapter.go +++ b/format/webrtcv3/adapter.go @@ -93,7 +93,9 @@ func (element *Muxer) WriteHeader(streams []av.CodecData, sdp64 string) (string, Type: webrtc.SDPTypeOffer, SDP: string(sdpB), } - peerConnection, err := element.NewPeerConnection(webrtc.Configuration{}) + peerConnection, err := element.NewPeerConnection(webrtc.Configuration{ + SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback, + }) if err != nil { return "", err }