You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
A publication can send either media or data, but a QUIC *transport* channel can support multiple stream for both media and data. Setting `media:null` and `data:false` is meaningless, so it should be rejected by server. Protocol itself doesn't forbit to create WebRTC connection for data. However, SCTP data channel is not implemented at server side, so currently `data:true` is only support by QUIC transport channels.
372
375
376
+
```
373
377
object(WebRTCMediaOptions)::
374
378
{
375
379
audio: {
@@ -565,7 +569,7 @@ This a format for client reconnects.
565
569
object(TransportOptions)::
566
570
{
567
571
type: "webrtc" | "quic-p2p",
568
-
id: string(transportId) | null, // null will result to create a new transport channel.
572
+
id: string(transportId) | null, // null will result to create a new transport channel. Always be null if transport type is webrtc because webrtc agent doesn't support multiple transceivers on a single PeerConnection at this time.
569
573
}
570
574
571
575
object(P2PQuicParametersMessage)::
@@ -608,16 +612,9 @@ This a format for client reconnects.
608
612
object(SessionProgress)::
609
613
{
610
614
id: string(SessionId), /* StreamId returned in publishing or SubscriptionId returned in subscribing*/
611
-
status: "soac" | "ready" | "error",
612
-
data: object(RecorderInfo)/*If status equals “ready” and session is for recording*/ )
615
+
status: "ready" | "error"
613
616
}
614
617
615
-
object(RecorderInfo)::
616
-
{
617
-
host: string(HostnameOrIPOfRecorder),
618
-
file: string(FullPathNameOfRecordedFile)
619
-
}
620
-
621
618
# 4. Examples
622
619
623
620
This section provides a few examples of signaling messages for specific purposes.
0 commit comments