ice_go.go 347 B

1234567891011
  1. //go:build !js
  2. // +build !js
  3. package webrtc
  4. // NewICETransport creates a new NewICETransport.
  5. // This constructor is part of the ORTC API. It is not
  6. // meant to be used together with the basic WebRTC API.
  7. func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport {
  8. return NewICETransport(gatherer, api.settingEngine.LoggerFactory)
  9. }