github.com/pion/webrtc/v4@v4.0.1/ice_go.go (about) 1 // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 2 // SPDX-License-Identifier: MIT 3 4 //go:build !js 5 // +build !js 6 7 package webrtc 8 9 // NewICETransport creates a new NewICETransport. 10 // This constructor is part of the ORTC API. It is not 11 // meant to be used together with the basic WebRTC API. 12 func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport { 13 return NewICETransport(gatherer, api.settingEngine.LoggerFactory) 14 }