Use the Realtime Media Streams (RTMS) data type definitions included here as a reference for event signaling and metadata requests and responses.
RTMS_MESSAGE_TYPE
Indicates the type of message in signaling handshake requests and responses, event subscription requests, metadata exchanges, and session status control commands.
enum RTMS_MESSAGE_TYPE
{
UNDEFINED = 0,
SIGNALING_HAND_SHAKE_REQ = 1, // Signaling connection handshake request
SIGNALING_HAND_SHAKE_RESP = 2, // Response to signaling connection handshake request
DATA_HAND_SHAKE_REQ = 3, // Media data connection handshake request
DATA_HAND_SHAKE_RESP = 4, // Response of media data connection handshake request
EVENT_SUBSCRIPTION = 5, // Events to subscribe or unsubscribe to
EVENT_UPDATE = 6, // Specific event occurred
CLIENT_READY_ACK = 7, // Client ready to receive media data
STREAM_STATE_UPDATE = 8, // Stream state changed
SESSION_STATE_UPDATE = 9, // Session state updated, e.g. paused/resumed
SESSION_STATE_REQ = 10, // Request the session state
SESSION_STATE_RESP = 11, // Response of the session state request
KEEP_ALIVE_REQ = 12, // Keep-alive request message
KEEP_ALIVE_RESP = 13, // Keep-alive response message
MEDIA_DATA_AUDIO = 14, // Audio data is being transmitted
MEDIA_DATA_VIDEO = 15, // Video data is being transmitted
MEDIA_DATA_SHARE = 16, // Sharing data is being transmitted
MEDIA_DATA_TRANSCRIPT = 17, // Transcripts are being transmitted
MEDIA_DATA_CHAT = 18, // Chat messages are being transmitted
STREAM_STATE_REQ = 19, // Request the stream state
STREAM_STATE_RESP = 20, // Response to the stream state request
STREAM_CLOSE_REQ = 21, // Close stream request from receiver
STREAM_CLOSE_RESP = 22, // Response of the close stream request
META_DATA_AUDIO = 23, // Audio-related metadata is being transmitted
META_DATA_VIDEO = 24, // Reserved. Video-related metadata is being transmitted
META_DATA_SHARE = 25, // Reserved. Sharing-related metadata is being transmitted
META_DATA_TRANSCRIPT = 26, // Reserved. Transcript-related metadata is being transmitted
META_DATA_CHAT = 27, // Reserved. Chat-related metadata is being transmitted
VIDEO_SUBSCRIPTION_REQ = 28, // Subscribe or unsubscribe from a user's video
VIDEO_SUBSCRIPTION_RESP = 29, // Response of video subscribe/unsubscribe request
REQUEST_ERROR_RESP = 30 // Server response to an invalid request
}
RTMS_EVENT_TYPE
Indicates the type of event captured in the metadata from the signaling connection. This is the legacy V1 enum. For V2, use RTMS_EVENT_CODE. Values are unique only within a service.
enum RTMS_EVENT_TYPE
{
UNDEFINED = 0,
FIRST_PACKET_TIMESTAMP = 1, // Indicates the first packet capture timestamp
ACTIVE_SPEAKER_CHANGE = 2, // Indicates the most recent active speaker
PARTICIPANT_JOIN = 3, // New participant joined this meeting
PARTICIPANT_LEAVE = 4, // Participant is leaving this meeting
SHARING_START = 5, // Sharing has started in the meeting
SHARING_STOP = 6, // Sharing has stopped in the meeting
MEDIA_CONNECTION_INTERRUPTED = 7, // A media type connection was interrupted
PARTICIPANT_VIDEO_ON = 8, // A participant's camera is turned on
PARTICIPANT_VIDEO_OFF = 9, // A participant's camera is turned off
CHAT_GROUP_CREATE = 10, // A new private chat group has been created in the meeting
CHAT_GROUP_DELETE = 11, // One or more private chat groups have been deleted
CHAT_GROUP_MEMBERS_ADD = 12, // One or more members were added to a private chat group
CHAT_GROUP_MEMBERS_DELETE = 13, // One or more members were removed from a private chat group
CHAT_GROUP_MEMBER_STATUS_UPDATE = 14, // The in-meeting status of a private chat group member changed
VIDEO_SUBSCRIPTION_TERMINATED_BY_USER_LEAVE = 15 // Video subscription terminated because the user left
}
RTMS_EVENT_CODE
Indicates the globally unique event identifier for RTMS protocol V2. It replaces the legacy RTMS_EVENT_TYPE and RTMS_ZCC_VOICE_EVENT_TYPE enums. Request V2 in the signaling handshake and use event_code exclusively.
enum RTMS_EVENT_CODE
{
// Universal
FIRST_PACKET_TIMESTAMP = 1, // event_type 1
MEDIA_CONNECTION_INTERRUPTED = 2, // event_type 7
VIDEO_SUBSCRIPTION_TERMINATED_BY_USER_LEAVE = 3, // event_type 15
MEDIA_DATA_USER_INFO = 4,
// Sessions
MEETING_ACTIVE_SPEAKER_CHANGE = 1000, // event_type 2
MEETING_PARTICIPANT_JOIN = 1001, // event_type 3
MEETING_PARTICIPANT_LEAVE = 1002, // event_type 4
MEETING_SHARING_START = 1003, // event_type 5
MEETING_SHARING_STOP = 1004, // event_type 6
MEETING_PARTICIPANT_VIDEO_ON = 1005, // event_type 8
MEETING_PARTICIPANT_VIDEO_OFF = 1006, // event_type 9
MEETING_CHAT_GROUP_CREATE = 1007, // event_type 10
MEETING_CHAT_GROUP_DELETE = 1008, // event_type 11
MEETING_CHAT_GROUP_MEMBERS_ADD = 1009, // event_type 12
MEETING_CHAT_GROUP_MEMBERS_DELETE = 1010, // event_type 13
MEETING_CHAT_GROUP_MEMBER_STATUS_UPDATE = 1011, // event_type 14
// Zoom Contact Center
ZCC_VOICE_CONSUMER_ANSWERED = 2000, // event_type 8
ZCC_VOICE_CONSUMER_END = 2001, // event_type 9
ZCC_VOICE_USER_ANSWERED = 2002, // event_type 10
ZCC_VOICE_USER_END = 2003, // event_type 11
ZCC_VOICE_USER_HOLD = 2004, // event_type 12
ZCC_VOICE_USER_UNHOLD = 2005, // event_type 13
ZCC_VOICE_MONITOR_STARTED = 2006, // event_type 14
ZCC_VOICE_MONITOR_TRANSITIONED = 2007, // event_type 15
ZCC_VOICE_MONITOR_ENDED = 2008, // event_type 16
ZCC_VOICE_TAKEOVER_STARTED = 2009, // event_type 17
ZCC_VOICE_TRANSFER_INITIATED = 2010, // event_type 18
ZCC_VOICE_TRANSFER_CANCELED = 2011, // event_type 19
ZCC_VOICE_TRANSFER_ACCEPTED = 2012, // event_type 20
ZCC_VOICE_TRANSFER_COMPLETED = 2013, // event_type 21
ZCC_VOICE_TRANSFER_REJECTED = 2014, // event_type 22
ZCC_VOICE_TRANSFER_TIMEOUT = 2015, // event_type 23
ZCC_VOICE_CONFERENCE_CANCELED = 2016, // event_type 24
ZCC_VOICE_CONFERENCE_PARTICIPANT_CANCELED = 2017, // event_type 25
ZCC_VOICE_CONFERENCE_PARTICIPANT_INVITED = 2018, // event_type 26
ZCC_VOICE_CONFERENCE_PARTICIPANT_REJECTED = 2019, // event_type 27
ZCC_VOICE_CONFERENCE_PARTICIPANT_TIMEOUT = 2020, // event_type 28
ZCC_VOICE_CONFERENCE_PARTICIPANT_LEFT = 2021, // event_type 29
ZCC_VOICE_FLOW_ENTER = 2022, // event_type 30
ZCC_VOICE_FLOW_EXIT = 2023, // event_type 31
ZCC_VOICE_DTMF_STARTED = 2024, // event_type 32
ZCC_VOICE_DTMF_ENDED = 2025, // event_type 33
ZCC_VOICE_QUEUE_WAITING = 2026, // event_type 34
// Zoom Phone
ZP_CALL_INFO_UPDATED = 3000,
ZP_CALL_HOLD = 3001,
ZP_CALL_RESUME = 3002,
ZP_CALL_TRANSFER_COMPLETED = 3003
}
RTMS_ZCC_VOICE_EVENT_TYPE
Indicates the type of event for Zoom Contact Center voice sessions. This is the legacy V1 enum. For V2, use RTMS_EVENT_CODE. Values are unique only within a service, so 15 here (MONITOR_TRANSITIONED) is a different event from 15 in RTMS_EVENT_TYPE.
enum RTMS_ZCC_VOICE_EVENT_TYPE
{
UNDEFINED = 0,
CONSUMER_ANSWERED = 8, // A consumer answered a call
CONSUMER_END = 9, // A consumer ended a call
USER_ANSWERED = 10, // A user answered a call, e.g. Agent
USER_END = 11, // A user ended a call
USER_HOLD = 12, // A user placed a call on hold
USER_UNHOLD = 13, // A user resumed a call from hold
MONITOR_STARTED = 14,
MONITOR_TRANSITIONED = 15,
MONITOR_ENDED = 16,
TAKEOVER_STARTED = 17,
TRANSFER_INITIATED = 18,
TRANSFER_CANCELED = 19,
TRANSFER_ACCEPTED = 20,
TRANSFER_COMPLETED = 21,
TRANSFER_REJECTED = 22,
TRANSFER_TIMEOUT = 23,
CONFERENCE_CANCELED = 24,
CONFERENCE_PARTICIPANT_CANCELED = 25,
CONFERENCE_PARTICIPANT_INVITED = 26,
CONFERENCE_PARTICIPANT_REJECTED = 27,
CONFERENCE_PARTICIPANT_TIMEOUT = 28,
CONFERENCE_PARTICIPANT_LEFT = 29,
FLOW_ENTER = 30, // IVR flow entered
FLOW_EXIT = 31, // IVR flow ended
DTMF_STARTED = 32, // DTMF started
DTMF_ENDED = 33, // DTMF ended
QUEUE_WAITING = 34, // Queue is currently waiting
}
RTMS_STATUS_CODE
Indicates the status of handshake requests.
enum RTMS_STATUS_CODE
{
STATUS_OK = 0,
STATUS_INVALID_MESSAGE_TYPE = 1,
STATUS_INVALID_RTMS_STREAM_ID = 2,
STATUS_INVALID_SIGNATURE = 3,
STATUS_INVALID_PAYLOAD = 4,
STATUS_INVALID_EVENTS = 5,
STATUS_INVALID_EVENT_TYPE = 6,
STATUS_INVALID_MEDIA_TYPE = 7,
STATUS_DUPLICATE_SIGNAL_REQUEST = 8,
STATUS_MEDIA_TYPE_AUDIO_NOT_SUPPORT = 9,
STATUS_MEDIA_TYPE_VIDEO_NOT_SUPPORT = 10,
STATUS_MEDIA_TYPE_DESKSHARE_NOT_SUPPORT = 11,
STATUS_MEDIA_TYPE_TRANSCRIPT_NOT_SUPPORT = 12,
STATUS_MEDIA_TYPE_CHAT_NOT_SUPPORT = 13,
STATUS_MEDIA_TYPE_INVALID_VALUE = 14,
STATUS_MEDIA_DATA_ALL_CONNECTION_EXIST = 15,
STATUS_DUPLICATE_MEDIA_DATA_CONNECTION = 16,
STATUS_INVALID_MEDIA_PARAMS = 17,
STATUS_INVALID_MEDIA_AUDIO_PARAMS = 18,
STATUS_INVALID_MEDIA_AUDIO_CONTENT_TYPE = 19,
STATUS_INVALID_MEDIA_AUDIO_SAMPLE_RATE = 20,
STATUS_INVALID_MEDIA_AUDIO_CHANNEL = 21,
STATUS_INVALID_MEDIA_AUDIO_CODEC = 22,
STATUS_INVALID_MEDIA_AUDIO_DATA_OPT = 23,
STATUS_INVALID_MEDIA_AUDIO_SEND_RATE = 24,
STATUS_INVALID_MEDIA_VIDEO_PARAMS = 25,
STATUS_INVALID_MEDIA_VIDEO_CONTENT_TYPE = 26,
STATUS_INVALID_MEDIA_VIDEO_CODEC = 27,
STATUS_INVALID_MEDIA_VIDEO_RESOLUTION = 28,
STATUS_INVALID_MEDIA_VIDEO_DATA_OPT = 29,
STATUS_INVALID_MEDIA_VIDEO_FPS = 30,
STATUS_INVALID_MEDIA_DESKSHARE_PARAMS = 31,
STATUS_INVALID_MEDIA_DESKSHARE_CONTENT_TYPE = 32,
STATUS_INVALID_MEDIA_DESKSHARE_CODEC = 33,
STATUS_INVALID_MEDIA_DESKSHARE_RESOLUTION = 34,
STATUS_INVALID_MEDIA_DESKSHARE_FPS = 35,
STATUS_INVALID_MEDIA_TRANSCRIPT_PARAMS = 36,
STATUS_INVALID_MEDIA_TRANSCRIPT_CONTENT_TYPE = 37,
STATUS_INVALID_MEDIA_CHAT_PARAMS = 38,
STATUS_INVALID_MEDIA_CHAT_CONTENT_TYPE = 39,
STATUS_INVALID_RTMS_SESSION_ID = 40,
STATUS_INVALID_CLIENT_READY_ACK = 41,
STATUS_INVALID_EVENT_SUBSCRIBE = 42,
STATUS_INVALID_MEDIA_TRANSCRIPT_SOURCE_LANGUAGE = 43,
STATUS_DUPLICATE_VIDEO_SUBSCRIPTION = 44,
STATUS_INTERNAL_EXCEPTION = 45,
STATUS_INVALID_MEDIA_TRANSCRIPT_TARGET_LANGUAGE = 46,
STATUS_CHAT_SESSION_KEY_NOT_AVAILABLE = 47,
STATUS_MEDIA_DATA_TYPE_ALL_NOT_SUPPORTED = 48, // A V2 data handshake requested aggregate ALL
STATUS_PROTOCOL_V2_REQUIRED = 49, // The multiple individual video path requires V2
STATUS_PROTOBUF_V2_REQUIRED = 50, // A protobuf handshake used a version below V2
STATUS_DATA_HANDSHAKE_REQUIRES_ACTIVE_SIGNAL = 51, // A data handshake was received before its signal connection became active
STATUS_HANDSHAKE_MESSAGE_FORMAT_MISMATCH = 52, // Data handshake format differs from the signal connection format
STATUS_INVALID_VIDEO_SUBSCRIPTION_USER = 53, // The requested video subscription user is invalid or not in the roster
STATUS_INVALID_MEDIA_CONNECTION_ID = 54, // The connection_id is missing, unknown, or invalid for the requested operation
STATUS_VIDEO_SUBSCRIPTION_CAP_EXCEEDED = 55, // The concurrent multiple-video subscription limit has been reached
STATUS_FEATURE_NOT_SUPPORTED = 56, // The server feature is disabled
STATUS_INVALID_EVENT_CODE = 57, // One or more event_code values are invalid
STATUS_MEDIA_PNG_NOT_SUPPORTED_IN_V2 = 58 // PNG video or deskshare isn't supported in protocol V2 or later
}
RTMS_SESSION_STATE
Indicates the current session state during RTMS session updates.
enum RTMS_SESSION_STATE
{
INACTIVE = 0, // Default state
INITIALIZE = 1, // A new session is initializing
STARTED = 2, // A new session is started
PAUSED = 3, // A session is paused
RESUMED = 4, // A session is resumed
STOPPED = 5 // A session is stopped
}
RTMS_STREAM_STATE
Indicates the current state of the RTMS stream.
enum RTMS_STREAM_STATE
{
INACTIVE = 0, // Default state
ACTIVE = 1, // Media data has started to transmit, RTMS -> client
INTERRUPTED = 2, // Signal or data connection encountered a problem
TERMINATING = 3, // Notifying client stream needs to be terminated
TERMINATED = 4, // Stream is terminated
PAUSED = 5, // Stream is paused
RESUMED = 6 // Stream is resumed
}
RTMS_STOP_REASON
Indicates the failure status for handshake requests or the reasons for a session to end.
enum RTMS_STOP_REASON
{
// Default value, means no value
UNDEFINED = 0,
// Stopped when triggered by host, returned on session update message
STOP_BC_HOST_TRIGGERED = 1,
// Stopped when triggered by user, returned on session update message
STOP_BC_USER_TRIGGERED = 2,
// Stopped when app user left meeting, returned on session update message
STOP_BC_USER_LEFT = 3,
// Stopped when app user ejected by meeting host, returned on session update message
STOP_BC_USER_EJECTED = 4,
// Stopped when host disabled app user or entire app in the meeting, returned on session or stream update message
STOP_BC_HOST_DISABLED_APP = 5,
// Stopped when meeting is ended, returned on stream update message
STOP_BC_MEETING_ENDED = 6,
// Stopped when stream canceled by participant request, returned on stream update message
STOP_BC_STREAM_CANCELED = 7,
// Stopped when stream is revoked and assets must be deleted immediately, returned on stream update message
STOP_BC_STREAM_REVOKED = 8,
// Stopped when host disabled all apps in the meeting, returned on stream update message
STOP_BC_ALL_APPS_DISABLED = 9,
// Stopped due to internal exceptions, e.g. post asyncmq message failed, returned on stream update message
STOP_BC_INTERNAL_EXCEPTION = 10,
// Stopped when the connection timed out, returned on stream update message
STOP_BC_CONNECTION_TIMEOUT = 11,
// Stopped when an instance call connection is interrupted, e.g. media sessions, returned on stream update message
STOP_BC_INSTANCE_CONNECTION_INTERRUPTED = 12,
// Stopped when RTMS signaling connection is interrupted, returned on stream update message
STOP_BC_SIGNAL_CONNECTION_INTERRUPTED = 13,
// Stopped when RTMS data connection is interrupted, returned on stream update message
STOP_BC_DATA_CONNECTION_INTERRUPTED = 14,
// Stopped when RTMS signaling connection is closed abnormally by app, returned on stream update message
STOP_BC_SIGNAL_CONNECTION_CLOSED_ABNORMALLY = 15,
// Stopped when RTMS data connection is closed abnormally by app, returned on stream update message
STOP_BC_DATA_CONNECTION_CLOSED_ABNORMALLY = 16,
// Stopped when received exit signal, returned on stream update message
STOP_BC_EXIT_SIGNAL = 17,
// Stopped due to authentication failure
STOP_BC_AUTHENTICATION_FAILURE = 18,
// Stopped when awaiting reconnection timed out, e.g. signal connection interrupted
STOP_BC_AWAIT_RECONNECTION_TIMEOUT = 19,
// Stopped when received stream close request from receiver
STOP_BC_RECEIVER_REQUEST_CLOSE = 20,
// Stopped when triggered by customer, used for Zoom Contact Center Voice
STOP_BC_CUSTOMER_DISCONNECTED = 21,
// Stopped when triggered by agent, used for Zoom Contact Center Voice
STOP_BC_AGENT_DISCONNECTED = 22,
// Stopped when admin disabled app
STOP_BC_ADMIN_DISABLED_APP = 23,
// Stopped when no response for three consecutive keep-alive requests
STOP_BC_KEEP_ALIVE_TIMEOUT = 24,
// Stopped when triggered by API, for Zoom Contact Center Voice
STOP_BC_MANUAL_API_TRIGGERED = 25,
// Stopped when the queue doesn't support streaming, for Zoom Contact Center Voice
STOP_BC_STREAMING_NOT_SUPPORTED = 26,
// Stopped when the IVR flow is stopped, used for Zoom Contact Center Voice
STOP_BC_IVR_STOPPED = 27,
}
After a stream stops, use this table to decide whether your app can start a new request.
| Value | Name | New request allowed | Applies to | Notes |
|---|---|---|---|---|
| 1 | STOP_BC_HOST_TRIGGERED | Yes | All products | The host stopped the stream. |
| 2 | STOP_BC_USER_TRIGGERED | No | All products | The app user stopped the stream. |
| 3 | STOP_BC_USER_LEFT | No | All products | The app user left the meeting. |
| 4 | STOP_BC_USER_EJECTED | No | All products | The host removed the app user, who can't rejoin. |
| 5 | STOP_BC_HOST_DISABLED_APP | No | All products | The host disabled the app. |
| 6 | STOP_BC_MEETING_ENDED | No | All products | The meeting ended. |
| 7 | STOP_BC_STREAM_CANCELED | Yes | All products | A participant canceled the stream. |
| 8 | STOP_BC_STREAM_REVOKED | Yes | All products | Delete all stored assets immediately. |
| 9 | STOP_BC_ALL_APPS_DISABLED | No | All products | The host disabled all apps. |
| 10 | STOP_BC_INTERNAL_EXCEPTION | Yes | All products | An internal error occurred. |
| 11 | STOP_BC_CONNECTION_TIMEOUT | Yes | All products | The connection timed out. |
| 12 | STOP_BC_INSTANCE_CONNECTION_INTERRUPTED | Yes | All products | The instance connection was interrupted. |
| 13 | STOP_BC_SIGNAL_CONNECTION_INTERRUPTED | Yes | All products | The signaling connection was interrupted. |
| 14 | STOP_BC_DATA_CONNECTION_INTERRUPTED | Yes | All products | The data connection was interrupted. |
| 15 | STOP_BC_SIGNAL_CONNECTION_CLOSED_ABNORMALLY | Yes | All products | The app closed the signaling connection abnormally. |
| 16 | STOP_BC_DATA_CONNECTION_CLOSED_ABNORMALLY | Yes | All products | The app closed the data connection abnormally. |
| 17 | STOP_BC_EXIT_SIGNAL | Yes | All products | An exit signal was received. |
| 18 | STOP_BC_AUTHENTICATION_FAILURE | Yes | All products | Resolve the credential issue before you retry. |
| 19 | STOP_BC_AWAIT_RECONNECTION_TIMEOUT | Yes | All products | The reconnection window expired. |
| 20 | STOP_BC_RECEIVER_REQUEST_CLOSE | No | All products | Your app requested the stream close. |
| 21 | STOP_BC_CUSTOMER_DISCONNECTED | No | Contact Center voice | The customer disconnected from the call. |
| 22 | STOP_BC_AGENT_DISCONNECTED | No | Contact Center voice | The agent disconnected from the call. |
| 23 | STOP_BC_ADMIN_DISABLED_APP | No | Contact Center voice | An admin disabled the app. |
| 24 | STOP_BC_KEEP_ALIVE_TIMEOUT | Yes | All products | Three consecutive keep-alive requests timed out. |
| 25 | STOP_BC_MANUAL_API_TRIGGERED | No | All products | Your app closed the stream with an API request. |
| 26 | STOP_BC_STREAMING_NOT_SUPPORTED | No | Contact Center voice | The queue doesn't support streaming. |
| 27 | STOP_BC_IVR_STOPPED | No | Contact Center voice | The IVR flow stopped. |
Reconnection and recovery:
- For
stop_reasonvalues 10-19 and 24 (connection interruptions and timeouts), see Failover and reconnection for detailed recovery procedures: - For other errors and troubleshooting, see Troubleshooting RTMS
MEDIA_CONTENT_TYPE
Indicates the media formats in handshake requests and responses.
enum MEDIA_CONTENT_TYPE
{
UNDEFINED = 0,
RTP = 1, // Real-time audio and video
RAW_AUDIO = 2, // Real-time audio
RAW_VIDEO = 3, // Real-time video
FILE_STREAM = 4, // File stream
TEXT = 5 // Media data is text based, such as Chat and Transcripts
}
MEDIA_DATA_TYPE
Indicates the media data formats in handshake requests and responses.
enum MEDIA_DATA_TYPE
{
UNDEFINED = 0,
AUDIO = 0x01, // 1
VIDEO = 0x01 << 1, // 2
DESKSHARE = 0x01 << 2, // 4
TRANSCRIPT = 0x01 << 3, // 8
CHAT = 0x01 << 4, // 16
ALL = 0x01 << 5, // 32
}
MEDIA_DATA_OPTION
Indicates the media parameters for the audio and video media connections in handshake requests and responses.
enum MEDIA_DATA_OPTION
{
UNDEFINED = 0,
// Data will be a mixed audio stream, only one data packet message will be sent out within a specific transmission interval
AUDIO_MIXED_STREAM = 1,
// Data will be multiple user audio streams, one or multiple data packet message(s) will be sent out within a specific transmission interval
AUDIO_MULTI_STREAMS = 2,
// Data will be single video stream of present active speaker, no subscription needed
VIDEO_SINGLE_ACTIVE_STREAM = 3,
// Data will be single video stream of a specified individual, manual subscription is required and allows subscription to only one individual at a time
VIDEO_SINGLE_INDIVIDUAL_STREAM = 4,
}
MEDIA_PAYLOAD_TYPE
Indicates the media payload formats in handshake requests and responses.
enum MEDIA_PAYLOAD_TYPE
{
UNDEFINED = 0,
L16 = 1, // Audio, uncompressed raw data
G711 = 2, // Audio,
G722 = 3, // Audio,
OPUS = 4, // Audio,
JPG = 5, // Video and Sharing, when fps <= 5
PNG = 6, // Video and Sharing, when fps <= 5
H264 = 7 // Video and Sharing, when fps > 5
}
MEDIA_RESOLUTION
Indicates the media resolution for the audio, video, and screenshare media connections in handshake requests and responses.
enum MEDIA_RESOLUTION
{
SD = 1, // 360p, 640x360
HD = 2, // 720p, 1280 x 720
FHD = 3, // 1080p, 1920 x 1080
QHD = 4 // 2K, 2560 x 1440
}
AUDIO_SAMPLE_RATE
Indicates the audio sample rate for the audio object in handshake requests and responses.
enum AUDIO_SAMPLE_RATE
{
SR_8K = 0,
SR_16K = 1,
SR_32K = 2,
SR_48K = 3
}
AUDIO_CHANNEL
Indicates the audio channel configuration for the audio object in handshake requests and responses.
enum AUDIO_CHANNEL
{
UNDEFINED = 0,
MONO = 1,
STEREO = 2
}
AUDIO_DATA_SOURCE
Indicates the source of the audio in MEDIA_DATA_AUDIO messages. Use it to tell screen-share audio apart from microphone input.
enum AUDIO_DATA_SOURCE
{
UNSPECIFIED = 0,
MICROPHONE = 1,
SHARED_CONTENT = 2
}
TRANSMISSION_PROTOCOL
Indicates the transmission protocol in handshake requests and responses.
enum TRANSMISSION_PROTOCOL
{
UNSPECIFIED = 0,
WEBSOCKET = 1,
RTMP = 2,
UDP = 3,
WEBRTC = 4,
SRT = 5
}
RTMS_MESSAGE_FORMAT
Indicates the encoding of messages on a connection. Signaling and data connections must use the same format. Protobuf requires protocol V2. For more information, see Protobuf definitions.
enum RTMS_MESSAGE_FORMAT
{
UNSPECIFIED = 0,
JSON = 1,
PROTOBUF = 2
}
RTMS_MEDIA_KEY_WRAP_ALGORITHM
Indicates the algorithm used to wrap the payload key with the client's public key. Used in the payload_encryptions field of the signaling handshake.
enum RTMS_MEDIA_KEY_WRAP_ALGORITHM
{
UNSPECIFIED = 0,
// DHKEM over NIST P-256.
DHKEM_P256_HKDF_SHA256 = 1,
// DHKEM over NIST P-384.
DHKEM_P384_HKDF_SHA384 = 2,
// DHKEM over NIST P-521.
DHKEM_P521_HKDF_SHA512 = 3,
// RSA OAEP with SHA-256. The public key must be 2048, 3072, or 4096 bits.
RSA_OAEP_SHA256 = 10,
// RSA OAEP with SHA-384. The public key must be 2048, 3072, or 4096 bits.
RSA_OAEP_SHA384 = 11,
// RSA OAEP with SHA-512. The public key must be 2048, 3072, or 4096 bits.
RSA_OAEP_SHA512 = 12
}
RTMS_MEDIA_PAYLOAD_ENCRYPTION_ALGORITHM
Indicates the algorithm used to encrypt the payload. Used in the payload_encryptions field of the signaling handshake.
enum RTMS_MEDIA_PAYLOAD_ENCRYPTION_ALGORITHM
{
UNSPECIFIED = 0,
AES_256_GCM = 1,
CHACHA20_POLY1305 = 2
}
RTMS_MEDIA_PAYLOAD_KEY_MODE
Indicates how the payload key is provided. Used in the media_payload_key_mode field of the signaling handshake.
enum RTMS_MEDIA_PAYLOAD_KEY_MODE
{
UNSPECIFIED = 0,
// A separate key is derived for each media type.
PER_MEDIA_DERIVED = 1,
// The master key is used directly.
MASTER_KEY_DIRECT = 2
}
RTMS_MEDIA_KEY_DERIVATION_ALGORITHM
Indicates the algorithm used to derive per-media keys when the key mode is PER_MEDIA_DERIVED.
enum RTMS_MEDIA_KEY_DERIVATION_ALGORITHM
{
UNSPECIFIED = 0,
HKDF_SHA256 = 1
}
RTMS_MEDIA_ENCRYPTION_KEY_SOURCE
Indicates where the encryption key comes from.
enum RTMS_MEDIA_ENCRYPTION_KEY_SOURCE
{
UNSPECIFIED = 0,
SERVER_GENERATED = 1,
// Reserved. Not currently supported.
CUSTOMER_KMS = 2
}
RTMS_DATA_MESSAGE_ATTRIBUTE
Indicates the attribute of a data message, used to signal whether the data is new, an update, or a deletion.
enum RTMS_DATA_MESSAGE_ATTRIBUTE
{
ATTR_NONE = 0,
ATTR_NEW = 1,
ATTR_UPDATE = 2,
ATTR_DELETE = 3,
}
RTMS_TRANSCRIPT_LANGUAGE
Indicates the language of the transcript in handshake requests and responses.
enum RTMS_TRANSCRIPT_LANGUAGE
{
LANGUAGE_ID_NONE = -1,
LANGUAGE_ID_ARABIC = 0,
LANGUAGE_ID_BENGALI = 1,
LANGUAGE_ID_CANTONESE = 2,
LANGUAGE_ID_CATALAN = 3,
LANGUAGE_ID_CHINESE_SIMPLIFIED = 4,
LANGUAGE_ID_CHINESE_TRADITIONAL = 5,
LANGUAGE_ID_CZECH = 6,
LANGUAGE_ID_DANISH = 7,
LANGUAGE_ID_DUTCH = 8,
LANGUAGE_ID_ENGLISH = 9,
LANGUAGE_ID_ESTONIAN = 10,
LANGUAGE_ID_FINNISH = 11,
LANGUAGE_ID_FRENCH_CANADA = 12,
LANGUAGE_ID_FRENCH_FRANCE = 13,
LANGUAGE_ID_GERMAN = 14,
LANGUAGE_ID_HEBREW = 15,
LANGUAGE_ID_HINDI = 16,
LANGUAGE_ID_HUNGARIAN = 17,
LANGUAGE_ID_INDONESIAN = 18,
LANGUAGE_ID_ITALIAN = 19,
LANGUAGE_ID_JAPANESE = 20,
LANGUAGE_ID_KOREAN = 21,
LANGUAGE_ID_MALAY = 22,
LANGUAGE_ID_PERSIAN = 23,
LANGUAGE_ID_POLISH = 24,
LANGUAGE_ID_PORTUGUESE = 25,
LANGUAGE_ID_ROMANIAN = 26,
LANGUAGE_ID_RUSSIAN = 27,
LANGUAGE_ID_SPANISH = 28,
LANGUAGE_ID_SWEDISH = 29,
LANGUAGE_ID_TAGALOG = 30,
LANGUAGE_ID_TAMIL = 31,
LANGUAGE_ID_TELUGU = 32,
LANGUAGE_ID_THAI = 33,
LANGUAGE_ID_TURKISH = 34,
LANGUAGE_ID_UKRAINIAN = 35,
LANGUAGE_ID_VIETNAMESE = 36
}
RTMS_CHAT_SESSION_TYPE
Indicates the type of chat session that a chat message belongs to.
enum RTMS_CHAT_SESSION_TYPE
{
UNDEFINED = 0,
EVERYONE = 1, // Message sent to everyone in the session
INDIVIDUAL = 2, // Direct message between two participants
CHAT_GROUP = 3, // Message sent to a private chat group
HOSTS_AND_PANELISTS = 4, // Message sent to hosts and panelists
INDIVIDUAL_CC_HOSTS_AND_PANELISTS = 5 // Direct message copied to hosts and panelists
}
RTMS_CHAT_OPERATION_TYPE
Indicates the operation that produced a chat message.
enum RTMS_CHAT_OPERATION_TYPE
{
UNDEFINED = 0,
NEW = 1, // A new message was sent
DELETE = 2, // A message was deleted
UPDATE = 3, // A message was edited
ADD_EMOJI_REACTION = 4, // An emoji reaction was added to a message
REMOVE_EMOJI_REACTION = 5 // An emoji reaction was removed from a message
}
RTMS_CHAT_GROUP_TYPE
Indicates the type of private chat group.
enum RTMS_CHAT_GROUP_TYPE
{
PRIVATE_CHAT_GROUP = 0
}
RTMS_CHAT_GROUP_MEMBER_STATUS
Indicates the in-meeting status of a private chat group member.
enum RTMS_CHAT_GROUP_MEMBER_STATUS
{
IN_CHAT_GROUP = 0, // Member is in the chat group
IN_BREAKOUT_ROOM = 1, // Member is in a breakout room
IN_WAITING_ROOM = 2, // Member is in the waiting room
IN_BACKSTAGE = 3, // Member is in the backstage
LEFT_MEETING = 4 // Member has left the meeting
}