<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Video and Media</title><link>http://forums.silverlight.net/forums/20.aspx</link><description>Discussions about video and media in Silverlight applications</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: OnDemand live stream switching?</title><link>http://forums.silverlight.net/forums/thread/237201.aspx</link><pubDate>Wed, 24 Jun 2009 09:23:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:237201</guid><dc:creator>groatsey</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/237201.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=20&amp;PostID=237201</wfw:commentRss><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;I have a webservice in place to handle the playlist change, as you suggested, however, I experiencing some issues with stream change responsiveness.&lt;br /&gt;To isolate this issue I have a simple test project which points to an OnDemand publishing point which in turn points to the playlist (below).&lt;/p&gt;
&lt;p&gt;The xaml media element points to this (&amp;lt;MediaElement x:Name=&amp;quot;VideoElement&amp;quot; Source=&amp;quot;mms://server:49000/testODPP&amp;quot; BufferingTime=&amp;quot;00:00:00.000&amp;quot;/&amp;gt;)&lt;/p&gt;
&lt;p&gt;&amp;lt;?wsx version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;smil&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;seq id=&amp;quot;sq1&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;1&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream1"&gt;http://server:49000/SLLiveStream1&lt;/a&gt;&amp;quot; dur=&amp;quot;2&amp;quot; begin=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;2&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream2"&gt;http://server:49000/SLLiveStream2&lt;/a&gt;&amp;quot; dur=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;3&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream1"&gt;http://server:49000/SLLiveStream1&lt;/a&gt;&amp;quot; dur=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;4&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream2"&gt;http://server:49000/SLLiveStream2&lt;/a&gt;&amp;quot; dur=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/seq&amp;gt;&lt;br /&gt;&amp;lt;/smil&amp;gt;&lt;/p&gt;
&lt;p&gt;The first media item plays for 2 seconds in the Silverlight 2.0 player, however, the following media items linger for up to 8 seconds each.&lt;/p&gt;
&lt;p&gt;Is it possible I am missing some live streaming buffer configuration settings or other?&lt;/p&gt;
&lt;p&gt;Jamie&lt;/p&gt;</description></item><item><title>Re: OnDemand live stream switching?</title><link>http://forums.silverlight.net/forums/thread/236861.aspx</link><pubDate>Tue, 23 Jun 2009 15:49:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:236861</guid><dc:creator>gillesk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/236861.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=20&amp;PostID=236861</wfw:commentRss><description>&lt;p&gt;That could work, I&amp;#39;ve haven&amp;#39;t tried it though. You will most likely need to have a webservice running on the server to handle the playlist change since you can&amp;#39;t get to the IWMSPlaylist object from Silverlight directly.&lt;/p&gt;</description></item><item><title>Re: OnDemand live stream switching?</title><link>http://forums.silverlight.net/forums/thread/236692.aspx</link><pubDate>Tue, 23 Jun 2009 08:41:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:236692</guid><dc:creator>groatsey</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/236692.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=20&amp;PostID=236692</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;Thanks for the reply!&lt;/p&gt;
&lt;p&gt;I was trying to follow the &amp;#39;seamlessly switching&amp;#39; of Silverlight Server-Side Playlists described on MSDN: &lt;a href="http://msdn.microsoft.com/en-us/library/cc645037(VS.95).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc645037(VS.95).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I could &amp;#39;edit the playlist even while a client is viewing a stream identified by the playlist&amp;#39; i.e. swap between &lt;a href="http://server:49000/SLLiveStream1"&gt;http://server:49000/SLLiveStream1&lt;/a&gt; and &lt;a href="http://server:49000/SLLiveStream2"&gt;http://server:49000/SLLiveStream2&lt;/a&gt; without glitches then that would be great.&lt;/p&gt;
&lt;p&gt;I have tried the following without success:&lt;/p&gt;
&lt;p&gt;IWMSPlaylist.FireEvent&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/ms740339(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms740339(VS.85).aspx&lt;/a&gt;&lt;br /&gt;IWMSPlaylist.CurrentPlaylistEntry&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/ms740337.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms740337.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you confirm that using the Server Object / IWMSPlaylist Object should achieve my objective above? If so, could you tell me if there is a minimum time that a clip duration should last, to ensure seamless switching? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: OnDemand live stream switching?</title><link>http://forums.silverlight.net/forums/thread/236351.aspx</link><pubDate>Mon, 22 Jun 2009 15:39:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:236351</guid><dc:creator>gillesk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/236351.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=20&amp;PostID=236351</wfw:commentRss><description>&lt;p&gt;If I understand correctly, you want a client to be able to switch between two publishing points. This should be very easy and straight forward. The simplest way is to set the source of your MediaElement to the stream that you want whenever the user switches. This will cause the MediaElement to reset and switch stream, but will glitch. The other way, would be to use 2 media elements. While the first one is playing, you can hide and mute the second one, start connecting to the second stream, when you hit the MediaOpened event, you can then mute, hide and reset the first media element and show and unhide the second media element. This will glitchless, but for a short period of time you will use the bandwidth for both streams.&lt;/p&gt;</description></item><item><title>OnDemand live stream switching?</title><link>http://forums.silverlight.net/forums/thread/235094.aspx</link><pubDate>Thu, 18 Jun 2009 15:37:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:235094</guid><dc:creator>groatsey</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/235094.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=20&amp;PostID=235094</wfw:commentRss><description>&lt;p&gt;I need OnDemand Silverlight 2.0 clients to switch between 2 live streams.&lt;/p&gt;
&lt;p&gt;I am using Server 2008 Enterprise Edition and MS Expression encoder to create two live push Broadcasts mms://server/SLLiveStream1 and mms://server/SLLiveStream2.&lt;/p&gt;
&lt;p&gt;So far I have the Silverlight clients programmatically creating their own &amp;#39;unique OnDemand Publishing Points which point to their own &amp;#39;unique playlists&amp;#39;:&lt;/p&gt;
&lt;p&gt;&amp;lt;?wsx version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;smil&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;1&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream1%22/"&gt;http://server:49000/SLLiveStream1&amp;quot;/&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;media id = &amp;quot;2&amp;quot; src=&amp;quot;&lt;a href="http://server:49000/SLLiveStream2%22/"&gt;http://server:49000/SLLiveStream2&amp;quot;/&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;lt;/smil&amp;gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying many ways to achieve this, without success. &lt;/p&gt;
&lt;p&gt;Any help would be greatfully appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;</description></item></channel></rss>