Skip to main content
15-Moonstone
July 28, 2021
Solved

CCTV live stream in Thingworx mashup

  • July 28, 2021
  • 1 reply
  • 1709 views

HI, 

I am trying to implement live cctv stream in twx mashup using video player or webframe widget.

But my cctv media server is restricted and that server functions internally and twx is deployed on aws.

And our clients will be using the web browsers at various locations in different countries.

My idea is like whitelisting Twx server ip on my media server so twx can access feeds, we can provide it as URL's so I can use it in widgets.

 

My doubt is whitelisting twx is enough for this implementation ?? , I don't know about the actual widget functionality .. whether twx will call those links or it will be called from clients ip ? 

 

suggest best implementation idea's 🙂 Thanks in advance !! 

cctv_req.jpeg

Best answer by PaiChung

Unfortunately if you are using some 'video player' type widget, it will be calling the URL from the Client IP not ThingWorx ip

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
July 28, 2021

Unfortunately if you are using some 'video player' type widget, it will be calling the URL from the Client IP not ThingWorx ip

sabharees15-MoonstoneAuthor
15-Moonstone
July 28, 2021
Hi Pai,

So how to achieve this implementation ?

Suggestions would be helpful !!


22-Sapphire I
July 28, 2021

The easiest of course would be to open that specific port.

My knowledge about video streams and its access isn't that great, so I'm not sure if some sort of token or session can be established to add additional security.

If embedded access is allowed, you can use an iFrame (web frame widget) perhaps and force a login.

Or just give the URL and make a user open that video stream in a separate browser window.