How to setup DeliveryMethods for a PlaylistItem to be able to play smooth streaming or progressive, depending on the URL?

Jun 6, 2012 at 8:21 AM

Hello,

Per my testing, I need to specifically set the DeliveryMethod for a Playlist item depending on the video URL.

So obviously if I set http://smf.vertigo.com/videos/wildlife.wmv as the URL and AdaptiveStreaming as DeliveryMethod, it won't work.

Is there a way to automatically detect the kind of DeliveryMethod required for an URL?

And if not, how should I implement it?

Thank you.

Jun 29, 2012 at 1:04 PM

Does anyone has an idea about this?

Coordinator
Jun 30, 2012 at 2:04 AM

There's no fool proof way but checking for "/manifest" in the url is a pretty good approach.

Aug 10, 2012 at 12:07 PM

Hello Tim

Thanks for your answer. 

Searching for "/Manifest" in the Uri might work but how to differentiate between Streaming and ProgressiveDownload?

I remind you DeliveryMethods enum is the following:

 

public enum DeliveryMethods
{
        NotSpecified = 0,
        ProgressiveDownload = 1,
        Streaming = 2,
        AdaptiveStreaming = 4,
}

 

How can a simple application which lets user enter a URL know which of these methods to select?

Which is the recommended way of handling this scenario?

Also, What does NotSpecified mean?


Thanks!

 

Aug 29, 2012 at 7:08 AM

Anyone?

Aug 29, 2012 at 1:51 PM

The choice between ProgressiveDownload and Streaming is a design one. Any video that can play with one should play with the other.