Methods
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
dataCollectionDefaultConstantToObject(def)
Given a data collection from library (data collection definition) check if some field is configured as autofill from constant. In that case, will return only these values. All the other possible fields will be ignored.
Parameters:
Name | Type | Description |
---|---|---|
def |
Data collection definition from database |
Returns:
only value in variables configured as constant
Type Definitions
ContactData
See the corresponding JSON Schema for further information.
DataCollection
Properties:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
string | Name of the form |
||||||||||||||||||||||||
desc |
string | Human-readable name of the form |
||||||||||||||||||||||||
data |
Array.<object> | List of fields of the form Properties
|
This type describes the format to attach user-defined data to a Vivocha contact. The data collection is a list of data forms, which are sets of fields, with their values and associated metadata. See the corresponding JSON Schema for further information.
Type:
- Array.<object>
VisitData
See the corresponding JSON Schema for further information.
MediaStateDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
boolean | The media is being transmitted to the remote. |
|
rx |
boolean | The media is being accepted from the remote. |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
data |
object |
<optional> |
Opaque state info used by the media engine. |
MediaState
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Sharing |
MediaStateDetails | Sharing state, the state of the media used to communicate at a protocol level with the remote party, to enable features like co-browsing, form-sharing, page pushing and in general all forms of RPC |
|
Chat |
MediaStateDetails |
<optional> |
Chat state |
Voice |
MediaStateDetails |
<optional> |
Audio state |
Video |
MediaStateDetails |
<optional> |
Video state |
Screen |
MediaStateDetails |
<optional> |
Screen sharing state |
Each property of a MediaState object represents the state of corresponding media. This type is used to both represent
the current state of the media in a contact and to described a desired media transition. NOTE: tx
and rx
are
always relative to who's reading the message (the library takes care of swapping them when transmitting the data)
Example
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC",
"data": {
"tx_stream": {
"id": "oR9TTCaHtKz8C9Dn9ITUJ1KQcqFBDpLwbkqg",
"url": "blob:https%3A//beta.vivocha.com/e021fa15-23ab-41de-9f09-8e5f661dc690"
},
"rx_stream": {
"id": "Jkg2lX8Mw3WW1VUqRZMJmDDkwYEi6Olqky2d",
"url": "blob:https%3A//beta.vivocha.com/87be3964-1391-4afb-ad6a-fc42abbd8618"
}
}
},
"Screen": {
"rx": false,
"engine": "WebRTC"
}
}
MediaOfferDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
string | The transmission offer: can be |
|
rx |
string | The reception offer: can be |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
MediaOffer
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Chat |
MediaOfferDetails |
<optional> |
Chat offer |
Voice |
MediaOfferDetails |
<optional> |
Audio offer |
Video |
MediaOfferDetails |
<optional> |
Video offer |
Screen |
MediaOfferDetails |
<optional> |
Screen sharing offer |
This type describes the message that a party sends to its communication peer when it wants to enable or disable
one or more media channels. Each media that is not mentioned in the offer will be treated as having an off
offer.
The response to a MediaOffer must be a MediaState describing. NOTE: tx
and rx
are always relative to who's
reading the message (the library takes care of swapping them when transmitting the data)
Examples
{
"Sharing": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": "optional",
"rx": "required",
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": true,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": false,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
MediaStateDiffDetails
Properties:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
media |
object | The engine affected by the change, for each media that changed state. Properties
|
||||||
engine |
object | The list of media affected by the change, for each media that changed state. Properties
|
MediaStateDiff
Properties:
Name | Type | Description |
---|---|---|
added |
MediaStateDiffDetails | Info about media that was added (turned on) to the contact |
removed |
MediaStateDiffDetails | Info about media that was removed (turned off) from the contact |
changed |
MediaStateDiffDetails | Info about media that was already present and changed state (usually when
the |
Describes the difference between two media state, usually the state before and after a state transition.
Examples
{
"added": {
"media": {
"Voice": "WebRTC"
},
"engine": {
"WebRTC": [
"Voice"
]
}
},
"removed": {
"media": {
},
"engine": {
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
{
"added": {
"media": {
},
"engine": {
}
},
"removed": {
"media": {
"Sharing": "Native",
"Chat": "Native"
},
"engine": {
"Native": [
"Sharing",
"Chat"
]
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
MediaCapabilities
Properties:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Media |
object | Media capabilities Properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mobile |
boolean | The device using by the party is mobile |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CoBrowsing |
boolean |
<optional> |
Co-browsing supported |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
WebRTC |
object |
<optional> |
WebRTC capabilities Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MediaAvailability |
object |
<optional> |
Current availability or willingness to use different media types Properties
|
The MediaCapabilities describe which features a participant in a contact is able or willing to use. Additional custom capabilities can be freely added by third-party integration. The following list is therefore non-exhaustive and only describes builtin capapabilities.
ContactData
See the corresponding JSON Schema for further information.
DataCollection
Properties:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
string | Name of the form |
||||||||||||||||||||||||
desc |
string | Human-readable name of the form |
||||||||||||||||||||||||
data |
Array.<object> | List of fields of the form Properties
|
This type describes the format to attach user-defined data to a Vivocha contact. The data collection is a list of data forms, which are sets of fields, with their values and associated metadata. See the corresponding JSON Schema for further information.
Type:
- Array.<object>
VisitData
See the corresponding JSON Schema for further information.
MediaStateDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
boolean | The media is being transmitted to the remote. |
|
rx |
boolean | The media is being accepted from the remote. |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
data |
object |
<optional> |
Opaque state info used by the media engine. |
MediaState
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Sharing |
MediaStateDetails | Sharing state, the state of the media used to communicate at a protocol level with the remote party, to enable features like co-browsing, form-sharing, page pushing and in general all forms of RPC |
|
Chat |
MediaStateDetails |
<optional> |
Chat state |
Voice |
MediaStateDetails |
<optional> |
Audio state |
Video |
MediaStateDetails |
<optional> |
Video state |
Screen |
MediaStateDetails |
<optional> |
Screen sharing state |
Each property of a MediaState object represents the state of corresponding media. This type is used to both represent
the current state of the media in a contact and to described a desired media transition. NOTE: tx
and rx
are
always relative to who's reading the message (the library takes care of swapping them when transmitting the data)
Example
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC",
"data": {
"tx_stream": {
"id": "oR9TTCaHtKz8C9Dn9ITUJ1KQcqFBDpLwbkqg",
"url": "blob:https%3A//beta.vivocha.com/e021fa15-23ab-41de-9f09-8e5f661dc690"
},
"rx_stream": {
"id": "Jkg2lX8Mw3WW1VUqRZMJmDDkwYEi6Olqky2d",
"url": "blob:https%3A//beta.vivocha.com/87be3964-1391-4afb-ad6a-fc42abbd8618"
}
}
},
"Screen": {
"rx": false,
"engine": "WebRTC"
}
}
MediaOfferDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
string | The transmission offer: can be |
|
rx |
string | The reception offer: can be |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
MediaOffer
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Chat |
MediaOfferDetails |
<optional> |
Chat offer |
Voice |
MediaOfferDetails |
<optional> |
Audio offer |
Video |
MediaOfferDetails |
<optional> |
Video offer |
Screen |
MediaOfferDetails |
<optional> |
Screen sharing offer |
This type describes the message that a party sends to its communication peer when it wants to enable or disable
one or more media channels. Each media that is not mentioned in the offer will be treated as having an off
offer.
The response to a MediaOffer must be a MediaState describing. NOTE: tx
and rx
are always relative to who's
reading the message (the library takes care of swapping them when transmitting the data)
Examples
{
"Sharing": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": "optional",
"rx": "required",
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": true,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": false,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
MediaStateDiffDetails
Properties:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
media |
object | The engine affected by the change, for each media that changed state. Properties
|
||||||
engine |
object | The list of media affected by the change, for each media that changed state. Properties
|
MediaStateDiff
Properties:
Name | Type | Description |
---|---|---|
added |
MediaStateDiffDetails | Info about media that was added (turned on) to the contact |
removed |
MediaStateDiffDetails | Info about media that was removed (turned off) from the contact |
changed |
MediaStateDiffDetails | Info about media that was already present and changed state (usually when
the |
Describes the difference between two media state, usually the state before and after a state transition.
Examples
{
"added": {
"media": {
"Voice": "WebRTC"
},
"engine": {
"WebRTC": [
"Voice"
]
}
},
"removed": {
"media": {
},
"engine": {
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
{
"added": {
"media": {
},
"engine": {
}
},
"removed": {
"media": {
"Sharing": "Native",
"Chat": "Native"
},
"engine": {
"Native": [
"Sharing",
"Chat"
]
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
MediaCapabilities
Properties:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Media |
object | Media capabilities Properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mobile |
boolean | The device using by the party is mobile |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CoBrowsing |
boolean |
<optional> |
Co-browsing supported |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
WebRTC |
object |
<optional> |
WebRTC capabilities Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MediaAvailability |
object |
<optional> |
Current availability or willingness to use different media types Properties
|
The MediaCapabilities describe which features a participant in a contact is able or willing to use. Additional custom capabilities can be freely added by third-party integration. The following list is therefore non-exhaustive and only describes builtin capapabilities.
ContactData
See the corresponding JSON Schema for further information.
DataCollection
Properties:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
string | Name of the form |
||||||||||||||||||||||||
desc |
string | Human-readable name of the form |
||||||||||||||||||||||||
data |
Array.<object> | List of fields of the form Properties
|
This type describes the format to attach user-defined data to a Vivocha contact. The data collection is a list of data forms, which are sets of fields, with their values and associated metadata. See the corresponding JSON Schema for further information.
Type:
- Array.<object>
VisitData
See the corresponding JSON Schema for further information.
MediaStateDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
boolean | The media is being transmitted to the remote. |
|
rx |
boolean | The media is being accepted from the remote. |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
data |
object |
<optional> |
Opaque state info used by the media engine. |
MediaState
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Sharing |
MediaStateDetails | Sharing state, the state of the media used to communicate at a protocol level with the remote party, to enable features like co-browsing, form-sharing, page pushing and in general all forms of RPC |
|
Chat |
MediaStateDetails |
<optional> |
Chat state |
Voice |
MediaStateDetails |
<optional> |
Audio state |
Video |
MediaStateDetails |
<optional> |
Video state |
Screen |
MediaStateDetails |
<optional> |
Screen sharing state |
Each property of a MediaState object represents the state of corresponding media. This type is used to both represent
the current state of the media in a contact and to described a desired media transition. NOTE: tx
and rx
are
always relative to who's reading the message (the library takes care of swapping them when transmitting the data)
Example
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC",
"data": {
"tx_stream": {
"id": "oR9TTCaHtKz8C9Dn9ITUJ1KQcqFBDpLwbkqg",
"url": "blob:https%3A//beta.vivocha.com/e021fa15-23ab-41de-9f09-8e5f661dc690"
},
"rx_stream": {
"id": "Jkg2lX8Mw3WW1VUqRZMJmDDkwYEi6Olqky2d",
"url": "blob:https%3A//beta.vivocha.com/87be3964-1391-4afb-ad6a-fc42abbd8618"
}
}
},
"Screen": {
"rx": false,
"engine": "WebRTC"
}
}
MediaOfferDetails
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tx |
string | The transmission offer: can be |
|
rx |
string | The reception offer: can be |
|
via |
string |
<optional> |
The network or communication method used to transmit the media. Built-in engines currently set
this property to either |
engine |
string |
<optional> |
The identifier of the engine handling the media. The property is mandatory if at
least one of |
MediaOffer
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Chat |
MediaOfferDetails |
<optional> |
Chat offer |
Voice |
MediaOfferDetails |
<optional> |
Audio offer |
Video |
MediaOfferDetails |
<optional> |
Video offer |
Screen |
MediaOfferDetails |
<optional> |
Screen sharing offer |
This type describes the message that a party sends to its communication peer when it wants to enable or disable
one or more media channels. Each media that is not mentioned in the offer will be treated as having an off
offer.
The response to a MediaOffer must be a MediaState describing. NOTE: tx
and rx
are always relative to who's
reading the message (the library takes care of swapping them when transmitting the data)
Examples
{
"Sharing": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": "required",
"rx": "required",
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": "optional",
"rx": "required",
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": true,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
{
"Sharing": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Chat": {
"tx": true,
"rx": true,
"via": "net",
"engine": "Native"
},
"Voice": {
"tx": true,
"rx": true,
"via": "net",
"engine": "WebRTC"
},
"Video": {
"tx": false,
"rx": false,
"via": "net",
"engine": "WebRTC"
}
}
MediaStateDiffDetails
Properties:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
media |
object | The engine affected by the change, for each media that changed state. Properties
|
||||||
engine |
object | The list of media affected by the change, for each media that changed state. Properties
|
MediaStateDiff
Properties:
Name | Type | Description |
---|---|---|
added |
MediaStateDiffDetails | Info about media that was added (turned on) to the contact |
removed |
MediaStateDiffDetails | Info about media that was removed (turned off) from the contact |
changed |
MediaStateDiffDetails | Info about media that was already present and changed state (usually when
the |
Describes the difference between two media state, usually the state before and after a state transition.
Examples
{
"added": {
"media": {
"Voice": "WebRTC"
},
"engine": {
"WebRTC": [
"Voice"
]
}
},
"removed": {
"media": {
},
"engine": {
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
{
"added": {
"media": {
},
"engine": {
}
},
"removed": {
"media": {
"Sharing": "Native",
"Chat": "Native"
},
"engine": {
"Native": [
"Sharing",
"Chat"
]
}
},
"changed": {
"media": {
},
"engine": {
}
}
}
MediaCapabilities
Properties:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Media |
object | Media capabilities Properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mobile |
boolean | The device using by the party is mobile |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CoBrowsing |
boolean |
<optional> |
Co-browsing supported |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
WebRTC |
object |
<optional> |
WebRTC capabilities Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MediaAvailability |
object |
<optional> |
Current availability or willingness to use different media types Properties
|
The MediaCapabilities describe which features a participant in a contact is able or willing to use. Additional custom capabilities can be freely added by third-party integration. The following list is therefore non-exhaustive and only describes builtin capapabilities.