Re: Up- and Downstreaming of Windows Media Objects
- From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 20:49:01 -0400
From: "Alexander Mueller"
Could you tell me the names of the protocols in question?
RTSP, RTP, UDP?
UDP is just a trasport, over which RTP, a real streaming
protocol is built. RTSP is a signalling protocol and a
signalling protocol (either RTSP or anything simpler you can
come up with for your specific scenario) is required because
RTP is a push protocol without signalling capabilities.
However, those protocols are really hard to implement from
scratch and almost as hard to implement using third-party
libraries.
What kind of web-server will support these kind of
protocols?
None. Web server == HTTP protocol. If you want to use RTP or
something like that, you need a streaming server.
I searched msdn and think to have read, that Win2K3 is
required?
Is that true or does it only apply for Windows Media
Services?
WMS only runs on Windows Server (NT4.0, 2K, 2K3, 2K3R2 and
LH) so, if you plan on using WMS, you will need Windows
Server. RTP/RTSP is supported in WMS starting from v9, which
is bundled with 2K3 so, if you want to use RTP/RTSP, you
will need Windows Server 2003 or newer.
Is an 'ordinary' IIS or even Apache that is configured
for Windows Media MIME-types enough?
WMS is *not* a web server. It supports several streaming
protocols including MMS-over-HTTP pseudo-streaming, but even
that is not plain HTTP as supported by a web server. Same
applies to other streaming server, save maybe SHOUTcast
(which however is not useful for your needs).
There is a WM-Codec named 'Windows Media Video Screen
Encoder'.
I thought this is the right codec, probably highly
optimized for compressing screen pixels and it works with
DMO, that's why.
But your approach sounds much more promising.
All WM encoders are usable directly as DMOs or, indirectly,
through the WMWriter, including the MSSC encoder.
So the hardest part is to find out the srver requiremenst.
If you are willing to use WMS9 on Win2K3+, then you do not
need to program much. You can run WME9 to do the screen
capture and stream directly to WMS9 and optionally archive
the stream to file (or you can use the WMWriter object in
your own application to do the same), then WMS9 will
broadcast to WMP and compatible clients and optionally also
archive the stream. You can start the WMS9 broadcast either
in push or pull mode (the latter may require some coding
effort) and WMS9 supports several streaming protocols by
itself, including all WindowsMedia's MMS variants and
WindowsMedia's RTP/RTSP flavor.
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
.
- References:
- Up- and Downstreaming of Windows Media Objects
- From: Alexander Mueller
- Re: Up- and Downstreaming of Windows Media Objects
- From: Alessandro Angeli
- Re: Up- and Downstreaming of Windows Media Objects
- From: Alexander Mueller
- Up- and Downstreaming of Windows Media Objects
- Prev by Date: Re: WM/EncodingTime
- Next by Date: Re: WM/EncodingTime
- Previous by thread: Re: Up- and Downstreaming of Windows Media Objects
- Next by thread: Trying to get image buffers from axWindowsMediaPlayer
- Index(es):
Relevant Pages
|
Loading