texting_supported flag indicates if channel will accept text messages. Images_supported flag indicates channel will accept images. (optional) Set to true to connect in listen-only mode.Ī successful response includes refresh_token which can be used to quickly reconnect if the WebSocket connection is broken due to brief network interruption. The list of names of the channels to connect to. If not provided the client will connect anonymously. If omitted auth_token is required when connecting to consumer Zello. If omitted refresh_token is required when connecting to consumer Zello. To stop the session and disconnect from the channels simply close the connection.Ĭonnecting to multiple channels (up to 100) is currently supported for Zello Work only. This must be the first command the client sends after establishing WebSocket connection. Logon logonĪuthenticates the client and connects to channels. Both server and client maintain their own counters to ensure that unique sequence numbers are used with commands that include a sequence number. This API uses persistent WebSocket connection with JSON-formatted WebSocket text messages for control protocol and WebSocket binary messages for voice data.Įach control request contains a command and an optional sequence number.Ī sequence number is required only if a response is expected. If a client takes longer than 30 seconds to respond with a Pong frame, the API terminates the connection. The WebSocket client must respond to the Ping frame with a Pong frame. The API monitors connectivity by sending a WebSocket Ping frame to the client every 30 seconds. A valid auth token is required for consumer Zello but optional for Zello Work.Supported for both Zello Work and consumer Zello.Have full access to authorized channels.Must include a valid username and password.Can access unrestricted channels in listen only mode.No need to provide username or password.Note that the protocol only supports secure connections over TLS. ![]() To access the API you need to generate a valid access token, based on JWT standard. See Supported features for the complete list. This API supports subset of Zello features and currently focused on sending and receiving channel voice messages. If you want integrate Zello into your iOS or Android app, check out the mobile SDKs instead. This document is intended for developers interested in implementation of their own Zello Channel API client connecting to Zello channels. ![]() ![]() WebSocket based API to connect to Zello channels
0 Comments
Leave a Reply. |