472,983 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 software developers and data experts.

? How to - Stream audio and/or video via windows media player ?

Using VS 2003, VB.NET and/or ASP.NET 2.0,

BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
PROBLEM
My client now wants the application moved from a windows based app, to a web
app. My plan is to use redevelop the app in ASP.NET 2.0.

The biggest question I have is - how do I stream audio and/or video files
from my ASP server to the client? Will I need special software and/or
configurations on the server to allow streaming media?

Can someone point me to some web resources on this topic or better yet post
some example code?

Thanks for any thoughts?

celoftis
Oct 26 '06 #1
4 6153

"hz****@nopost.com" <hz*************@discussions.microsoft.comwrote in message
news:7F**********************************@microsof t.com...
Using VS 2003, VB.NET and/or ASP.NET 2.0,

BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
PROBLEM
My client now wants the application moved from a windows based app, to a web
app. My plan is to use redevelop the app in ASP.NET 2.0.

The biggest question I have is - how do I stream audio and/or video files
from my ASP server to the client? Will I need special software and/or
configurations on the server to allow streaming media?

Can someone point me to some web resources on this topic or better yet post
some example code?

Thanks for any thoughts?
If you want to stream media (as opposed to having them download it) you'll need
to install Windows Media Services. Windows Media Player can easily be embedded
into web pages.
Oct 26 '06 #2
Thanks for the quick reply.

Is Windows Media Services (WMS) somehing that I can install on my XP SP2 dev
machine or is WMS only for WinServr2003?

Also, is streaming some switch that I configure in WMS or is that something
I'll need to include in my ASP code?

"Mike Lowery" wrote:
>
"hz****@nopost.com" <hz*************@discussions.microsoft.comwrote in message
news:7F**********************************@microsof t.com...
Using VS 2003, VB.NET and/or ASP.NET 2.0,

BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
PROBLEM
My client now wants the application moved from a windows based app, to a web
app. My plan is to use redevelop the app in ASP.NET 2.0.

The biggest question I have is - how do I stream audio and/or video files
from my ASP server to the client? Will I need special software and/or
configurations on the server to allow streaming media?

Can someone point me to some web resources on this topic or better yet post
some example code?

Thanks for any thoughts?

If you want to stream media (as opposed to having them download it) you'll need
to install Windows Media Services. Windows Media Player can easily be embedded
into web pages.
Oct 26 '06 #3
To do the true streaming, and real control of the streaming, you'll need a
streaming media server. It'll only install on a server OS such as Win 2003
servers but not XP Pro.

You should only need to pass the audio clip url to the control that is
handling the playback. If it's a client-side control, you can always tweak
the parameters through some server-side code when passing it back the
client, create the object code dynamically server-side in other words.

If the file is on another site, you shouldn't need a streaming media server
due to the fact the server doesn't have control over it. Also, a typical
window media file will be in a streaming format and can do some things you
can do with a streaming file such as start/stop/pause, but it cannot do
fast-forwards since it's lacking that level of control on the stream.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"hz****@nopost.com" <hz*************@discussions.microsoft.comwrote in
message news:76**********************************@microsof t.com...
Thanks for the quick reply.

Is Windows Media Services (WMS) somehing that I can install on my XP SP2
dev
machine or is WMS only for WinServr2003?

Also, is streaming some switch that I configure in WMS or is that
something
I'll need to include in my ASP code?

"Mike Lowery" wrote:
>>
"hz****@nopost.com" <hz*************@discussions.microsoft.comwrote in
message
news:7F**********************************@microso ft.com...
Using VS 2003, VB.NET and/or ASP.NET 2.0,

BACKGROUND
I have a window forms based application that contains a TreeView
control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is
populated with
nodes that when clicked play an audio clip from specified local or web
URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object
AxWMPLib.AxWindowsMediaPlayer).
PROBLEM
My client now wants the application moved from a windows based app, to
a web
app. My plan is to use redevelop the app in ASP.NET 2.0.

The biggest question I have is - how do I stream audio and/or video
files
from my ASP server to the client? Will I need special software and/or
configurations on the server to allow streaming media?

Can someone point me to some web resources on this topic or better yet
post
some example code?

Thanks for any thoughts?

If you want to stream media (as opposed to having them download it)
you'll need
to install Windows Media Services. Windows Media Player can easily be
embedded
into web pages.

Oct 26 '06 #4
Out of curiousity, why type of project are you working on that requires
streaming media? Do you actually require the ability to do random
access from the client (e.g. ffwd/rewind, skip 'chapters', etc.)? Do
you need to do any monitoring of the stream and client behavior?

Dec 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: DMS | last post by:
I need to create some specifications and budget request for a workstation (G5) and all necessary hardware and software for authoring online college courses. The course material would contain short...
4
by: BobAchgill | last post by:
What is the best way to show a video file directly in a Form? Can I use functions of Windows Player in a Windows Form? Functions like: play video or show visualization for music, etc.
3
by: ray well | last post by:
hi, i'm looking for an audio component to add to a .net 2005 program, that could play all or part (starting at a certain point and ending at a certain point within a audio file) of a wav, midi,...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
3
by: John Piper | last post by:
Again, I am a beginer, and need help. Can some walk me through the steps to do the following: click a button, which will play a video file in WMP in fullscreen mode (launch player, not in a form)...
4
by: =?Utf-8?B?U2F0eWE=?= | last post by:
My PC crashed and I have installed windows XP SP2 again. Now audio is distored (it runs too fast) with all applications like Windows Media Player, Real Player, WIN DVD player, CD player. etc. What...
8
by: Tony K | last post by:
Is streaming audio capable in asp.net 2.0 / AJAX? What I mean by streaming audio is: ability to play one or more songs back to back...or maybe even let the user select several songs to play and it...
3
by: Ryan Liu | last post by:
Hi, I want to play Audio/Video in my C# application(standlalone, not web applicatoin). The source of multimedia may in different formats and decided by the end user, which I have no control. ...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Note: My apologies for repeating this post from last week, but my nospam alias and profile account were incorrect. I think I have fixed this, so hopefully this post will trigger MS into a response...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.