IIS 7 and Above
live smooth streaming deosn't work
Last post Jul 21, 2012 12:49 AM by amnckd
Aug 11, 2010 04:33 PM|Johnscreek|LINK
I followed exactly the instructions in http://learn.iis.net/page.aspx/620/live-smooth-streaming-for-iis-7---getting-started/
I am using expression encoder pro 4. And I can see that the IIS Server achieved ISMV from encoder. But at client side(http://IISserver/smoothstreamingplayer.html) , no video displayed .
Can anyone here help me with this basic setup? Thanks in advance.
Live Smooth Streaming
Aug 16, 2010 11:28 AM|mauricio.dcastro|LINK
I have the same problem, I connect the encoder and start transmission at the point of publishing created.
But on the client side does not carry any type of display on the player.
I get error 4001. Direct link to the player. ISML or \ Manifest does not work for me.
If you had any progress let me know.
Aug 16, 2010 02:20 PM|Johnscreek|LINK
It finally worked for me. The main problem is that the player doesn't support video with profile level beyond basic profile.
Make sure that IIS get streams from encoder by checking archived directory in IIS side.
Aug 16, 2010 02:41 PM|mauricio.dcastro|LINK
Okay, just for my understanding.
So the link in the player is not for ISML?
but for files that are being recorded in real time?
What should I put in the media URL.
In my case I have to get LIVE
Aug 16, 2010 03:14 PM|Johnscreek|LINK
As I mentioned in my first post,--- client (player) side(http://IISserver/smoothstreamingplayer.html)
Aug 18, 2010 03:50 AM|johndeu|LINK
Not exactly. What version of the player are you using? Silverlight can support H264 in Baseline, Main and High profiles just fine.
You should be using the latest version of the Silverlight Media Framework Player 2.0 (http://smf.codeplex.com ) for optimal quality and feature support. That is the player release that uses the underlying Smooth Streaming
Client 1.0 SDK which is our most recent released and tested player SDK for Silverlight.
If anyone on this thread is still having issues with their playback let me know.
Aug 19, 2010 08:11 PM|Johnscreek|LINK
Thanks to johndeu for the answer. I still need your help on the playback.
The decoder I am using is from smoothstreamingplayer-2.2010.0705.1.zip (http://smf.codeplex.com/releases/view/48471#DownloadId=131142)
If in expression encoder Live broadcast project, I set video profile level=high profile (H.264 High) , there is no video decoded at client side.
Keep everything same except video profile level = (H.264 baseline), then video showed on client side.
Aug 19, 2010 08:40 PM|johndeu|LINK
What version of Expression Encoder are you using? Is this 4.0? What are your preset settings?
In Expression Encoder 4, If you go into live broadcast and select H.264 IIS Smooth Streaming 720p preset, it will default to H.264 High. I just tested with the latest build of SMF 2.0 player and it is working on my machine currently.
Silverlight supports the following for H264 content, so this should work fine.
H264 (ITU-T H.264 / ISO MPEG-4 AVC)
Supports H.264 and MP43 codecs.
Supports Base, Main, and High Profiles
Supports only progressive (non-interlaced) content.
Supports only 4:2:0 chroma subsampling profiles.
Supports PlayReady DRM with Mp4 (H264 and AAC-LC)
Aug 19, 2010 09:15 PM|Johnscreek|LINK
John, Thanks for your answer. And I guess that I know where the problem is: Similar to what you did with expression encoder pro 4, by default, the video profile is set to high. Then in the video "encode" setting, I only enabled 199Kbps (video 276*208) because
my PC can not run real-time for higher and multi-rate. For this resolution, the video profile should be base level and thus inconsistent with other settings. Then decoder can not decode this video.
Oct 18, 2010 09:01 PM|petergdot|LINK
Is live smooth streaming supported on VC-1 codec? I followed this article
http://learn.iis.net/page.aspx/620/live-smooth-streaming-for-iis-7---getting-started/ but couldn't get the stream to display.
I have Expression Encoder 4 Pro "without codecs". There is no H.264 codec. I used VC-1 IIS Smooth Streaming 720p with Live Source. Live source is my web cam. I can connect to the publishing point and start encoding in expression. When I open
http://iisserver/progressivedownloadplayer.html the live stream doesn't show in the silverlight player.
Am I missing something or do I need to use H.264 codec? Thanks.
Oct 19, 2010 12:00 AM|DBristol|LINK
Sounds like you have a couple of issues there. Smooth Streaming itself is codec agnostic. The platform uses a fragmented MPEG-4 file container. In theory you could use any codec with that. And with Expression Encoder you can use either H.264 or VC-1.
However, some SKUs of Expression Encoder do not have the H.264 codec so you have to use VC-1.
What I suspect is happening is that you are actually encoding and transmitting the signal to IIS properly, but you're using a player that doesn't support Smooth Streaming. Based on the HTML file name I suspect you are using the progressive download template
from smf.codeplex.com. That won't do Smooth Streaming. Currently we have an issue wtih the Codeplex site and are in the process of restoring the Smooth Streaming HTML template. You can still use the Smooth Streaming Client SDK
http://www.iis.net/download/SmoothClient to develop your own client or use the (now very old) sample client refresh from
Oct 19, 2010 02:56 AM|petergdot|LINK
Thanks for your response.
I downloaded the sample client refresh from
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e44b0a2d-2e0c-48ff-bf57-3d05a20e2f6a&displaylang=en but still I can't see the live stream in the player. I can start encoding with no errors in Expression 4 Pro. I
don't know how to develop my own client. I hope that this will be fixed. I am able to stream ondemand videos encoded in VC-1 but not live streams. Thanks.
Oct 19, 2010 03:22 AM|DBristol|LINK
When you stream on demand videos, is it using the same 'sample client refresh' player or the previous one you were using? Is there an error in the Silverlight player when attempting to view the live stream?
Oct 19, 2010 03:31 AM|petergdot|LINK
Oct 19, 2010 02:21 PM|petergdot|LINK
Did anyone get Live Broadcast streaming working using File Source or Live Source?
Oct 19, 2010 10:49 PM|DBristol|LINK
Oct 20, 2010 01:31 AM|petergdot|LINK
Oct 21, 2010 09:06 PM|jolliff|LINK
Oct 21, 2010 10:52 PM|jolliff|LINK
Oct 21, 2010 11:10 PM|petergdot|LINK
Oct 22, 2010 01:11 AM|ragrone|LINK
Okay... I have created everything I believe I need and am able to connect to my server using url
http://worldnewsvine.tv/lst/DailyShow.isml however, I cannot find anyway to create a web page to display the broadcast
I thought I had followed the instructions and created a test page
http://www.worldnewsvine.tv/lst/live.html although it starts, nothing is being displayed...
I am totally lost here. I simply want to create a few web pages for site members to provide live broadcasts....
In fact I am willing to pay someone to come to the site and set-up a few web pages that can be used at say 300x300 size to then be sent to another web page at our home site
http://worldnewsvine.com to which I would like to embed the players into web pages .php
Oct 22, 2010 01:28 AM|johndeu|LINK
Remove the trailing slash from your URL. It should just end in /manifest
Oct 22, 2010 05:36 PM|ragrone|LINK
okay I am lost completely.... I have the Live Stream now running to
http://worldnewsvine.tv/lst/WNVTV.isml I am green good to go and the video cam is connected and broadcasting.
I changed the url as suggested to <param name="InitParams" value="selectedcaptionstream=textstream_eng,mediaurl=http://worldnewsvine.tv/lst/WNVTV.isml/manifest" />
I am using ProgessiveDownloadPlayer.xap since I haven't a clue as how to create on for the given .isml and this "manifest" business, I am suppose to create a "manifest" to broadcast live video?
This seems like a lot go through however, I really would like to get a clue as to how all this works...
I even attempted to go into the Windows Media Services console because, using Encoder 4 (just upgraded) I was able to simply and quickly create a live web page off my Windows 7 box... Ideally this would be the way to go however, I do not see how it is possible
to do so to a remote server... Anyway, I got into the WMS Console and attempted to create a publicahing point using the WNTV.isml file but as you already know, that did not work either...
I am just looking ofr a quick solution whereas, I can create maybe two or three publishing points so members can connect to their publishing point and provide live broadcasts... I am simply asking to much of the Windows Server 2008 R2 with Media Sevices
installed to handle?
I also gave this a whirl
Oct 22, 2010 05:40 PM|ragrone|LINK
oh no... I doubt that my last post made it...
Oh the heck with it.. I simply cannot grasp this and am not into Visual Studio either which apparently I need to get this to work... with manifests, and asx files, .xap files... isn't there as simple template that can be used to simply change parameters
(file names, paths, etc) that would make this much easier for the novice?
I made the changes to the above url, adding /manifest to the end... Am I supposed to create a "manifest" file to publish live streaming video... and since I am basically using this ProgressiveDownloadPlayer.xap will that work with a publishing point of a
Oct 22, 2010 05:57 PM|johndeu|LINK
The ProgressiveDownloadPlayer .xap is not the right one to use. It is made to work with only basic MP4 or WMV files (thus the name). For Smooth Streaming, you need to use the Smooth Streaming Client 1.1 in combination
with Silverlight Media Framework.
We just recently pulled the sample player for Smooth off of the smf.codeplex.com site due to license restrictions for distributing the Smooth Client 1.1 assembly on an open source site like Codeplex. We are moving
a new sample player to the IIS.net site shortly for folks to use. For now, you are required to use Visual Studio and Blend to compile a player with the open source SMF toolkit.
See the Release Note here for more details.
Have you tried using the basic Expression Encoder 4 Silverlight templates? That's about as simple as it can get.
If you need support with the Expression Encoder 4 templates let me know - I can connect you with the right folks.
Oct 22, 2010 06:30 PM|petergdot|LINK
I would need some support with creating the Expression Encoder 4 templates for live smooth streaming. Thanks.
Oct 22, 2010 07:59 PM|Jamie Lang (MSFT)|LINK
The process to get Expression Encoder templates for live smooth streaming isn't very intuitive (we are fixing this in our SP later this year). In EE4, you have to generate a template in an on-demand project and then update the default.html to point to
the IIS Live Smooth Streaming publish point. Here are the steps:
This will allow the template to hit the ISML on the server and pull the manifest. For more infomation, check out our blog post on smooth streaming:
Let me know if you need additional assistance. Thanks
Oct 22, 2010 10:11 PM|petergdot|LINK
I followed the above steps to create the SIlverlight tempate, I start encoding using Live Source (my webcam) the publishing point is started, but I get this error when I open the web browser to play live stream:
could not open media file /livestream/livestream.isml/Manifest 3000 an error has occured
The player template and default.html file is located in C:\inetpub\wwwroot\livestream
This is the media source settings:
Oct 23, 2010 02:38 AM|ragrone|LINK
I am getting the error message "Could not open media file /lst/WNVTV.isml/Manifest 3137 Error occurred"
Am I supposed to make a manifest file, and how if yes
I just attempted to create a "manifest.xml file after searching the net...
<?xml version="1.0" encoding="utf-8"?>
And am now getting a 3000_AG_E_UNABLE_TO_PLAY error
I am totally lost....
WOW!!!!!! I Finally got it.... I deleted the filesize in the default.html and, changed <IsAdaptiveStreaming>true</IsAdaptiveStreaming> it was FALSE -- I also added clientaccesspolicy.xml and crossdpamin.xml to the route I have no idea which it was
that worked bu it does... I just hope the audio is working... still gettin got that...
Oct 23, 2010 05:28 AM|taptap|LINK
I went through lot of pain before, so if this helps.
1) First try with Fiddler2 and see if it is attempting to get the stream. If there are any errors then you will see that in the fiddler. For example, when i tried it was about cross domain policy file and after adding that it started working.
2) If you are not receiving any errors on the client, then try this link for debugging on what's happening on the server. http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-7/
Now its working with both File source and live source without any issues.
Oct 23, 2010 06:34 AM|ragrone|LINK
I am not hearing any audio on my web page I am getting the video.... anyone have any ideas?
In my manifest file, should I be using a different file than the .isml?
Getting there.... I can't wait to get this to work with the exception of the latency it looks pretty good so far....
Oct 23, 2010 02:11 PM|petergdot|LINK
Oct 23, 2010 03:25 PM|ragrone|LINK
What file are you using in your manifest? And, where is your audio source coming from internal michrophone? I am using a separate webcam and my microphone is connected to my headset which is separate.... what file are you using n the manifest.xml?
Oct 23, 2010 03:38 PM|petergdot|LINK
Oct 23, 2010 04:05 PM|ragrone|LINK
Huh... I am confused... so the url you are using is like
http://somewebsite.com/somevideo.isml as your source file in the default.html file?
Could you post you template for me the default.html file that you are using.... the instructions I read on this page indicated that I needed to make a manifest...
Are you broadcasting to a dedicated server off site? That is, are you broadcasting to the world off your website right now? Can I visit the site?
I am on a dedicated server which is located in Tampa and I am in New York.....
Oct 23, 2010 04:29 PM|petergdot|LINK
This is how you create a silverlight template in EE4
The url I am using in default.html file is
http://somewebsite/livestream/livestream.isml/Manifest I am not broadcasting to the world right now. Here is the template and default.html file that I am using:
Oct 23, 2010 04:37 PM|ragrone|LINK
Oh thanks.... When I attempted to do what you are doing, I kept getting the error (ad lib) cannot locate the file Manifest... so, I made one...
As far as the audio thing I am wondering if I need to add audio features e.g. media player to my dedicated remote server for the Audio to work... I am still not broadcasting video and have about a 30 second lag in the video from the live source... also,
I just ordered a better web cam this thing I have is an el cheapo Logitech that I purchased back in the days of Windows XP pro.... I had to grab updates for Vista, and then 7
Thanks again... I am hoping one of the moderators jumps in and tells me there is something I need to do on my remote server to get the audio functioning....
Oct 23, 2010 05:04 PM|ragrone|LINK
Oh thanks I did the same thing however, I went through all the manifest.xml, etc. before I discovered that the stream need to be changed to "true" so, I was'nt certain what the fix was...
I just removed the Manifest.xml from the directory, left the defaul template they way it was and it still works EXCEPT I still am not receiving audio...
I suppose I will just keep hacking away... I am wondering if I need to add Windows Media player on to the server to get Codecs or something...
I am hoping a moderator could jump in here and give me the "quick fix" to my audio problem....
Oct 23, 2010 05:26 PM|johndeu|LINK
I assume that you are using a web cam and Expression Encoder 4 in this case? Couple things to check.
Make certain in Expression Encoder that you selected an Audio source on the Live Sources Tabb in the Audio Device dropdown. It sometimes defaults to no-audio device selected. Make sure you selected the correct one also. You may want to test it by recording
to a file first to confirm that it is actually working with EE4 as expected.
In EE4, also make sure that an Audio codec is selected. On the Encode tab, under Output Format, there should be a check box next to the audio codec and you should be using either AAC-LC with H.264 video, or WMA with VC-1 video.
You do not need to have any codecs installed on the IIS Server. The IIS Media Services module doesn't care anything about the payload of the Smooth Streaming files that are being sent through it. We don't look into them at the server unless we are transmuxing
to the Apple HLS format in the IIS Media Services 4.0 release.
Finally, Shutdown and restart your publishing point on IIS before you start streaming to clear any old content and get the pub point in a started state. Once you start streaming, open a browser and enter the URL for the publishing point's .isml file and
add /Manifest to the end to view the manifest that is generated dynamically by the IIS Server. Make certain that there are two StreamIndexes in there. There should be a StreamIndex for video and one for your audio. If there is not an audio StreamIndex,
that is a clue that audio is not being generated by the encoder.
Another quick check if that is not working is to load a File Source instead of a camera source and try that to see if the audio is coming through. Just load a File Source in EE4, set it to Loop mode and Cue it up and start broadcasting. If that STILL
does not work - share the URL to your .isml/Manifest for me to look at.
Oct 23, 2010 07:11 PM|ragrone|LINK
Yes, if I record a file and upload I do get audio
At this time, for testing purposes I simply have my web cam pointed at the TV with my microphone from my headset (which is chosen as Mic High Def) next to the speakers....
I can see the video but no one has been able to hear audio
I have VC-1 Advanced selected with WMA however, I do not see any file with the name "manifest" being created on the server anywhere.... is this placed in a temp folder?
Oct 23, 2010 09:11 PM|johndeu|LINK
I checked your manifest and it has audio in it and looks fine. I also can play back your stream and I can hear that there is some kind of audio track there since I get an audio pop on startup and can hear a definite 'hissing' sound.
I tried to repro your settings on my own machine (VC-1 with WMA-Pro) and it appears to work just fine on my machine, so I'm still thinking that this is an audio input issue with the way your microphone is working with Expression Encoder.
Have you already tried to cue up a file only instead of the camera/mic and stream that successfully with EE4? In other words, can you get audio playback using just a file and take your microphone out of this scenario?
Any chance you can try to broadcast from another machine to check things out? Do you have a laptop with a mic that you could test?
Oct 23, 2010 10:43 PM|ragrone|LINK
Oct 23, 2010 11:02 PM|ragrone|LINK
That was it.... for one reason or another Encoder 4 is having a problem with identifying which input device is which, and selected the dead input that was enabled....
Never had this problem doing a screen capture using Encoder 3...
I think I am all set just need to work on some aspect ratios etc....
Final and quick question... I went and download Encoder 4 Pro and registered it since I had already purchased "3" following the instructions and all... now in order for me to deploy this for others to use on the site (their own publishing point) can I redistribute
this software and simply purchase a new license for each user? I noticed the license is only $49...
Thanks for all the help.... I have actually been toying around with this for months now but Encoder 4 Pro seems to have solved a lot of issues I was having locating live broadcasting software... thanks again...
Oct 25, 2010 04:06 AM|taptap|LINK
I am assuming that you have set the Audio source in EE4 and is using SMFv2.x for client player. If you have the audio coming out as source from somewhere then you can disconnect it from your computer and test if you are receiving audio. We came across that
issue once when we set the audio device set to off and were expecting the audio to come from the device. Other than that, didn't have the issue.
Oct 26, 2010 05:20 AM|ragrone|LINK
Last question and I will hopefully be all set....
Jan 06, 2011 03:57 PM|obayd8|LINK
I am having a different problem alltogether. I have managed to install IIS7 and media services pack fine on my Windows 7 professional operating system. I have also managed to set up live stream by playing an audio track on loop to the relevant publishing
point which in my case is livesmoothstream.ism. I downlaod the smoothstreaming player from this link
http://go.microsoft.com/?linkid=9752687. I changed the media source in the HTML file so it pointed to this
http://obayd-pc/livesmoothstream.ism. If I type the url
http://obayd-pc/smoothstreamingplayer.html this works fine I can hear my audio ok. But when I try to access this file by connecting to it by typing in my browser
http://obayd8.dyndns.org/smoothstreamingplayer.html I just get a blank player not playing any audio. Also if I type in my browser (IE8)
http://localhost/smoothstreamingplayer.html I get the same blank player. I am very confused by this also I am bit of a novice to IIS and smooth streaming so can you
help me with this. Your help will be greatly appreciated.
Jan 06, 2011 04:45 PM|johndeu|LINK
Is that stream still active at
I dont see the player requesting a Manifest in Fiddler.
Jan 06, 2011 05:43 PM|obayd8|LINK
Thanks for quick resposne sorry the live stream is not active at the moment. But i do have two different encoded streams one is the sample big bunny player which is active at
http://obayd8.dyndns.org/bunny/smoothstreamingplayer.html (ism file is
and the other encoded stream which I encoded myself usin expression encoder is
http://obayd8.dyndns.org/wildlife/smoothstreamingplayer.html (ism file for this is
http://obayd8.dyndns.org/wildlife/wildlife.ism). I am unable to get the live stream working but I think i know what the problem is which i can
fix later on. The two encoded stream i have provided I also get the same issue that they work locally but not externally.
Jan 06, 2011 05:49 PM|obayd8|LINK
http://obayd8.dyndns.org/smoothstreamingplayer.html is active now
Jan 06, 2011 06:16 PM|petergdot|LINK
I think you need to change the media source in the HTML file so it points to
http://obayd8.dyns.org/livesmoothstream.ism If you access the player from a different url.
Jan 06, 2011 06:43 PM|johndeu|LINK
I can't get your stream to play because you are pointing to a localhost path in your initParams for that player.
You need to change it to point to a publishing point that is accessible on the Internet.
<param name="InitParams" value="selectedcaptionstream=textstream_eng,mediaurl=http://OBAYD-PC/LiveSmoothStream.isml/manifest" />
Change it to this...
<param name="InitParams" value="selectedcaptionstream=textstream_eng,mediaurl=http://obayd8.dyndns.org/LiveSmoothStream.isml/manifest" />
I can request your manifest from there.
Jan 06, 2011 10:16 PM|obayd8|LINK
I got it to stream to
http://obayd8.dyndns.org/smoothstreamingplayer.html I made the relevant changes like you said. I had to change the publish point on the encoder as well as I had it down to pointed towards the localhost. Thanks guys for your help on this really appreciate
it as you can tell I am a novice to IIS 7 and web hosting.
If I may can I ask by playing the live audio stream using the encoder and live smooth streaming can this audio stream also be played on a internet radio. If not can you point me towards something which I can setup myself.
Thanks again for all your help
Jan 10, 2011 06:46 PM|rblove|LINK
Aug 19, 2011 04:10 AM|mateen654|LINK
Aug 19, 2011 02:17 PM|Johnscreek|LINK
Can you check that under your wwwroot, are there two files "clientaccesspolicy.xml and crossdomain.xml" ?
Aug 21, 2011 04:13 AM|mateen654|LINK
Aug 21, 2011 10:15 AM|mateen654|LINK
Feb 02, 2012 12:27 PM|marcio.munhoz|LINK
the same problem. You
Apr 14, 2012 06:04 PM|marc w|LINK
Jul 21, 2012 12:49 AM|amnckd|LINK