How to change to another video stream using XPMobileSDK.js

Hi I am currently developing a web app using XPMobileSDK to display video streams from Mobile Server. How do I change an existing video stream from a camera to another video stream from another camera. I observed that the API ChangeStream does seem to be the one to do this, so which API should I use instead?

Thanks

Hi, Eng,

Mobile Server does not support switching sources on the fly for an opened stream. In order to switch the camera source you will need to make a new “RequestStream” command with the new cameraId to the Mobile Server.

/Svetlana