create Send Transport
Creates a WebRTC send transport for media transmission.
This function initiates a WebRTC send transport with a server for sending media streams. It performs the following actions:
Emits a
createWebRtcTransportevent to the server to request transport creationSets up transport event handlers for connecting, producing, and monitoring state
Provides basic transport management functionality
Features:
Creates both local and remote WebRTC transports
Handles DTLS connection establishment
Manages media production events
Monitors connection state changes
Parameters:
options Configuration options for transport creation