cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1292
Views
0
Helpful
1
Replies

SnS API and Integration with DMPs

Paul Woelfel
Level 4
Level 4

Hello,

I'm trying to develop a Webapp for showing content from Show and Share on my DMPs. I'm able to query SnS from PHP via XML Rest calls, but I'n not able to search for all featured videos. I'm searching for featured videos by this search param:

                        <searchParam>
                              <fieldName>com.cisco.vportal.1.featured</fieldName>
                              <fieldValue>1</fieldValue>
                              <paramClause>EQUAL</paramClause>
                              <boost>0.9</boost>
                        </searchParam>

The featured Videos have this attributes:

<contentattribute><key>featured</key><value>1</value><namespace>com.cisco.vportal.1</namespace></contentattribute>
<contentattribute><key>featured</key><value>2</value><namespace>com.cisco.vportal.1</namespace></contentattribute>

So I need to search for a value greater than 0 or if this attribute exists.I've tried EXIST, GREATER aso. for paramClause, but nothing is working. I get this Java Exception:

    [detailed_response] => dms.general.error.no.invocation.error.key

....

Caused by: com.cisco.vportal.exceptions.VPException: org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: string value &apos;EXIST&apos; is not a valid enumeration value for vpsearchparamclauseType in namespace http://types.transfer.vportal.cisco.com/vptype_ns

What are the other enumeration values for vpsearchparamclauseType?

Another question regarding the integration of SnS with DMP:

The DMPs require MPEG-TS H.264 or MPEG-TS MPEG-2 videos and SnS require MP4 H.264. Is there a easy way to deploy videos to SnS, Digital Signage and Cast?

Regards, Paul
1 Reply 1

Tomas de Leon
Cisco Employee
Cisco Employee

I will answer the second part of your question.

The is no easy part for playing VODs on all DMS

components (SnS, DS, & CAST) at this time.

You would need to transcode the SnS files

to formats supported on the DMPs.

In DMS 5.2 the 4400G (only) DMPs support playback

of Windows Media files.  The WIndows Media files

can only be played back via DMP LOCAL Storage or

via HTTP://

So if all of your content was Windows Media than the

content would be compatible.  The main problem that

I forsee is if you have Apple Mac OSX users.  Native

OSX Browser support for WIndows Media is NOT

supported  at this time.  The Mac users would need to

use VMware with Windows to view the WMV content

in SnS.

I hope this helps!

T.