ice_go.go 449 B

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