Silverlight Streaming

Hi,

I was following the examples after installing Wowza development server on my Ubuntu 8.04 LTS, server. I was able to successfully follow the tutorial playing the sample content on my iphone. Then I followed the tutorial to play Microsoft silverlight. When I clicked on the default.html, I got an error saying “Content must be hosted on a web server running II7…” I was under the impression Wowza is able to stream silverlight apps.

I rechecked my configuration I indeed have this within the Default.html:

http://my.wowza.server.ip:1935/rtplive/mpegts.stream/Manifest

I’m I unable to do this since I am only using the development version?

Thank you.

  • Joe

I have tested against Silverlight 4 and it support version 2 Manifest data. I don’t expect this version to change anytime soon.

Charlie

The message about hosting on IIS7 is not accurate, it’s built-in to that player, but in fact the files can be hosted on any web server.

Wowza does stream to Silverlight, including the developer edtion. However there is a time limit of 3 minute per live stream and 7 minute total in the developer edition. Restarting Wowza resets that clock.

What encoder settings are you using? Only H.264 video and AAC audio are supported. You can only use mp3 if it is audio only.

Richard

The file mymovie.mp4 should go in the content location of a Wowza application, by default that is:

[wowza-install-dir]/content

The files Default.html and SmoothStream.xap, and Preview.png should go on a web server. And you navigate in a browser to:

[website]/Default.html

I’m not sure about JobFile.xej.

MediaPlayerTemplate.xap you can also put on the web server, but it looks like it is not needed, it is probably the template for the SmoothStream.xap

Richard

First test in Flash using the Wowza’s SimpleVideoStreaming example player:

Server: rtmp://[wowza-address]:1935/vod

Stream: mp4:FullCircleTest.mp4

Does this work?

Is the Wowza server on a public IP? If so can you send the Manifest URL to support@wowza.com

Richard

I have just encoded a movie using expression encoder3 using the preset for variable h.264 and the output created myfolder. The contents of this folder are the following files >

Default.html, mymovie.mp4, JobFile.xej, MediaPlayerTemplate.xap, Preview.png, Settings.dat, SmoothStreaming.xap.

I have uploaded my own content into: [install-dir]/content

I have change the Default.html mediaSource property to use the line below.

http://wowza_server:1935/vod/myfolder/mp4:mymovie.mp4/Manifest

When I type in this URL address http://wowza_server:1935/vod/myfolder/mp4:mymovie.mp4/Manifest, I just get:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<?xml version="1.0" encoding="utf-8" ?>

snip-----

What is the correct way to view this movie on my browser? I have already installed the silverlight plugin for Firefox.

Thanks!

I have uploaded The files Default.html and SmoothStream.xap, and Preview.png into my web server in a folder called /home/public_html/fullcircle

I have my movie into my wowza development server: [wowza-install-dir]/content

Then I edited the Default.html media source part to include:

AAC

788465465

24.4874771042089

280

false

="http://123.123.123.123:1935/vod/mp4:FullCircleTest.mp4/Manifest"

full%20circle

H264

512

I’m now getting the silverlight player when I browse to [website]/Default.html. The problem now it comes up with an error:

"Could not open media file /fullcircle/=%22http://123.123.123.123:1935/vod/mp4:FullCircleTest.mp4/Manifest%22 4001 an error has occured"

The logs on the wowza server does not show anything. I am also using the clientaccesspolicy.xml from the tutorial.

Thank you,

- Joe

I have an rtsp stream coming in that I can view using the LiveVideoStreaming flash example, but I can’t get it to work in Silverlight. I’m getting a System.Exception: 4001 error when adaptive streaming is set to false on the PDK. If I set adaptive streaming to true it says that at least one media stream is needed, none are defined in the manifest.

Does wowza store the manifest file or does it generate it dynamically?

smoothStreamingMediaMajorVersion

2

Integer

Do you think it will change with SL4 ?

I have the same exact problem and I am unable to solve it. Were you able to solve this issue since your last post was on March of 2010?

I am able to play the file using Flash and Flowplayer but not Silverlight. I have been asked to stay with Extremists.m4v and It does not work with SL.

SL Client side shoes

“Could not open media file http://200.200.200.46:1935/vod/mp4:Extremists.m4v/Manifest 4001 An Error has occurred.”

WOWZA server console output:

INFO vhost vhost-start defaultVHost -

INFO server comment - defaultVHost threads[h/t]:120/80 home:C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 2

INFO vhost comment defaultVHost Bind attempt (200.200.200.46:1935:4)

INFO vhost comment defaultVHost Bind successful (200.200.200.46:1935)

INFO vhost comment defaultVHost Bind attempt (200.200.200.46:80:4)

INFO vhost comment defaultVHost Bind successful (200.200.200.46:80)

INFO vhost comment defaultVHost Bind attempt (200.200.200.46:8086:1)

INFO vhost comment defaultVHost Bind successful (200.200.200.46:8086)

INFO application app-start definst vod/definst

INFO smoothstreaming connect 1337205138 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 502259181 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 1471347434 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 93729555 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 898296597 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 215955883 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 1474612539 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 938112055 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 257325138 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 775196722 -

INFO stream create Extremists.m4v -

INFO smoothstreaming connect 889187919 -

INFO smoothstreaming connect 191908826 -

INFO smoothstreaming connect 1084852857 -

INFO smoothstreaming connect 1814874513 -

INFO smoothstreaming connect 2087862966 -

Any update is appreciated

Thanks,

Hammud

Ok I got it working finally.

1- Since the Silverlight client version on my system (the one that gets installed by the browser) does not match the example version, the example version did not work.

2- I generated a new Silverlight project using Expression Encoder 3.

3- I placed the project files [Default.html, MediaPlayerTemplate.xap, Preview.png, Settings.dat, SmoothStreaming.xap] in a web folder [this is a must placing the files on a normal folder will not work].

4- Copied the video file to a Server that supports SL

5- Run the default.html file from a URL [not by clicking on it] and it was able to play the video.

6- So now I know that my SL client and server are working fine. So it is time to test it with WOWZA

wowza:

  1. Copied the same video file to the content folder in the wowza install dir

  2. Changed the URL in the default.html file to [http://{wowza server ip}:1935/vod/mp4:Extremists.m4v/Manifest]. This is the same file same location that worked with MS server.

  3. Made sure the I have a conf/vod folder and that it has an Application.xml file

  4. Changed the Application.xml file to work with Silverlight 3 by adding

smoothStreamingMediaMajorVersion

2

Integer

  1. Created a clientaccesspolicy.xml in the conf folder
<?xml version="1.0" encoding="utf-8"?>
  1. Restarted WOWZA

  2. Was able to read the manifest from placing the [http://{wowza server ip}:1935/vod/mp4:Extremists.m4v/Manifest] in the browser URL

  3. Opened the Default.html file from a URL and it was able to stream the file from the WOWZA development server 2 via Silverlight 3

Hope this helps others,

Hammud