Crates.io | tx5-connection |
lib.rs | tx5-connection |
version | 0.1.4-beta |
source | src |
created_at | 2024-05-16 21:22:00.468002 |
updated_at | 2024-10-22 19:54:45.712763 |
description | holochain webrtc connection |
homepage | https://github.com/holochain/tx5 |
repository | |
max_upload_size | |
id | 1242489 |
size | 94,620 |
Holochain webrtc connection. Starts by sending messages over the sbd signal server, if we can upgrade to a proper webrtc p2p connection, we do so.
Tx5 can be backed currently by 1 of 2 backend webrtc libraries.
*
DEFAULT*
backend-go-pion
- The pion webrtc library
writen in go (golang).
backend-webrtc-rs
- The rust webrtc library.
The go pion library is currently the default as it is more mature and well tested, but comes with some overhead of calling into a different memory/runtime. When the rust library is stable enough for holochain's needs, we will switch the default. To switch now, or if you want to make sure the backend doesn't change out from under you, set no-default-features and explicitly enable the backend of your choice.