[Moonlight-list] Newbie Question - Interaction between the Downloader and MediaPlayer classes

Rolf Bjarne Kvinge rolflists at ya.com
Tue Jul 21 07:21:50 EDT 2009


Hi,

 

So during playback the following occurs:

-          The pipeline requests a frame from the demuxer
(IMediaDemuxer::GetFrameAsync)

-          The demuxer reads data from the source (ProgressiveSource which
contains a Downloader, MmsSource / MmsDownloader) and calls
IMediaDemuxer::ReportGetFrameCompleted.

-          The pipeline sends the frame to the decoder
(IMediaDecoder::DecodeFrameAsync)

-          The decoder decodes the frame and calls
IMediaDecoder::ReportDecodeFrameCompleted.

-          The pipeline stores the decoded frame in a list.

-          MediaPlayer checks the pipeline if there’s a frame to draw
(IMediaStream::PopFrame) and renders the frame.

 

Rolf

 

From: Sriram Murthy [mailto:sriramsm at gmail.com] 
Sent: domingo, 19 de julio de 2009 1:38
To: Rolf Bjarne Kvinge
Subject: Re: [Moonlight-list] Newbie Question - Interaction between the
Downloader and MediaPlayer classes

 

Hi,
    I wanted to know where the downloaded data is being handed over to be
decoded and played back.
Regards,
Sriram

On Thu, Jul 16, 2009 at 10:48 AM, Rolf Bjarne Kvinge <rolflists at ya.com>
wrote:

Hi,

 

There is unfortunately no docs for the Moonlight media pipeline, you’ll have
to read the source code.

 

The media pipeline is also one of the most complex parts of moonlight, so in
order to help you it would be easier to know exactly what you’re trying to
accomplish.

 

Rolf

 

From: moonlight-list-bounces at lists.ximian.com
[mailto:moonlight-list-bounces at lists.ximian.com] On Behalf Of Sriram Murthy
Sent: miércoles, 15 de julio de 2009 19:56
To: moonlight-list at lists.ximian.com
Subject: [Moonlight-list] Newbie Question - Interaction between the
Downloader and MediaPlayer classes

 

Hi,
    I am new to Moonlight, and I will be glad if someone could answer this
question (or point me to some docs that has the answer).
    How does the packet that has been downloaded in Downloader/MmsDownloader
objects get handed over to the MediaPlayer object?. What member functions
get called?.

Thanks and regards,
Sriram

Checked by AVG - www.avg.com
Version: 8.5.387 / Virus Database: 270.13.12/2234 - Release Date: 07/15/09
06:07:00

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/moonlight-list/attachments/20090721/97684281/attachment-0001.html 


More information about the Moonlight-list mailing list