-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
LiveKit SDK Version
v0.3.4
IDF Version
v5.5
Issue Description
Currently use DTLS connected message to create data channel is a little earlier as data channel not handshake finished yet.
Need use ESP_PEER_STATE_DATA_CHANNEL_CONNECTED instead.
Code as: https://github.com/livekit/client-sdk-esp32/blob/main/components/livekit/core/peer.c#L122
NG log:
I (11636) PEER_DEF: DTLS handshake success
I (11636) PEER_DEF: Sctp role as 0
I (11638) SCTP: Send DCEP _reliable event:3 type:0 si:1
........................need forward mode...............
I (11640) SCTP: Send DCEP _lossy event:3 type:81 si:3
I (11728) SCTP: 0 Receive chunk 1 SCTP_INIT
I (11729) SCTP: 0 state 2
I (11729) SCTP: Support ext 82
I (11729) SCTP: Support ext c0
I (11729) SCTP: Send INIT_ACK chunk
I (11964) SCTP: 0 Receive chunk 10 SCTP_COOKIE_ECHO
I (11964) SCTP: Send ECHO_ACK chunk
I (11965) SCTP: 0 state 5 // Data channel is handshake OK here, reliable channel not open for too earlier
I (12035) livekit_peer.pub: Channel open: label=_lossy, stream_id=3
I (12376) livekit_peer.sub: Querying peer connection status...
Hardware Configuration
ESP32S3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels