By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,022 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,022 IT Pros & Developers. It's quick & easy.

I have problem whis Windows Media Services 9 Series.

P: n/a
I have problem whis Windows Media Services 9 Series.

I have videostream, which will consist of two streams(512k/bit and
256k/bit).I need to allocate a stream 256k/bit. In SDK is written:

Supporting Multiple Bit Rate Files
Several versions of the same audio or video content can be stored in
separate streams, encoded at different bit rates, in a Windows Media file.
When a Windows Media player connects to an origin server, it requests only
one each of the possible audio and video streams, based upon the available
bandwidth of the connection. However, if a distribution server or cache
proxy server connects to download content, it requests all of the multiple
bit rate streams. Because the origin server attempts to deliver all of the
packets in real time, the download can fail if bandwidth limitations are
exceeded. To address this problem, your plug-in can specify a download rate
that is slower than real time when it calls the
IWMSCacheProxyServer::DownloadContent method.

But not examples on C#, how to receive object IWMSCacheProxyServer.

But object IWMSServer has similar method:

IWMSServer.DownloadContent(
string strSrcURL,
string strDestFile,
int lContentSizeLow,
int lContentSizeHigh,
int lBitRate
);

Last parameter limits a passband.

WMSServerLib.WMSServer Server;

Server.DownloadContent("http://172.18.68.147/en_TEST555_cam1","C:\\cam1\\123333_cam1"+"<d>.<m>. <Y>
<H>.<M>.<S>.wmv",0xFFFF,0xFFFF,0xff);

But this does'n work, cannel passes both streams.

Nov 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I saw this posting in the following groups:

microsoft.public.dotnet.framework.windowsforms.des igntime
microsoft.public.dotnet.general
microsoft.public.dotnet.languages.csharp

When you post a message to multiple groups, please post all
of them at once. That way, if someone in one group provides
a solution, the solution will be posted to all of the groups.
Also, if someone in another group is working on a solution,
they will know it has been solved, and they can work on
helping somebody else.

It also helps you if you post it to a group that is pertinent
to the message.

Thanks.
Robin S.
-----------------------------

"vera esaulova" <tm*@mail.ruwrote in message
news:O4**************@TK2MSFTNGP06.phx.gbl...
>I have problem whis Windows Media Services 9 Series.

I have videostream, which will consist of two streams(512k/bit and
256k/bit).I need to allocate a stream 256k/bit. In SDK is written:

Supporting Multiple Bit Rate Files
Several versions of the same audio or video content can be stored in
separate streams, encoded at different bit rates, in a Windows Media file.
When a Windows Media player connects to an origin server, it requests only
one each of the possible audio and video streams, based upon the available
bandwidth of the connection. However, if a distribution server or cache
proxy server connects to download content, it requests all of the multiple
bit rate streams. Because the origin server attempts to deliver all of the
packets in real time, the download can fail if bandwidth limitations are
exceeded. To address this problem, your plug-in can specify a download
rate
that is slower than real time when it calls the
IWMSCacheProxyServer::DownloadContent method.

But not examples on C#, how to receive object IWMSCacheProxyServer.

But object IWMSServer has similar method:

IWMSServer.DownloadContent(
string strSrcURL,
string strDestFile,
int lContentSizeLow,
int lContentSizeHigh,
int lBitRate
);

Last parameter limits a passband.

WMSServerLib.WMSServer Server;

Server.DownloadContent("http://172.18.68.147/en_TEST555_cam1","C:\\cam1\\123333_cam1"+"<d>.<m>. <Y>
<H>.<M>.<S>.wmv",0xFFFF,0xFFFF,0xff);

But this does'n work, cannel passes both streams.

Nov 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.