Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You may not retrieve bitrate of a stream which was created without a playlist via the Windows Media Services SDK API


Symptoms

You are using a custom application based on the Windows Media Services SDK. In your application you can call the IWMSActiveStream method get_BitRate (C++) or IWMSActiveStream.BitRate (C# and VB.NET) to retrieve the bitrate of content which is not part of a playlist. You are unable to retrieve the bitrate for content that is not part of a server-side playlist.

↑ Back to the top


Cause

This is a limitation of Windows Media Services SDK. The Windows Media Services SDK does not provide an API for retrieving the bitrate of content that is not part of a playlist. 

↑ Back to the top


Resolution

You can get client player overall allocation (not individually) with IWMSServerCurrentCounters::get_PlayerAllocatedBandwidth (C++) or IWMSServerCurrentCounters.PlayerAllocatedBandwidth (C# and VB.NET). You can monitor the overall allocation with Performance Monitor's Current Player Allocated Bandwidth counter. 

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2547437
Revision : 1
Created on : 1/7/2017
Published on : 5/11/2011
Exists online : False
Views : 665