Merge pull request #25 from AlexxIT/plan-b-fallback
Adds support SDP Plan B fallback
This commit is contained in:
commit
4453d7a3dc
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user