0
Not a bug

Dynamic Image Source Issue

Damian Hartin 8 years ago in Applications / i3 Pro updated by Dmitry - support (expert) 8 years ago 13

I have a project that I'm using your sample drag and drop logic to load a dynamic image.

i.e. Three source camera static images and one target. Drag the source to the target and then I change the Image property of the target to the name of the dynamic image.

Works fine in emulator mode, but when deployed to an iPad it doesn't.


If I change the Image value from the name of the dynamic image to the actual URI of the dynamic image- I can get it to work, but it doesn't look like it's applying the same parameters as the video feed is a poorer quality..

Should this be happening?? (working in emulator and not on the iPad) and if I need to pass the URI, what is the syntax to get all the settings the same?


Waiting for user's reply

Hello!


What client version do you use? i2Control or i3Pro?

Hi Dmitry - using i3Pro on an iPad running iOS 9.3.1

Please try the latest version i3Pro, which is available on the App store

The last version is 1.0.5

Thanks Dmitry - that has fixed the issue with changing the image name (now works), however, it seems I still have an image quality issue?

Works OK in emulator, but on the iPad, when I drag the source video onto the target, the image stutters badly/shows a green bar, etc...

i.e. The target has the video source set to start with, so on the project load, the video quality is good. When I drag the same source to the same target (or a target next to it), the video starts to stutter badly.


Hi Dmitry - any ideas on the video quality issue?


Thanks,

Damian

If the link to the video stream is using rtsp Protocol, then add to the parameters of this line


rtsp_transport=tcp;



Thanks Dmitry - but that is already set.

I already have a dynamic image with that setting and it is placed on a object in one of my popups. When the project loads, the image quality is good.

In script, I then set the image to the Dynamic Image - IR.GetItem("nbg_Cameras_Modern").GetItem("CameraSource1").GetState(0).Image="Camera01_Live"; and the quality goes bad.


It's as if setting the Image property in script drops the rtsp_trasport parameter?? or something else??


I also tried setting the image property long hand - IR.GetItem("nbg_Cameras_Modern").GetItem("CameraSource1").GetState(0).Image=""rtsp://admin:11111@192.168.1.154:554/video.h264?rtsp_transport=tcp;"; but that still has bad quality..


Again... it all looks fine in the emulator on the PC, the problems appear on the iPad !!



Can you provide remote access to your camera?

If you can, then write the data to connect on our e-mail support@iridiummobile.ru

Thanks Dmitry - after a complete restart of the iPads and my router here, it seems to have settled down !!!!

Sorry for the bother, I'll assume it was iPad network issue and let you know if it comes back.

Not a bug

Ok. Let me know if the problem persists.