Skip to main content

Microsoft Silverlight

Answered Question How can i do a live video streaming in silverlight..RSS Feed

(0)

balukr54
balukr54

Member

Member

124 points

143 Posts

How can i do a live video streaming in silverlight..

hi all How can i do alive video streaming in silverlight? Regards Balu

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Re: How can i do a live video streaming in silverlight..

Hi

You can make it with Expression Encoder. What is the source of alive video streaming?

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: How can i do a live video streaming in silverlight..

Yes i downloaded the expression encoder.I am using camcoder.How can i show it in a silverlight page?

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Answered Question

Re: How can i do a live video streaming in silverlight..

At Encoder, main menu: View -> Live Enciding Mode. Then configure stream at the bottom of window. There are "Launch Preview" button to test streaming.

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

davidezordan
davidezo...

Contributor

Contributor

5686 points

873 Posts

Silverlight MVP
Answered Question

Re: Re: How can i do a live video streaming in silverlight..

Hi,

you can also refer to this article: http://blogs.msdn.com/jitghosh/archive/2007/11/30/demo-live-streams-in-silverlight.aspx

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: Re: How can i do a live video streaming in silverlight..

Hi all When i press launch preview button a webpage comes. but its asking to install silverlight.But i have silverlight already installed and other silverlight application are working in it?What is the issue? Regards Balu.

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Re: Re: How can i do a live video streaming in silverlight..

Hi Balu,

What version of Silverlight have you installed?

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: Re: How can i do a live video streaming in silverlight..

Hi I have SL 2.0.41005.0.. its the latest version. Regards Balu

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Re: Re: How can i do a live video streaming in silverlight..

hm... preview player use Silverlight 1. I've Silverlight 3 and all ok. I think problem is not in version of installed Silverlight. :(

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: Re: How can i do a live video streaming in silverlight..

hi i tried with silverlight 2 and 3. its not working in both. regards balu

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Answered Question

Re: Re: How can i do a live video streaming in silverlight..

You can create a Silverlight app. Put MediaElement at Page and set Source property to stream url. Something like mms://127.0.0.1:8080

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: Re: How can i do a live video streaming in silverlight..

hi Thanks for the help..I tried that its working. I am getting a delay of 8 - 10 sec.Is ther any way to reduce it.I read that there will a default delay of 5 sec. regards balu

bluemoon786
bluemoon786

Member

Member

4 points

2 Posts

Re: Re: How can i do a live video streaming in silverlight..

 How to create a Silverlight app. for this, can you provide me this app. ?

balukr54
balukr54

Member

Member

124 points

143 Posts

Re: Re: How can i do a live video streaming in silverlight..

Hi Create a Sl app Add media element to it Set source of media element to source ="mms://127.0.0.1:8080"(address of your streaming server 8080 is the port) eg regards balu

davidezordan
davidezo...

Contributor

Contributor

5686 points

873 Posts

Silverlight MVP

Re: Re: Re: How can i do a live video streaming in silverlight..

Hi bluemoon786,

as already described by balu, this is the xaml you should use:

<UserControl x:Class="SilverlightApplication1.Page"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d"

d:DesignHeight="300" d:DesignWidth="400">

<Grid x:Name="LayoutRoot" Background="White">

<MediaElement Source="mms://localhost:8080" AutoPlay="True"/>

</Grid>

</UserControl>

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

bluemoon786
bluemoon786

Member

Member

4 points

2 Posts

Re: Re: Re: How can i do a live video streaming in silverlight..

Thanks David

and Thanks balu

You Guys Really helpfull, do you know from where i can re stream mms link to other people, I mean any free service or website that provide re streaming for free?

 Thanks once again

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities