Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get the bit rate of a stream

6 views
Skip to first unread message

Sean Green

unread,
Mar 22, 2011, 8:54:33 PM3/22/11
to
How do you get the bit rate of a stream that was created via a direct content file request. All the documentation has the below example which uses the Player.RequestedPlaylist. My problem is that I want the bit rate for a stream wherein the user is requesting a specific content file.

Here's the example that's in all the documentation:

Player = Server.Players[0];

// Retrieve the IWMSPlaylist object for the player.
// NOTE: A valid playlist file is not always returned.
// This may be the case, for example, if the user requested
// a specific content file or if a broadcast publishing point
// is being used.
Playlist = Player.RequestedPlaylist;

if (Playlist != null)
{
// Retrieve the IWMSActiveMedia object.
ActiveMedia = Playlist.CurrentMediaInformation;

// Retrieve the IWMSActiveStreams object.
ActiveStreams = ActiveMedia.Streams;


0 new messages