summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/ice_go.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/ice_go.go')
-rw-r--r--vendor/github.com/pion/webrtc/v3/ice_go.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/ice_go.go b/vendor/github.com/pion/webrtc/v3/ice_go.go
new file mode 100644
index 0000000..897ed0d
--- /dev/null
+++ b/vendor/github.com/pion/webrtc/v3/ice_go.go
@@ -0,0 +1,10 @@
+// +build !js
+
+package webrtc
+
+// NewICETransport creates a new NewICETransport.
+// This constructor is part of the ORTC API. It is not
+// meant to be used together with the basic WebRTC API.
+func (api *API) NewICETransport(gatherer *ICEGatherer) *ICETransport {
+ return NewICETransport(gatherer, api.settingEngine.LoggerFactory)
+}