0
Beantwoord

video intercom

Damian Hartin 8 jaar geleden in General bijgewerkt door anonymous 7 jaar geleden 8

Has anyone played with getting access to an iPhone/iPad camera for a video stream within iRidium?


I've setup a Mobotix T25 SIP server and have that working but was thinking of getting an iPad to iPad intercom working that also made use of the iPads camera for vision.


Cheers,

Damian

HI Damian, it does work but I had to use a Synology storage unit running an SIP server. The internal SIP server on the T24/T25 sucks.


Thanks,


Roger

Thanks Roger.


What were the main issues you had with T25 SIP server? And what SIP server did you end up running on the Synology?


Cheers,

Damian

Beantwoord

You can call from iPad to iPad with video using this testing project: SIP_Intercom_Video_iPad.irpz

Thanks Ekaterina.


Do you have any of the API methods for IR.Camera? Can't seem to find any.

Am looking at the CameraStart function that calls IR.Camera(IR.CAMERA_RECORD, IR.CAMERA_FRONT, IR.CAMERA_RESOLUTION_HIGH); and wanted to know what options I had. The resolution of the video stream is very poor for iPad to iPad, certainily nothing like you would get using FaceTime or Skype. Is there a setting change I can use to improve this?




This functionality is not official and was created exclusively for use in SIP module and QR update module. Therefore on our website there is no its description.

Thanks Dmitry,


So can you give me the list of methods/properties currently implimented for IR.Camera ?


Here is a list of commands for the camera:


// start record

IR.Camera(IR.CAMERA_RECORD, IR.CAMERA_FRONT, IR.CAMERA_RESOLUTION_MEDIUM);
// stop record
IR.Camera(IR.CAMERA_STOP);
// toggle camera
IR.Camera(IR.CAMERA_TOGGLE);
// rotate to angle
IR.Camera(IR.CAMERA_ROTATE, 270);
// flip horizontal
IR.Camera(IR.CAMERA_FLIP_HORIZONTAL, true);
// flip vertical
IR.Camera(IR.CAMERA_FLIP_VERTICAL, true);
// link camera to GUI item
IR.GetPopup("Page 1").GetItem("Item 1").GetState(0).Image = "ir_camera://";
IR.CAMERA_RESOLUTION_LOW - low resolution
IR.CAMERA_RESOLUTION_MEDIUM - medium resolution
IR.CAMERA_RESOLUTION_HIGH - high resolution
IR.CAMERA_BACK -video from the main camera

IR.CAMERA_FRONT - video from the front camera