ForceTCP only for supported clients (#997)
* ForceTCP only for supported clients Revert back to standard if forceRelay with TLS fails Don't force TLS unless it's configured * fix lint
This commit is contained in:
@@ -84,6 +84,7 @@ type ParticipantParams struct {
|
||||
Migration bool
|
||||
AdaptiveStream bool
|
||||
AllowTCPFallback bool
|
||||
TURNSEnabled bool
|
||||
}
|
||||
|
||||
type ParticipantImpl struct {
|
||||
@@ -1107,6 +1108,7 @@ func (p *ParticipantImpl) setupTransportManager() error {
|
||||
ClientInfo: p.params.ClientInfo,
|
||||
Migration: p.params.Migration,
|
||||
AllowTCPFallback: p.params.AllowTCPFallback,
|
||||
TURNSEnabled: p.params.TURNSEnabled,
|
||||
Logger: p.params.Logger,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user