| Crates.io | tx5-connection |
| lib.rs | tx5-connection |
| version | 0.8.0 |
| created_at | 2024-05-16 21:22:00.468002+00 |
| updated_at | 2025-08-28 16:42:23.11638+00 |
| description | holochain webrtc connection |
| homepage | |
| repository | https://github.com/holochain/tx5 |
| max_upload_size | |
| id | 1242489 |
| size | 197,632 |
P2P WebRTC connection establishment and pooling. Tx5 uses SBD as the WebRTC signaling protocol for connection establishment, providing an interface where you can attempt to send data to any known peer with the expectation that Tx5 will open a connection to that peer or use an existing open connection.
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-libdatachannel - WebRTC library
written in C++.
backend-go-pion - The pion webrtc library
written in Go (golang).
The go pion library was the original implementation, but as libdatachannel has reached stability, we have switched it over to be the default as it is much easier to write rust FFI bindings to C++ code than Go code.