Module webrtc

Module webrtc 

Source
Expand description

ยงWebRTC Implementation

This module provides WebRTC peer-to-peer communication capabilities for OpenMina. WebRTC enables direct peer connections, NAT traversal, and efficient blockchain node communication, particularly important for the Web Node (browser-based Mina protocol).

For comprehensive documentation about WebRTC concepts and this implementation, see: https://o1-labs.github.io/openmina/developers/webrtc

Modulesยง

connection_auth ๐Ÿ”’
WebRTC connection authentication.
host ๐Ÿ”’
Host address resolution for WebRTC connections.
signal ๐Ÿ”’
WebRTC Signaling Data Structures
signaling_method ๐Ÿ”’
WebRTC Signaling Transport Methods

Structsยง

Answer
WebRTC connection answer responding to an offer.
ConnectionAuth
Connection authentication data derived from WebRTC signaling.
ConnectionAuthEncrypted
Encrypted connection authentication data.
EncryptedAnswer
Encrypted WebRTC connection response for secure signaling.
EncryptedOffer
Encrypted WebRTC offer for secure signaling.
HttpSignalingInfo
HTTP signaling server connection information.
Offer
WebRTC connection offer containing SDP data and peer information.

Enumsยง

Host
P2pConnectionResponse
Response to a WebRTC connection offer.
RejectionReason
Reasons why a WebRTC connection offer might be rejected.
Signal
Union type for WebRTC signaling messages.
SignalingMethod
WebRTC signaling transport method configuration.
SignalingMethodParseError
Errors that can occur when parsing signaling method strings.