Skip to main content

MSDN

Streaming with proxy requiring authenticationRSS Feed

(0)

ifeelgood
ifeelgood

Member

Member

12 points

8 Posts

Streaming with proxy requiring authentication

Hello all,

we are currently using SL2 RTW to broadcast some live surgical events.

While testing the platform with some on-demand videos we encountered some strange problems with proxies.

It seemes that when the mediaelement tries to connect to an http:// or mms:// stream and the client machine is behind a  proxy, silverlight doesn't pass to the proxy the required credentials (used to access the web page) but instead it connect to the proxy without credentials or with anonymous authentication.

In this way the proxy doesn't accept and drop the connection (AG_E_NETWORK_ERRROR 4001 error).

We arrived at this conclusion from the informations that some proxy administrators gave us.

Here are some details:

-Our SL apllication uses Expression Encoder 2 SP1 Deault Player Template Control

-The player sources from an aspx page to receive the real streaming url (both the ClientBin and tha aspx page are on the same domain)

-The aspx page returns a generated asx whic points to another domain for the video (for example Akamai or others)

All is functioning perfectly but some customers with proxies that requires authentication have this kind of problem within the Silverligh plugin, but if they put the same streaming url in Windows Media Player then WMP opens the popup for entering proxy credentials and all goes well.

 Desperatly seeking help :)

Thanks in advance

ifeelgood
ifeelgood

Member

Member

12 points

8 Posts

Re: Streaming with proxy requiring authentication

up

gillesk
gillesk

Member

Member

304 points

67 Posts

Re: Streaming with proxy requiring authentication

Unforunately, Silverlight doesn't support streaming through authenticating proxies.

Development Lead | Microsoft

ifeelgood
ifeelgood

Member

Member

12 points

8 Posts

Re: Re: Streaming with proxy requiring authentication

Thanks for the reply,

is it planned (I personally think it is a must have feature to reach business clients) or can you give some roadmap details?

Regards

gillesk
gillesk

Member

Member

304 points

67 Posts

Re: Re: Streaming with proxy requiring authentication

I cannot give a roadmap but it is something that we have heard a lot of feedback about and is on our radar.

Development Lead | Microsoft

ifeelgood
ifeelgood

Member

Member

12 points

8 Posts

Re: Re: Re: Streaming with proxy requiring authentication

Thanks again,

hope to be introduced soon, as it causes a lot of headaches. Cant think of a business client that is not behind a proxy (banks, hospitals, industries) and this limits SL penetration and high end multimedia usage.

Also the "Proxy Servers and Streaming in Silverlight" section in the official documentation is misunderstanding as it states:

"As a result, as long as users are able to browse the Web using Internet Explorer, they can be guaranteed that streaming in Silverlight will work correctly."

This is partially true (not true under authenticated proxies), maybe documentation needs to be updated.

Thanks a lot.

barryhagan
barryhagan

Member

Member

6 points

3 Posts

Re: Re: Re: Streaming with proxy requiring authentication

Looks like this is not high enough on the radar since it did not make it in SL3.  So let me add a "me too" on behalf of the thousands of customers we have behind proxy servers that cannot use our product.  The lack of support in Silverlight for proxy authentication is a show stopper for delivering live video to corporate networks.

 

 

Crybouille
Crybouille

Member

Member

22 points

9 Posts

Re: Re: Re: Streaming with proxy requiring authentication

 Up !

  gillesk have you some news ?

 Regards,

 boLT.

 

 

 

Mike4268
Mike4268

Member

Member

36 points

30 Posts

Re: Re: Re: Re: Streaming with proxy requiring authentication

I'm having the same problem - I can't find a way to use Windows Media Services and Silverlight in my web application and require that a user be logged in to the web application for them to access the WMS server. However - I can use authentication and progressive download over http. (Cutting out Windows Media Services) I also think it might be possible to write a plugin for WMS, but I cannot find a single working example and the documentation is miminal at best.

Console82
Console82

Member

Member

2 points

1 Posts

Re: Re: Streaming with proxy requiring authentication

Is there anyting new concerning these problems in silverlight 4? What about the mentioned radar? 

gillesk:

I cannot give a roadmap but it is something that we have heard a lot of feedback about and is on our radar.

 

I totally agree, that it is a "must have feature" for business clients, if I want to adress a wide range of consuments - or am I forced to use Flash instead?!?

raynebc
raynebc

Member

Member

2 points

1 Posts

Re: Re: Streaming with proxy requiring authentication

Ditto.  I installed the latest Silverlight today, and immediately ran into the same problem.  I had no solution besides having the user change to a non authenticating proxy server.  This is not a good solution and I agree that it will limit the spread of Silverlight in many environments.

  • Unanswered Question
  • Answered Question
  • Announcement