Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6619361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:57:26+00:00 2026-05-25T20:57:26+00:00

Here is the problem: I have a Silverlight application where we would like to

  • 0

Here is the problem:

I have a Silverlight application where we would like to play 8 Silverlight MediaElements at once. All are playing .MP4 videos.

The first 6 will load almost immediately, and have the MediaOpened within a second or two. The remaining 2 will sometimes (not always) take minutes before playing / reporting that they are ready to play.

If I just play 6 or less, there seems to be no problem.

Here is what I’ve found:

1) There is no relation to the files. I can switch the order of the MediaElements and the first 6 I attempt to open will open just fine and the remaining will block.

2) There isn’t necessarily a bandwidth issue (I tried compressing the files down to almost nothing and the same thing happened).

3) This isn’t an IIS issue (my server), I don’t think, since I’ve maxed out simultaneous connections.

4) My client machines are not pegged at all. The network is consistent at 25%, so it’s possible the remaining 2 are being starved out there, but what’s magic about the 7th and 8th?

Code

My code seems unimportant, but I will include it because people seem to like it when you do:

foreach ( String Uri in UriList )
{
   //For every URI we create a new MediaElement.  In our test case this is 8 always.
   MediaElement newMediaElement = new MediaElement();

   // We use MediaOpened as our 'ready to play' event.  Buffering remains at 0 for the 
   //  two streams that don't work.
   newMediaElement.MediaOpeened += new System.Windows.RoutedEventHandler(stream_MediaOpened);

   //Set the source and add it to some list to be added to a grid later...
   newMediaElement.Source = uri;       
   MediaElementList.Add( newMediaElement );
}

Following this the MediaElementList gets added to a Grid defined in XAML.

If people think more code will be helpful I’ll add the specific parts. Like I said, I don’t think the code will be useful, but you never know…

Other research

Other people have this problem, but we haven’t found a solution. We’ve seen this and this and this, but none of them give any answer other than they don’t know.

EDIT: Okay, so there’s a limit of 6, as Kevev points out. Does anyone know of any way around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:57:27+00:00Added an answer on May 25, 2026 at 8:57 pm

    The Silverlight 4 HTTP networking stack is limited to 6 concurrent connections.

    See here under the Client HTTP Processing section:

    Concurrent connection limit is raised from 2 to 6

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

all. I have a problem with uploading of the file in Silverlight application. Here
Here's my problem - I have some code like this: <mx:Canvas width=300 height=300> <mx:Button
Here is the problem: We have all of our development under subversion, but our
Here's my problem: I have do create a menu/list of actions (which would be
I have silverlight application, where I use Entity Framework(PostgreSQL) and WCF(not RIA). Here is
I have a Silverlight 4 Beta application where I'd like to use the SharePoint
Here is the problem I have: I have a lot (tens of thousands) of
Here's my problem: I have a virtual method defined in a .h file that
Here is the problem: we have lots of Javascripts and lots of CSS files,
Here's my problem: I have to call a web service with a secure header

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.