19.08.2013 Views

Vmoox: Cross-platform Video Publishing Solution ... - pace university

Vmoox: Cross-platform Video Publishing Solution ... - pace university

Vmoox: Cross-platform Video Publishing Solution ... - pace university

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 12: Services <strong>Vmoox</strong> Web Service Provides to the iPhone App<br />

As illustrated in Figure 12 <strong>Vmoox</strong> web service uses an Ad serving algorithm<br />

module to append a pre-roll video ad before serving the publisher content.<br />

When a request of type “Get videos’ media URLs” enters the <strong>Vmoox</strong> web<br />

service, the web service uses VEDA in order to decide if an asynchronies real<br />

time transcoding is needed and to generate the list of videos’ chapters (including<br />

the pre-roll ad).<br />

The mentioned requests are HTTP GET requests, when the response for these<br />

requests is also an HTTP JSON/JSONP formatted response. This will enable the<br />

clients to easily read and manipulate data on the client side.<br />

There are several benefits of using JSON/JSONP web service as <strong>Vmoox</strong> web<br />

service protocol:<br />

1. The use of web service as the data delivery mechanism reinforces a good<br />

software engineering design practice when components are loosely coupled [41].<br />

2. JSON/JSONP is a lightweight protocol that enables developers to easily<br />

- 34 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!