Cargo Features
[dependencies]
tx5-connection = { version = "0.1.5-beta", default-features = false, features = ["backend-libdatachannel", "backend-go-pion", "backend-webrtc-rs"] }
- default = backend-go-pion
-
The
backend-go-pion
feature is set by default whenevertx5-connection
is added without
somewhere in the dependency tree.default-features = false - backend-libdatachannel
-
use the libdatachannel crate as the webrtc backend
Enables datachannel ^0.13.1
- backend-go-pion default
-
use the tx5-go-pion crate as the webrtc backend
Enables tx5-go-pion
- backend-webrtc-rs
-
use the webrtc-rs crate as the webrtc backend