Option to disable ICE-Lite to improve compatibility (#408)

This commit is contained in:
David Zhao
2022-02-05 22:57:47 -08:00
committed by GitHub
parent 4a9b844781
commit e6c236357a
5 changed files with 21 additions and 17 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ func newPeerConnection(params TransportParams, onBandwidthEstimator func(estimat
//
se.DisableSRTPReplayProtection(true)
se.DisableSRTCPReplayProtection(true)
if params.ProtocolVersion.SupportsICELite() {
se.SetLite(true)
if !params.ProtocolVersion.SupportsICELite() {
se.SetLite(false)
}
lf := serverlogger.NewLoggerFactory(logr.Logger(params.Logger))