cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
449
Views
3
Helpful
5
Replies

Accessing the MCU 8510 previewURL without being logged in?

christofink
Level 1
Level 1

Hi,

I am using the Cisco TelePresence MCU Remote Management API to access MCU MSE 8510 and I would like to be able to show the FECC preview image. The data gets sent back in the participants.enumerate request as part of the currentState.previewURL, typically this url looks like this

previewURL: "/conference_participant_video.jpeg?conference=Conference1participant=710&size=qcif"

I then have to put the IP address infront of this and access the url to pull the image off the server.

This all works well, but the only issue is with a requirement to already be logged into the MCU 8510. If you are not logged in the image will not get returned. I have written some code to do the login (via curl) and still retrieve the image, but would prefer if it is possible to do this without already being logged in, does anyone know if this is possible?

Thanks,

Christopher

5 Replies 5

Wayne DeNardi
VIP Alumni
VIP Alumni

Have you tried specifying the username/password as part of the URL?

ie http://username:password@ipaddress/the rest of the previewURL above

Wayne
--
Please remember to rate responses and to mark your question as answered if appropriate.

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

That will not work, the MCU does not use http authentication, it uses some session token.

Not aware that there is some way to preload that.

I guess some self made proxy (just request the image when its needed and possibly do some caching) would be what I would do here.

Please remember to rate helpful responses and identify

Thanks Martin,

I hadn't tried it on a MCU - works beautifully on the endpoints I've tried (Edge 95MXP, C60, SX20, etc).

Wayne
--
Please remember to rate responses and to mark your question as answered if appropriate.

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

Wayne: which url did you try to access on the c-series endpoints?

 

At least whats under /web or /wsgi I would also expect to have the non http

based authentication. On MXP endpoints its true with http(s)://user:pass@ip

 

If you access on an c-series endpoint like http://ip/configuration.xml

there you will see that this gives you the http-based authentication window,

there the http://user:pass@ip/configuration.xml would work.

But if you access /web you will see the cisco login page which would not work.

Please remember to rate helpful responses and identify

Hi Martin,

On the C-Series I use it to grab the websnapshots to stick them on an overview web page so I can have a quick glance at what's going on in some of our rooms.  A whole bunch of:

<IMG SRC="http://username:password@ipaddress/websnapshot/get">

and for the Edge 95 MXPs, I use:

<IMG SRC="http://username:password@ipaddress/tmp/snapshots/site0.jpg">

Edit: Using Firefox as the browser to do this - IE10 doesn't like it.

Wayne
--
Please remember to rate responses and to mark your question as answered if appropriate.

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.