Interface LeaveRequest
Tells the server the client is about to disconnect. After receiving the
response, the client should not expect to receive any other messages or media
RTP.
Signature
declare interface LeaveRequest extends MediaApiRequest
Heritage
Property signatures
Name |
Description |
leave |
Leave field, always empty. |
requestId |
A unique client-generated identifier for this request. Different requests must never have the same request ID in the scope of one data channel. (Inherited from MediaApiRequest ) |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-05 UTC.
[null,null,["Last updated 2025-02-05 UTC."],[[["This documentation details the `LeaveRequest` interface, which is used to signal a client's imminent disconnection."],["`LeaveRequest` extends the `MediaApiRequest` interface."],["The `LeaveRequest` interface includes a `leave` field, which is always empty, and a `requestId` field for a unique identifier."],["The client should cease expecting further messages or media RTP after receiving a response to the `LeaveRequest`."]]],[]]