473,324 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 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 6223

"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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.