{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/voice-2.0/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["partial"]},"product":"Voice v2 (preview)","type":"markdown"},"seo":{"title":"Voice Stream Control","siteUrl":"https://developers.sinch.com","llmstxt":{"title":"Sinch Developer Documentation","description":"LLMs.txt containing a map of all the documentation files for Sinch.","sections":[{"title":"Numbers API","description":"The Numbers API enables you to search for, view, and activate numbers. It's considered a precursor to other APIs in the Sinch product family. The numbers API can be used in tandem with any of our APIs that perform messaging or calling.","includeFiles":["docs/numbers/**/*.md","docs/numbers/**/*.yaml"],"excludeFiles":["docs/numbers/index.md"]},{"title":"Conversation API","description":"Send and receive messages globally on many popular channels with ease and confidence when using Sinch's Conversation API. Conversation API is the preferred API for sending mobile messages on SMS and other social channels with Sinch. It is a simple API with unified error messages, consistent request payloads, and common webhook payloads that are channel-agnostic.","includeFiles":["docs/conversation/**/*.md","docs/conversation/**/*.yaml"],"excludeFiles":["docs/conversation/index.md"]},{"title":"Voice API","description":"The Voice API works as a big telephony switch. The Voice API handles incoming phone calls (also known as incoming call “legs”), sets up outgoing phone calls (or outgoing call “legs”), and bridges the two. The incoming call leg may come in over a data connection (from a smartphone or web application using the Sinch SDKs) or through a local phone number (from the PSTN network). Similarly, the outgoing call leg can be over data (to another smartphone or web application using the Sinch SDKs) or the PSTN network.","includeFiles":["docs/voice/**/*.md","docs/voice/**/*.yaml"],"excludeFiles":["docs/voice/index.md"]},{"title":"Voice API v2","description":"The Voice API works as a big telephony switch. The Voice API handles incoming phone calls (also known as incoming call “legs”), sets up outgoing phone calls (or outgoing call “legs”), and bridges the two. The incoming call leg may come in over a data connection (from a smartphone or web application using the Sinch SDKs) or through a local phone number (from the PSTN network). Similarly, the outgoing call leg can be over data (to another smartphone or web application using the Sinch SDKs) or the PSTN network.","includeFiles":["docs/voice-2.0/**/*.md","docs/voice-2.0/**/*.yaml"],"excludeFiles":["docs/voice-2.0/index.md"]},{"title":"Verification API","description":"The Verification API is a platform for phone number verification. It consists of the API and different software development kits (the Sinch SDKs) that you integrate with your smartphone or web application and cloud based back-end services. Together they enable SMS, Flashcall, Phone Call and Data verification in your application.","includeFiles":["docs/verification/**/*.md","docs/verification/**/*.yaml"],"excludeFiles":["docs/verification/index.md"]},{"title":"Provisioning API","description":"Provisioning API allows you to programmatically set up your senders, accounts and templates on your favorite messaging platforms on the Conversation API. For now, you can create your first WhatsApp channel through Meta's Embedded sign up, you can configure your first SMS App and configure your webhooks. As development continues, we will be adding the most commonly used channels.","includeFiles":["docs/provisioning-api/**/*.md","docs/provisioning-api/**/*.json"],"excludeFiles":["docs/provisioning-api/index.md"]},{"title":"Elastic SIP Trunking API","description":"With Elastic SIP Trunking you can create and manage your SIP trunks and phone numbers programmatically.","includeFiles":["docs/est/**/*.md","docs/est/**/*.yaml"],"excludeFiles":["docs/est/index.md"]},{"title":"Fax API","description":"Send and receive HIPAA compliant faxes on our modern fax platform using our developer-friendly API.","includeFiles":["docs/fax/**/*.md","docs/fax/**/*.yaml"],"excludeFiles":["docs/fax/index.md"]},{"title":"In-app Voice and Video SDK","description":"The In-app Voice and Video SDK enables you to add voice and video calling capabilities directly into your mobile or web application using the Sinch SDKs.","includeFiles":["docs/in-app-calling/**/*.md"],"excludeFiles":["docs/in-app-calling/index.md"]},{"title":"Number Lookup API","description":"The Number Lookup API is designed to provide in-depth information about phone numbers, helping enterprises enhance their communication strategies and prevent fraud. By identifying the type of phone line (for example, mobile, landline, VoIP) and the associated carrier, the API allows businesses to optimize routing, reduce unnecessary costs, and improve customer engagement.","includeFiles":["docs/number-lookup-api-v2/**/*.md","docs/number-lookup-api-v2/**/*.yaml"],"excludeFiles":["docs/number-lookup-api-v2/index.md"]},{"title":"Functions","description":"Serverless compute for voice and messaging. Deploy your code and Sinch routes live calls and messages to it — no infrastructure to run.","includeFiles":["docs/functions/functions/**/*.md","docs/functions/concepts/**/*.md","docs/functions/reference/**/*.md"],"excludeFiles":["docs/functions/functions/index.md"]},{"title":"CLI","description":"One command line for every Sinch API and the full Functions lifecycle — scaffold, run locally, deploy, and manage.","includeFiles":["docs/functions/cli/**/*.md"],"excludeFiles":["docs/functions/cli/index.md"]}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"voice-stream-control","__idx":0},"children":["Voice Stream Control"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Commands that can be executed on an ongoing stream."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"connection-flow-diagram","__idx":1},"children":["Connection Flow Diagram"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    title Voice Stream WebSocket Flow (Sinch Platform - Customer WebSocket Server)\n    participant SP as Sinch Platform\n    participant CS as Customer WebSocket Server\n\n    Note over SP,CS: WebSocket Connection\n    SP->>CS: WS connect request\n    alt WS accepted\n        CS-->>SP: Accept connection\n    else WS rejected\n        CS--xSP: Non-success response\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n\n    Note over SP,CS: Session Start\n    SP->>CS: ConnectRequest<br/>{command: connect}\n    Note right of CS: First protocol message.<br/>Server decides to accept,<br/>reject, or signal busy.\n\n    alt Accepted\n        CS->>SP: ConnectResponse<br/>{command: answer}\n    else Busy\n        CS->>SP: ConnectResponse<br/>{command: busy}\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    else Rejected\n        CS->>SP: ConnectResponse<br/>{command: reject}\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n\n    Note over SP,CS: Bidirectional Audio Streaming\n    loop While call is active\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Platform to Server Audio\n        SP->>CS: [binary] AudioFrame<br/>(16-bit signed PCM, mono, little-endian)\n        Note right of CS: Recommended: 20ms frames.<br/>8 kHz = 320 bytes/frame,<br/>16 kHz = 640 bytes/frame.\n        end\n\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Server to Platform Audio\n        CS->>SP: [binary] AudioFrame<br/>(16-bit signed PCM, mono, little-endian)\n        Note left of SP: Queued in playback buffer.<br/>Max buffer: 5 MB per call.\n        end\n\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Stream Control (Server to Platform)\n        alt Flush unplayed audio (e.g. interrupt)\n            CS->>SP: StreamControl<br/>{command: clear}\n            Note left of SP: Discards buffered audio<br/>not yet played to caller.\n        else Keep-alive during silence\n            CS->>SP: StreamControl<br/>{command: heartbeat}\n            Note left of SP: Prevents 1-minute<br/>no-audio timeout.\n        end\n        end\n    end\n\n    Note over SP,CS: Call End\n    Note over SP,CS: No reconnection mechanism.<br/>Connection loss = call hung up.\n\n    alt Customer closes connection\n        CS->>SP: WebSocket close\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    else Sinch ends call\n        SP->>CS: WebSocket close\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n","diagramHtml":"<svg id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 986px;\" viewBox=\"-230 -50 986 2695\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 foreignObject {\n      overflow: visible;\n    }\n  </style><rect x=\"40\" y=\"2472\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"2306\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"-159\" y=\"1647\" fill=\"rgb(240, 240, 240)\" width=\"621\" height=\"438\" class=\"rect\"></rect><rect x=\"-170\" y=\"1440\" fill=\"rgb(240, 240, 240)\" width=\"632\" height=\"197\" class=\"rect\"></rect><rect x=\"40\" y=\"1216\" fill=\"rgb(240, 240, 240)\" width=\"656\" height=\"214\" class=\"rect\"></rect><rect x=\"40\" y=\"1036\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"850\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"350\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><g><rect x=\"313\" y=\"2569\" fill=\"#eaeaea\" stroke=\"#666\" width=\"228\" height=\"65\" name=\"CS\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"427\" y=\"2601.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"427\" dy=\"0\">Customer WebSocket Server</tspan></text></g><g><rect x=\"0\" y=\"2569\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"SP\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"2601.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Sinch Platform</tspan></text></g><g><line id=\"actor1\" x1=\"427\" y1=\"65\" x2=\"427\" y2=\"2569\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"CS\" data-et=\"life-line\" data-id=\"CS\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"CS\"><rect x=\"313\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"228\" height=\"65\" name=\"CS\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"427\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"427\" dy=\"0\">Customer WebSocket Server</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"2569\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"SP\" data-et=\"life-line\" data-id=\"SP\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"SP\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"SP\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Sinch Platform</tspan></text></g></g><style>#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .error-icon{fill:#552222;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .error-text{fill:#552222;stroke:#552222;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-thickness-normal{stroke-width:1px;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-thickness-thick{stroke-width:3.5px;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-pattern-solid{stroke-dasharray:0;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .marker{fill:#333333;stroke:#333333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .marker.cross{stroke:#333333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 p{margin:0;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .actor-line{stroke:#9370DB;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .sequenceNumber{fill:white;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .messageText{fill:#333;stroke:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .labelText,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .loopText,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .sectionTitle,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .noteText,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .actorPopupMenu{position:absolute;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .actor-man circle,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 line{fill:#ECECFF;stroke-width:2px;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 .node .neo-node{stroke:#9370DB;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node rect,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].cluster rect,#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"note\" data-id=\"i0\"><rect x=\"50\" y=\"75\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">WebSocket Connection</tspan></text></g><g data-et=\"note\" data-id=\"i7\"><rect x=\"50\" y=\"370\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"375\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i9\"><line x1=\"30\" y1=\"168\" x2=\"472\" y2=\"168\" class=\"loopLine\"></line><line x1=\"472\" y1=\"168\" x2=\"472\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"427\" x2=\"472\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"168\" x2=\"30\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"264\" x2=\"472\" y2=\"264\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,168 80,168 80,181 71.6,188 30,188\" class=\"labelBox\"></polygon><text x=\"55\" y=\"181\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"186\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[WS accepted]</tspan></text><text x=\"251\" y=\"282\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[WS rejected]</text></g><g data-et=\"note\" data-id=\"i10\"><rect x=\"50\" y=\"437\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"442\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Session Start</tspan></text></g><g data-et=\"note\" data-id=\"i12\"><rect x=\"452\" y=\"548\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"228\" height=\"74\" class=\"note\"></rect><text x=\"566\" y=\"553\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">First protocol message.</tspan></text><text x=\"566\" y=\"571\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">Server decides to accept,</tspan></text><text x=\"566\" y=\"589\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">reject, or signal busy.</tspan></text></g><g data-et=\"note\" data-id=\"i18\"><rect x=\"50\" y=\"870\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"875\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"note\" data-id=\"i23\"><rect x=\"50\" y=\"1056\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1061\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i25\"><line x1=\"30\" y1=\"632\" x2=\"472\" y2=\"632\" class=\"loopLine\"></line><line x1=\"472\" y1=\"632\" x2=\"472\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"1113\" x2=\"472\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"632\" x2=\"30\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"746\" x2=\"472\" y2=\"746\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><line x1=\"30\" y1=\"932\" x2=\"472\" y2=\"932\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,632 80,632 80,645 71.6,652 30,652\" class=\"labelBox\"></polygon><text x=\"55\" y=\"645\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"650\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[Accepted]</tspan></text><text x=\"251\" y=\"764\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Busy]</text><text x=\"251\" y=\"950\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Rejected]</text></g><g data-et=\"note\" data-id=\"i26\"><rect x=\"50\" y=\"1123\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"38\" class=\"note\"></rect><text x=\"251\" y=\"1128\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Bidirectional Audio Streaming</tspan></text></g><g data-et=\"note\" data-id=\"i29\"><rect x=\"50\" y=\"1236\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1241\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Platform to Server Audio</tspan></text></g><g data-et=\"note\" data-id=\"i31\"><rect x=\"452\" y=\"1347\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"234\" height=\"73\" class=\"note\"></rect><text x=\"569\" y=\"1352\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">Recommended: 20ms frames.</tspan></text><text x=\"569\" y=\"1369\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">8 kHz = 320 bytes/frame,</tspan></text><text x=\"569\" y=\"1387\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">16 kHz = 640 bytes/frame.</tspan></text></g><g data-et=\"note\" data-id=\"i34\"><rect x=\"50\" y=\"1460\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1465\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Server to Platform Audio</tspan></text></g><g data-et=\"note\" data-id=\"i36\"><rect x=\"-160\" y=\"1571\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"210\" height=\"56\" class=\"note\"></rect><text x=\"-55\" y=\"1576\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-55\">Queued in playback buffer.</tspan></text><text x=\"-55\" y=\"1594\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-55\">Max buffer: 5 MB per call.</tspan></text></g><g data-et=\"note\" data-id=\"i39\"><rect x=\"50\" y=\"1667\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"38\" class=\"note\"></rect><text x=\"251\" y=\"1672\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream Control (Server to Platform)</tspan></text></g><g data-et=\"note\" data-id=\"i42\"><rect x=\"-139\" y=\"1838.5\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"189\" height=\"55\" class=\"note\"></rect><text x=\"-44\" y=\"1844\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-44\">Discards buffered audio</tspan></text><text x=\"-44\" y=\"1861\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-44\">not yet played to caller.</tspan></text></g><g data-et=\"note\" data-id=\"i45\"><rect x=\"-100\" y=\"2011\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"150\" height=\"54\" class=\"note\"></rect><text x=\"-25\" y=\"2016\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-25\">Prevents 1-minute</tspan></text><text x=\"-25\" y=\"2033\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-25\">no-audio timeout.</tspan></text></g><g data-et=\"control-structure\" data-id=\"i46\"><line x1=\"-149\" y1=\"1715\" x2=\"438\" y2=\"1715\" class=\"loopLine\"></line><line x1=\"438\" y1=\"1715\" x2=\"438\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"2075\" x2=\"438\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"1715\" x2=\"-149\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"1908.5\" x2=\"438\" y2=\"1908.5\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"-149,1715 -99,1715 -99,1728 -107.4,1735 -149,1735\" class=\"labelBox\"></polygon><text x=\"-124\" y=\"1728\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"169.5\" y=\"1733\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"169.5\">[Flush unplayed audio (e.g.</tspan></text><text x=\"169.5\" y=\"1751\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"169.5\">interrupt)]</tspan></text><text x=\"144.5\" y=\"1926\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Keep-alive during silence]</text></g><g data-et=\"control-structure\" data-id=\"i48\"><line x1=\"-180\" y1=\"1171\" x2=\"706\" y2=\"1171\" class=\"loopLine\"></line><line x1=\"706\" y1=\"1171\" x2=\"706\" y2=\"2095\" class=\"loopLine\"></line><line x1=\"-180\" y1=\"2095\" x2=\"706\" y2=\"2095\" class=\"loopLine\"></line><line x1=\"-180\" y1=\"1171\" x2=\"-180\" y2=\"2095\" class=\"loopLine\"></line><polygon points=\"-180,1171 -130,1171 -130,1184 -138.4,1191 -180,1191\" class=\"labelBox\"></polygon><text x=\"-155\" y=\"1184\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"288\" y=\"1189\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"288\">[While call is active]</tspan></text></g><g data-et=\"note\" data-id=\"i49\"><rect x=\"50\" y=\"2105\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2110\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Call End</tspan></text></g><g data-et=\"note\" data-id=\"i50\"><rect x=\"50\" y=\"2152\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"55\" class=\"note\"></rect><text x=\"251\" y=\"2157\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">No reconnection mechanism.</tspan></text><text x=\"251\" y=\"2174\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Connection loss = call hung up.</tspan></text></g><g data-et=\"note\" data-id=\"i54\"><rect x=\"50\" y=\"2326\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2331\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"note\" data-id=\"i59\"><rect x=\"50\" y=\"2492\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2497\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i61\"><line x1=\"30\" y1=\"2217\" x2=\"472\" y2=\"2217\" class=\"loopLine\"></line><line x1=\"472\" y1=\"2217\" x2=\"472\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2549\" x2=\"472\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2217\" x2=\"30\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2388\" x2=\"472\" y2=\"2388\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,2217 80,2217 80,2230 71.6,2237 30,2237\" class=\"labelBox\"></polygon><text x=\"55\" y=\"2230\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"2235\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[Customer closes connection]</tspan></text><text x=\"251\" y=\"2406\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Sinch ends call]</text></g><text x=\"250\" y=\"127\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WS connect request</text><line x1=\"76\" y1=\"158\" x2=\"423\" y2=\"158\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"218\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Accept connection</text><line x1=\"426\" y1=\"249\" x2=\"79\" y2=\"249\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"253\" y=\"309\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Non-success response</text><line x1=\"426\" y1=\"340\" x2=\"79\" y2=\"340\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-crosshead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"250\" y=\"489\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectRequest</text><text x=\"250\" y=\"507\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: connect}</text><line x1=\"76\" y1=\"538\" x2=\"423\" y2=\"538\" class=\"messageLine0\" data-et=\"message\" data-id=\"i11\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"682\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"700\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: answer}</text><line x1=\"426\" y1=\"731\" x2=\"79\" y2=\"731\" class=\"messageLine0\" data-et=\"message\" data-id=\"i14\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"791\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"809\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: busy}</text><line x1=\"426\" y1=\"840\" x2=\"79\" y2=\"840\" class=\"messageLine0\" data-et=\"message\" data-id=\"i16\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"977\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"995\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: reject}</text><line x1=\"426\" y1=\"1026\" x2=\"79\" y2=\"1026\" class=\"messageLine0\" data-et=\"message\" data-id=\"i21\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"250\" y=\"1288\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[binary] AudioFrame</text><text x=\"250\" y=\"1306\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(16-bit signed PCM, mono, little-endian)</text><line x1=\"76\" y1=\"1337\" x2=\"423\" y2=\"1337\" class=\"messageLine0\" data-et=\"message\" data-id=\"i30\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[binary] AudioFrame</text><text x=\"253\" y=\"1530\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(16-bit signed PCM, mono, little-endian)</text><line x1=\"426\" y1=\"1561\" x2=\"79\" y2=\"1561\" class=\"messageLine0\" data-et=\"message\" data-id=\"i35\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1781\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">StreamControl</text><text x=\"253\" y=\"1798\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: clear}</text><line x1=\"426\" y1=\"1828.5\" x2=\"79\" y2=\"1828.5\" class=\"messageLine0\" data-et=\"message\" data-id=\"i41\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1954\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">StreamControl</text><text x=\"253\" y=\"1971\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: heartbeat}</text><line x1=\"426\" y1=\"2001\" x2=\"79\" y2=\"2001\" class=\"messageLine0\" data-et=\"message\" data-id=\"i44\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"2267\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WebSocket close</text><line x1=\"426\" y1=\"2296\" x2=\"79\" y2=\"2296\" class=\"messageLine0\" data-et=\"message\" data-id=\"i52\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"250\" y=\"2433\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WebSocket close</text><line x1=\"76\" y1=\"2462\" x2=\"423\" y2=\"2462\" class=\"messageLine0\" data-et=\"message\" data-id=\"i57\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-da3f0960a65cd5603e1d225df6fa8b30ff0adc82f7a269dece96e82e1b6f3c03-arrowhead)\" style=\"fill: none;\"></line><text x=\"343\" y=\"-25\">Voice Stream WebSocket Flow (Sinch Platform - Customer WebSocket Server)</text></svg>","diagramHtmlDark":"<svg id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 986px;\" viewBox=\"-230 -50 986 2695\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 foreignObject {\n      overflow: visible;\n    }\n  </style><rect x=\"40\" y=\"2472\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"2306\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"-159\" y=\"1647\" fill=\"rgb(240, 240, 240)\" width=\"621\" height=\"438\" class=\"rect\"></rect><rect x=\"-170\" y=\"1440\" fill=\"rgb(240, 240, 240)\" width=\"632\" height=\"197\" class=\"rect\"></rect><rect x=\"40\" y=\"1216\" fill=\"rgb(240, 240, 240)\" width=\"656\" height=\"214\" class=\"rect\"></rect><rect x=\"40\" y=\"1036\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"850\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><rect x=\"40\" y=\"350\" fill=\"rgb(255, 204, 204)\" width=\"422\" height=\"67\" class=\"rect\"></rect><g><rect x=\"313\" y=\"2569\" fill=\"#eaeaea\" stroke=\"#666\" width=\"228\" height=\"65\" name=\"CS\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"427\" y=\"2601.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"427\" dy=\"0\">Customer WebSocket Server</tspan></text></g><g><rect x=\"0\" y=\"2569\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"SP\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"2601.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Sinch Platform</tspan></text></g><g><line id=\"actor1\" x1=\"427\" y1=\"65\" x2=\"427\" y2=\"2569\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"CS\" data-et=\"life-line\" data-id=\"CS\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"CS\"><rect x=\"313\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"228\" height=\"65\" name=\"CS\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"427\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"427\" dy=\"0\">Customer WebSocket Server</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"2569\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"SP\" data-et=\"life-line\" data-id=\"SP\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"SP\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"SP\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Sinch Platform</tspan></text></g></g><style>#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .error-icon{fill:#a44141;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .error-text{fill:#ddd;stroke:#ddd;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-thickness-normal{stroke-width:1px;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-thickness-thick{stroke-width:3.5px;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-pattern-solid{stroke-dasharray:0;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .marker.cross{stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 p{margin:0;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .actor-line{stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .sequenceNumber{fill:black;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .messageText{fill:lightgrey;stroke:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .labelText,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .loopText,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .sectionTitle,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .noteText,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .actorPopupMenu{position:absolute;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .actor-man circle,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 line{fill:#1f2020;stroke-width:2px;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 .node .neo-node{stroke:#ccc;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node rect,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].cluster rect,#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node polygon{stroke:url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node path{stroke:url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-gradient);stroke-width:1px;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node circle{stroke:url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"note\" data-id=\"i0\"><rect x=\"50\" y=\"75\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">WebSocket Connection</tspan></text></g><g data-et=\"note\" data-id=\"i7\"><rect x=\"50\" y=\"370\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"375\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i9\"><line x1=\"30\" y1=\"168\" x2=\"472\" y2=\"168\" class=\"loopLine\"></line><line x1=\"472\" y1=\"168\" x2=\"472\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"427\" x2=\"472\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"168\" x2=\"30\" y2=\"427\" class=\"loopLine\"></line><line x1=\"30\" y1=\"264\" x2=\"472\" y2=\"264\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,168 80,168 80,181 71.6,188 30,188\" class=\"labelBox\"></polygon><text x=\"55\" y=\"181\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"186\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[WS accepted]</tspan></text><text x=\"251\" y=\"282\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[WS rejected]</text></g><g data-et=\"note\" data-id=\"i10\"><rect x=\"50\" y=\"437\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"442\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Session Start</tspan></text></g><g data-et=\"note\" data-id=\"i12\"><rect x=\"452\" y=\"548\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"228\" height=\"74\" class=\"note\"></rect><text x=\"566\" y=\"553\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">First protocol message.</tspan></text><text x=\"566\" y=\"571\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">Server decides to accept,</tspan></text><text x=\"566\" y=\"589\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"566\">reject, or signal busy.</tspan></text></g><g data-et=\"note\" data-id=\"i18\"><rect x=\"50\" y=\"870\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"875\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"note\" data-id=\"i23\"><rect x=\"50\" y=\"1056\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1061\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i25\"><line x1=\"30\" y1=\"632\" x2=\"472\" y2=\"632\" class=\"loopLine\"></line><line x1=\"472\" y1=\"632\" x2=\"472\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"1113\" x2=\"472\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"632\" x2=\"30\" y2=\"1113\" class=\"loopLine\"></line><line x1=\"30\" y1=\"746\" x2=\"472\" y2=\"746\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><line x1=\"30\" y1=\"932\" x2=\"472\" y2=\"932\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,632 80,632 80,645 71.6,652 30,652\" class=\"labelBox\"></polygon><text x=\"55\" y=\"645\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"650\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[Accepted]</tspan></text><text x=\"251\" y=\"764\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Busy]</text><text x=\"251\" y=\"950\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Rejected]</text></g><g data-et=\"note\" data-id=\"i26\"><rect x=\"50\" y=\"1123\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"38\" class=\"note\"></rect><text x=\"251\" y=\"1128\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Bidirectional Audio Streaming</tspan></text></g><g data-et=\"note\" data-id=\"i29\"><rect x=\"50\" y=\"1236\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1241\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Platform to Server Audio</tspan></text></g><g data-et=\"note\" data-id=\"i31\"><rect x=\"452\" y=\"1347\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"234\" height=\"73\" class=\"note\"></rect><text x=\"569\" y=\"1352\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">Recommended: 20ms frames.</tspan></text><text x=\"569\" y=\"1369\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">8 kHz = 320 bytes/frame,</tspan></text><text x=\"569\" y=\"1387\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"569\">16 kHz = 640 bytes/frame.</tspan></text></g><g data-et=\"note\" data-id=\"i34\"><rect x=\"50\" y=\"1460\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"1465\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Server to Platform Audio</tspan></text></g><g data-et=\"note\" data-id=\"i36\"><rect x=\"-160\" y=\"1571\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"210\" height=\"56\" class=\"note\"></rect><text x=\"-55\" y=\"1576\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-55\">Queued in playback buffer.</tspan></text><text x=\"-55\" y=\"1594\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-55\">Max buffer: 5 MB per call.</tspan></text></g><g data-et=\"note\" data-id=\"i39\"><rect x=\"50\" y=\"1667\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"38\" class=\"note\"></rect><text x=\"251\" y=\"1672\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream Control (Server to Platform)</tspan></text></g><g data-et=\"note\" data-id=\"i42\"><rect x=\"-139\" y=\"1838.5\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"189\" height=\"55\" class=\"note\"></rect><text x=\"-44\" y=\"1844\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-44\">Discards buffered audio</tspan></text><text x=\"-44\" y=\"1861\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-44\">not yet played to caller.</tspan></text></g><g data-et=\"note\" data-id=\"i45\"><rect x=\"-100\" y=\"2011\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"150\" height=\"54\" class=\"note\"></rect><text x=\"-25\" y=\"2016\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-25\">Prevents 1-minute</tspan></text><text x=\"-25\" y=\"2033\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"-25\">no-audio timeout.</tspan></text></g><g data-et=\"control-structure\" data-id=\"i46\"><line x1=\"-149\" y1=\"1715\" x2=\"438\" y2=\"1715\" class=\"loopLine\"></line><line x1=\"438\" y1=\"1715\" x2=\"438\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"2075\" x2=\"438\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"1715\" x2=\"-149\" y2=\"2075\" class=\"loopLine\"></line><line x1=\"-149\" y1=\"1908.5\" x2=\"438\" y2=\"1908.5\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"-149,1715 -99,1715 -99,1728 -107.4,1735 -149,1735\" class=\"labelBox\"></polygon><text x=\"-124\" y=\"1728\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"169.5\" y=\"1733\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"169.5\">[Flush unplayed audio (e.g.</tspan></text><text x=\"169.5\" y=\"1751\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"169.5\">interrupt)]</tspan></text><text x=\"144.5\" y=\"1926\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Keep-alive during silence]</text></g><g data-et=\"control-structure\" data-id=\"i48\"><line x1=\"-180\" y1=\"1171\" x2=\"706\" y2=\"1171\" class=\"loopLine\"></line><line x1=\"706\" y1=\"1171\" x2=\"706\" y2=\"2095\" class=\"loopLine\"></line><line x1=\"-180\" y1=\"2095\" x2=\"706\" y2=\"2095\" class=\"loopLine\"></line><line x1=\"-180\" y1=\"1171\" x2=\"-180\" y2=\"2095\" class=\"loopLine\"></line><polygon points=\"-180,1171 -130,1171 -130,1184 -138.4,1191 -180,1191\" class=\"labelBox\"></polygon><text x=\"-155\" y=\"1184\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"288\" y=\"1189\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"288\">[While call is active]</tspan></text></g><g data-et=\"note\" data-id=\"i49\"><rect x=\"50\" y=\"2105\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2110\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Call End</tspan></text></g><g data-et=\"note\" data-id=\"i50\"><rect x=\"50\" y=\"2152\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"55\" class=\"note\"></rect><text x=\"251\" y=\"2157\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">No reconnection mechanism.</tspan></text><text x=\"251\" y=\"2174\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Connection loss = call hung up.</tspan></text></g><g data-et=\"note\" data-id=\"i54\"><rect x=\"50\" y=\"2326\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2331\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"note\" data-id=\"i59\"><rect x=\"50\" y=\"2492\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"402\" height=\"37\" class=\"note\"></rect><text x=\"251\" y=\"2497\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"251\">Stream ended</tspan></text></g><g data-et=\"control-structure\" data-id=\"i61\"><line x1=\"30\" y1=\"2217\" x2=\"472\" y2=\"2217\" class=\"loopLine\"></line><line x1=\"472\" y1=\"2217\" x2=\"472\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2549\" x2=\"472\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2217\" x2=\"30\" y2=\"2549\" class=\"loopLine\"></line><line x1=\"30\" y1=\"2388\" x2=\"472\" y2=\"2388\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"30,2217 80,2217 80,2230 71.6,2237 30,2237\" class=\"labelBox\"></polygon><text x=\"55\" y=\"2230\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"276\" y=\"2235\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"276\">[Customer closes connection]</tspan></text><text x=\"251\" y=\"2406\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Sinch ends call]</text></g><text x=\"250\" y=\"127\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WS connect request</text><line x1=\"76\" y1=\"158\" x2=\"423\" y2=\"158\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"218\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Accept connection</text><line x1=\"426\" y1=\"249\" x2=\"79\" y2=\"249\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"253\" y=\"309\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Non-success response</text><line x1=\"426\" y1=\"340\" x2=\"79\" y2=\"340\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-crosshead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"250\" y=\"489\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectRequest</text><text x=\"250\" y=\"507\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: connect}</text><line x1=\"76\" y1=\"538\" x2=\"423\" y2=\"538\" class=\"messageLine0\" data-et=\"message\" data-id=\"i11\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"682\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"700\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: answer}</text><line x1=\"426\" y1=\"731\" x2=\"79\" y2=\"731\" class=\"messageLine0\" data-et=\"message\" data-id=\"i14\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"791\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"809\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: busy}</text><line x1=\"426\" y1=\"840\" x2=\"79\" y2=\"840\" class=\"messageLine0\" data-et=\"message\" data-id=\"i16\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"977\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">ConnectResponse</text><text x=\"253\" y=\"995\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: reject}</text><line x1=\"426\" y1=\"1026\" x2=\"79\" y2=\"1026\" class=\"messageLine0\" data-et=\"message\" data-id=\"i21\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"250\" y=\"1288\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[binary] AudioFrame</text><text x=\"250\" y=\"1306\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(16-bit signed PCM, mono, little-endian)</text><line x1=\"76\" y1=\"1337\" x2=\"423\" y2=\"1337\" class=\"messageLine0\" data-et=\"message\" data-id=\"i30\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1512\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[binary] AudioFrame</text><text x=\"253\" y=\"1530\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(16-bit signed PCM, mono, little-endian)</text><line x1=\"426\" y1=\"1561\" x2=\"79\" y2=\"1561\" class=\"messageLine0\" data-et=\"message\" data-id=\"i35\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1781\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">StreamControl</text><text x=\"253\" y=\"1798\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: clear}</text><line x1=\"426\" y1=\"1828.5\" x2=\"79\" y2=\"1828.5\" class=\"messageLine0\" data-et=\"message\" data-id=\"i41\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"1954\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">StreamControl</text><text x=\"253\" y=\"1971\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">{command: heartbeat}</text><line x1=\"426\" y1=\"2001\" x2=\"79\" y2=\"2001\" class=\"messageLine0\" data-et=\"message\" data-id=\"i44\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"253\" y=\"2267\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WebSocket close</text><line x1=\"426\" y1=\"2296\" x2=\"79\" y2=\"2296\" class=\"messageLine0\" data-et=\"message\" data-id=\"i52\" data-from=\"CS\" data-to=\"SP\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"250\" y=\"2433\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WebSocket close</text><line x1=\"76\" y1=\"2462\" x2=\"423\" y2=\"2462\" class=\"messageLine0\" data-et=\"message\" data-id=\"i57\" data-from=\"SP\" data-to=\"CS\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-47532631e2b2a02196cb3e54afbe83d1e1ae58ba28e0f606c3031502b373e5c0-arrowhead)\" style=\"fill: none;\"></line><text x=\"343\" y=\"-25\">Voice Stream WebSocket Flow (Sinch Platform - Customer WebSocket Server)</text></svg>"},"children":["sequenceDiagram\n    title Voice Stream WebSocket Flow (Sinch Platform - Customer WebSocket Server)\n    participant SP as Sinch Platform\n    participant CS as Customer WebSocket Server\n\n    Note over SP,CS: WebSocket Connection\n    SP->>CS: WS connect request\n    alt WS accepted\n        CS-->>SP: Accept connection\n    else WS rejected\n        CS--xSP: Non-success response\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n\n    Note over SP,CS: Session Start\n    SP->>CS: ConnectRequest<br/>{command: connect}\n    Note right of CS: First protocol message.<br/>Server decides to accept,<br/>reject, or signal busy.\n\n    alt Accepted\n        CS->>SP: ConnectResponse<br/>{command: answer}\n    else Busy\n        CS->>SP: ConnectResponse<br/>{command: busy}\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    else Rejected\n        CS->>SP: ConnectResponse<br/>{command: reject}\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n\n    Note over SP,CS: Bidirectional Audio Streaming\n    loop While call is active\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Platform to Server Audio\n        SP->>CS: [binary] AudioFrame<br/>(16-bit signed PCM, mono, little-endian)\n        Note right of CS: Recommended: 20ms frames.<br/>8 kHz = 320 bytes/frame,<br/>16 kHz = 640 bytes/frame.\n        end\n\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Server to Platform Audio\n        CS->>SP: [binary] AudioFrame<br/>(16-bit signed PCM, mono, little-endian)\n        Note left of SP: Queued in playback buffer.<br/>Max buffer: 5 MB per call.\n        end\n\n        rect rgb(240, 240, 240)\n        Note over SP,CS: Stream Control (Server to Platform)\n        alt Flush unplayed audio (e.g. interrupt)\n            CS->>SP: StreamControl<br/>{command: clear}\n            Note left of SP: Discards buffered audio<br/>not yet played to caller.\n        else Keep-alive during silence\n            CS->>SP: StreamControl<br/>{command: heartbeat}\n            Note left of SP: Prevents 1-minute<br/>no-audio timeout.\n        end\n        end\n    end\n\n    Note over SP,CS: Call End\n    Note over SP,CS: No reconnection mechanism.<br/>Connection loss = call hung up.\n\n    alt Customer closes connection\n        CS->>SP: WebSocket close\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    else Sinch ends call\n        SP->>CS: WebSocket close\n        rect rgb(255, 204, 204)\n        Note over SP,CS: Stream ended\n        end\n    end\n"]}]},"headings":[{"value":"Voice Stream Control","id":"voice-stream-control","depth":2},{"value":"Connection Flow Diagram","id":"connection-flow-diagram","depth":3}],"frontmatter":{"seo":{"title":"Voice Stream Control"}},"lastModified":"2026-08-31T13:48:15.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/voice-2.0/api-reference/x-voice-stream/str_connection_flow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}