# appStateChanged
Description: the notification indicating that the application state was changed.
The parameters related to the state change are also returned.
Example:
{
"embeddedHttpPort": 8766,
"appState": 3,
"desktopSharing": {
"running": true,
"sourceType": 2,
"id": 66910,
"windowName": "WebSocket Test - Opera"
},
"broadcastPicture": {
"running": false
},
"audioCaptureTest": false,
"method" : "event",
"event" : "appStateChanged"
}
Parameter description:
appState
— Application state. It can be as follows:0
— no connection with the server1
— VideoSDK/Room is trying to connect to the server2
— authorization is needed (as a user)3
— VideoSDK/Room is connected to the server and logged in.4
— VideoSDK/Room is waiting: either it is calling someone or it is being called by someone5
— VideoSDK/Room is in a conference6
— VideoSDK/Room is ending a conference
embeddedHttpPort
— Port number used by the built-in HTTP serverdesktopSharing
— Field that contains information about desktop sharingrunning
— the field indicating if content sharing has startedname
— the name of the screen which is being shared. The field is unavailable when content sharing is off.id
— Unique identifier of a window or screen being shared. The field is unavailable when content sharing is offbroadcastPicture
— Field that contains information about a picture being sharedfileName
— Name of the picture being shared. The field is unavailable when picture sharing is off.fileId
— Unique identifier of a file being shared on the built-in HTTP server. The field is unavailable when picture sharing is off.audioCaptureTest
— Field showing whether a microphone test has been started. It can betrue
orfalse
requests
— Field that is available when requests are madeincomingPodiumRequest
— Incoming podium requestsoutgoingPodiumRequest
— Outgoing podium requestsincomingPodiumInvitation
— Incoming podium invitationsoutgoingPodiumInvitation
— Outgoing podium invitationsincomingRecord
— inbound requests for recording video and audio streams from VideoSDK/RoomoutgoingRecord
— outbound requests for recording audio and video streamsincomingJoinToMyConf
— inbound requests for joining the conference created by VideoSDK/RoomoutgoingJoinToMyConf
— outgoing invitations to the conference created by VideoSDK/RoomincomingP2PCall
— Incomingvideo call
outgoingP2PCall
— Outgoingvideo call
incomingGroupConf
— Incoming invitation to a group conferenceoutgoingGroupConf
— Outgoing invitation to a group conferenceincomingPtzControl
- incoming requests for PTZ camera control.outgoingPtzControl
- outgoing requests for controlling a PTZ camerafriendlyName
— the name of the captured screen used for content sharingsourceType
— the type of the captured content. It can be one of the following types:1
— desktop2
— application window
windowName
— the name of the captured application window (used for content sharing)
See also: