When you generate a media source for smooth streaming you may want to test whether it works with a default player. Here it is a great tool we provide for you to monitor the health of your video source: Smooth Streaming Health Monitor ( http://smf.cloudapp.net/healthmonitor ), built by an awesome developer Tim Greenfield. You could either use this player to test your media source (built with Microsoft Player Framework) or you could use the traffic dashboard provided in this health monitor to test your player and media source. This tool is great for you to debug and analyze your media application or media source. In figure 1 below, it shows how this tool looks like, and you could click for a larger view.
By using this tool, you could get stream information, retrieve logs (export to file), quality for the last sampling window as well as Smooth Streaming Media Element trace logs (export to file). In figure two, it shows all information you are getting.
Lastly at the bottom of the page, it shows a dashboard of the following attributes and it gets refreshed every second.
You could also connect to your own player build using Microsoft Media Framework. You have to add the following assemblies into your project:
- • Microsoft.SilverlightMediaFramework.Diagnostics
- • Microsoft.SilverlightMediaFramework.Plugins.Monitoring
- • Microsoft.SilverlightMediaFramework.Logging
- • Microsoft.Logging.LocalConnection
- That’s it! Your application will now automatically collect diagnostic information from the Silverlight Media Framework and send it out through a local connection which can be captured by the Health Monitor.
- To be able to use this tool to monitor your external player, you just need to:
- • Select “Connect to external player” in the upper right to change modes.
- • Click the Connect button that now appears in the upper right.
- Lastly, if you have any questions, here is a very detailed documentation on this health monitor.