Multiple WMV in a C# form play - Audio access problem - TechRepublic
Question
January 29, 2008 at 04:54 PM
mcnwilliams

Multiple WMV in a C# form play – Audio access problem

by mcnwilliams . Updated 18 years, 5 months ago

Hi

I have an application built using C# in which I have embedded 4 WMV players in one form that are all connected to different WMV streaming video sources.

I have a play button for each of the video sources. If I press the play button of each of the embedded players, the video from each source is seen. However, the audio from each source combines. I would only like to hear the audio from the last source I played.

Does any one know how I can select the audio that is heard on my speaker. Ideally the audio should I hear should be the audio from the embedded wmv player that was the last to have it’s play button pressed.

Would a mute call to the unwanted audio souces work and not mute all the audio?

I am using the Windows media player SDK to embed the players in the form and access the streams.

thanks in advance.

This discussion is locked

All Comments