What is the cause of error 24 when trying to use VideoPush to playback a recorded video: "FeatureIsDisabled 24 Complete Response"

The following error 24 occurs when trying to playback a recorded video (using the XPMobileSDK library) using XPMobileSDK.interfaces.VideoPushConnection

ERROR returned:

XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}

XPMobileSDK.library.js:2580 Response error FeatureIsDisabled 24 Complete response: <?xml version="1.0" encoding="utf-8"?>189f970c-dea0-4e1f-843e-b8e98a420b2eResponseRequestStreamError24

XPMobileSDK.library.js:1772 stream— ./src/ducks/library/XPMobileSDK.library.js.XPMobileSDK.library.ConnectionRequest {options: {…}, response: ./…K.l…y.js.X…K.l…y.ConnectionResponse, params: {…}, cancel: ƒ}

XPMobileSDK.library.js:2282 Error starting stream for camera undefined

XPMobileSDK.library.js:3115 requestPushStreamFailed

CODE:

/**

* @class VideoPushConnection

* @type {Object}

* @property {Function} open - Opens the video push connection

* @property {Function} close - Closes the video push connection

* @property {Function} send - Sends video frame to server

* @property {Function} destroy - Class destructor

* @property {Function} isOpen - Checks if the connection is open

* @property {Function} getMediaStream - Retrieves a media stream

*/

XPMobileSDK.interfaces.VideoPushConnection = {

/**

* Opens the video push connection

*

* @method open

*/

open: function (successCallback, errorCallback) { },

/**

* Closes the video push connection

*

* @method close

*/

close: function () { },

/**

* Sends video frame to server

*

* @method send

*/

send: function (base64EncodedImage) { },

/**

* Class destructor

*

* @method destroy

*/

destroy: function () { },

/**

* Checks if the connection is open

*

* @method isOpen

*

* @return Boolean - Returns the stream object if the connection is opened

*/

isOpen: function () { return Boolean(); },

/**

* Retrieves a media stream

*

* @method getMediaStream

*/

getMediaStream: function () { return new MediaStream(); }

};

Hello Daniel,

Can you give us some more details what you are trying to do. It will be very helpful if you share with us the request you send to the Mobile server. What I am guessing is that you are trying to do a video push from a device to the Mobile server. In order to do so you need to enable it in the VMS. Here is a link to the details how to enable the video push : https://www.milestonesys.com/globalassets/techcomm/ltsb/provms/english-united-states/index.htm?toc.htm?7289.htm

Teodor, Thank you.

We have Milestone Management Server 2017 R1 at the moment.

This link that you provided was helpful: https://www.milestonesys.com/globalassets/techcomm/ltsb/provms/english-united-states/index.htm?toc.htm?7289.htm

We have on older version (2017 R1), and we apparently are missing some things mentioned in the documentation.