"For developers", "Integration API", "Integration API command description", "Calls", "MCIAPI_CS_MediaCall".
Making a force call of a certain type. The initiator and responder must be online.
{
"cmd" : "001D",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"UINFrom" : 17,
"UINTo" : 94,
"Type" : 1,
"FullScreen" : true
}
Parameter |
Type |
Value |
---|---|---|
cmd |
string |
"001D", number of the command MCIAPI_CS_MediaCall; |
ServerKey |
string |
Integration API key; set in the server's settings; |
APIStype |
string |
integration type. Can be arbitrary string; |
UINFrom |
integer |
UIN of the call initiator; more than a zero; must be online; |
UINTo |
integer |
UIN of a user that receives the call; above zero; must be online; |
Type |
integer |
|
FullScreen |
boolean |
if the call type is video or screen sharing, then it is possible to "force" a recipient to extend the call window to full screen by specifying FullScreen=true. Otherwise, this parameter is ignored. |
{
"cmd" : "001D"
}
Field |
Type |
Value |
---|---|---|
cmd |
string |
HEX numbe rof a command that was successfully executed. |
#37, MCIAPI_Error_UINMustBeGreaterThanZero
#39, MCIAPI_Error_InvalidMediaCallType
#40, MCIAPI_Error_NotEnoughRightsToMakeMediaCall
#41, MCIAPI_Error_NotEnoughRightsToReceiveMediaCall
Перехват попыток медиазвонков скриптовым движком MyChat Server