Home › Forums › IIS 7 › IIS7 - Media › Using Encoder's template for IIS Smooth Streaming
« Previous Next »
Last post 05-01-2009 12:04 AM by darwaish. 5 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (6 items)
Sort Posts: Oldest to newest Newest to oldest
I am using encoder's template as explained by tim in this blog.
http://timheuer.com/blog/archive/2008/11/03/use-expression-encoder-templates-in-silverlight-application.aspx
This is how I set the source.
I does not play video. When I click stop button and click play again, it gives error message requires hosted on iis 7 and smooth streaming headers installed.
I am running Vista/IIS7 and have installed smooth streaming. I can see the options in IIS Manager. Any ideas?
Just change the url to Bear.ism/Manifest ... i.e
pi.MediaUrl = new Uri(http://localhost/Nile.Net/Media/Bear/Bear.ism/Manifest);
For smooth stremaing the url should point to the manifest file.
I tried that, but it did not work either. I got the exact same error message.
I actually tried all of these
new Uri("http://localhost/Nile.Net/Media/Bear/Bear.ism/Manifest");
new Uri(http://localhost/Nile.Net/Media/Bear/Bear.ism)
new Uri("/Bear/Bear.ism/Manifest")
I am sure IIS is setup correctly because I was able to run MS big bunny demo
And I know my media path is right on the client because if I change path to a wmv file, it works.
new Uri("http://localhost/Nile.Net/Media/Bear/Bear.wmv");
Can you try and request the manifest directly i.e give the url http://mahince/path/Bear.ism/Manifest from browser and see if that succeeds?
Also you can run fillder or netmon and see what requests are failing.
Thanks prakashd. I have no idea what was wrong. I just shut everything down for a day. Today tried the same url with Manifest at the end, and it worked :)
I hope I was not doing some spelling mistake.