Digital Media Suite API Forums

« Back to Digital Signs API Forum

RE: Obtaining DMP authentication credentials through DMM APIs

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
In looking at the DMM APIs, it appears that it's possible to obtain the list of available DMPs (i.e. get DMP details /xTAS-core/services/dmp/dmps/{id}).  However, now that I have the DMP IP, I would like to make use of the DMP MIB APIs to obtain the DMP settings (i.e. https://DMP_IP:7777/get_param?p=init.SCREEN_HEIGHT&p=init.SCREEN_WIDTH).  In order to do so, however, I need to have the credentials (username/password) for the given DMP, and I haven't seen anything in the API docs that will allow me to retrieve the credentials.  Are there any other APIs that I can use (either on the DMM or DMP itself) that will allow me to do so?
 
Thanks,
Elaine
 

If you enter the DMP's IP address into a web browser, you will be taken to the DMP DM. You will need to log in with the username and password which by default is "admin/default". From there you should be prompted to change the password to your liking.
 

If you enter the DMP's IP address into a web browser, you will be taken to the DMP DM. You will need to log in with the username and password which by default is "admin/default". From there you should be prompted to change the password to your liking.
 

 
Per my original post, my query is about how to programmatically obtain the DMP's credentials (either through DMM or directly through the DMP), or if that is even possible at all.
 
Thanks!

There is no way to do this with DMM APIs because all DMPs associated with the DMM need to have the same password (hence the administrator would be aware of it). It is not allowed on stand-alone DMPs because it would be a security vulnerability to be able to obtain the password of a DMP without any other form of authentication.
 
Could you explain what you are trying to accomplish? Perhaps there's another way to solve your overall problem.

There is no way to do this with DMM APIs because all DMPs associated with the DMM need to have the same password (hence the administrator would be aware of it). It is not allowed on stand-alone DMPs because it would be a security vulnerability to be able to obtain the password of a DMP without any other form of authentication.
 
Could you explain what you are trying to accomplish? Perhaps there's another way to solve your overall problem.

 
Thanks for the clarification!  Essentially, I'm trying to obtain the DMP's screen resolution through the MIB APIs (so I can optimize the asset and/or playlist resolution).  But using the MIB APIs seem to be predicated upon knowing the DMP's credentials in advance.  Is there any other way to accomplish this?



There is no way to do this with DMM APIs because all DMPs associated with the DMM need to have the same password (hence the administrator would be aware of it). It is not allowed on stand-alone DMPs because it would be a security vulnerability to be able to obtain the password of a DMP without any other form of authentication.
 
Could you explain what you are trying to accomplish? Perhaps there's another way to solve your overall problem.


 
Thanks for the clarification!  Essentially, I'm trying to obtain the DMP's screen resolution through the MIB APIs (so I can optimize the asset and/or playlist resolution).  But using the MIB APIs seem to be predicated upon knowing the DMP's credentials in advance.  Is there any other way to accomplish this?

 
Looking at the MIB APIs again, it seems that there's a difference between the DMP max/min screen resolution and the actual detected screen resolution, i.e.:
 
init.auto_screen_height T_LONG 1024

init.auto_screen_width T_LONG 1280

 
init.MAX_SCREEN_HEIGHT T_LONG 1080

init.MAX_SCREEN_WIDTH T_LONG 1920

 
My questions now are:
 
- Is there any possible way to obtain the DMP screen resolution (actual) through any of the DMM APIs?
- If not, is there any possible way to obtain the DMP screen resolution (actual) through the TVZilla JavaScript functions?
 
Thanks!