List Info

Thread: Buffering Issue




Buffering Issue
country flaguser name
Hong Kong
2007-03-06 06:40:59
Hi,
 
I have written SWF File format and Render Plugins. File format doesn't support Back channel.
 
Status:
*******
    a) After OnBegin call in SWF Render Plugin, I started the FLASH Engine to get the frames. And I got the frames from Engine. Received frames from FLASH Engine is in RGB565 format. And I set initialGranularity to 50.
 
Problem:
********
   ; a) But How do i inform to Client that frame is ready ?
 
As because I didn't inform to Client Engine about the status, Its keep on calling OnBuffering method.
So I want to know
 
 ;     a) But How do i inform to Client that frame is ready ?
   ;   b) When GetPacket / OnPacket Method will be called by Client ?
 
Thanks & Regards,
P.Sriniamul.


Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
RE: Buffering Issue
country flaguser name
United States
2007-03-06 08:34:07


=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: helix-client-dev-bounceshelixcommunity.org 
> [mailto:helix-client-dev-bounceshelixcommunity.org] On 
> Behalf Of srini amul
> Sent: Tuesday, March 06, 2007 7:41 AM
> To: Helix Development
> Subject: [Helix-client-dev] Buffering Issue
> 
> Hi,
>  
> I have written SWF File format and Render Plugins. File

> format doesn't support Back channel.
>  
> Status:
> *******
>     a) After OnBegin call in SWF Render Plugin, I
started the 
> FLASH Engine to get the frames. And I got the frames
from 
> Engine. Received frames from FLASH Engine is in RGB565

> format. And I set initialGranularity to 50.
>  
> Problem:
> ********
>     a) But How do i inform to Client that frame is
ready ?
>  

What kind of packets is your fileformat plugin producing,
or
is it producing packets at all?

Normally video-type renderers work like this: the
fileformat
produces packets where the timestamps roughly correspond
to frame times. The client engine passes these packets to
the
renderer at preroll milliseconds before the playback time.
The renderer then decodes these packets to produce frames.
The client engine then calls OnTimeSync() to let the
renderer
know the master timeline. At the appropriate time, the
renderer calls IHXSite::ForceRedraw() and the client engine
will call back with IHXSiteUser::HandleEvent() with a
surface
update event. The renderer gets the IHXVideoSurface or
IHXVideoSurface2 from the event and blts the frame to
the video surface.

Eric


> As because I didn't inform to Client Engine about the
status, 
> Its keep on calling OnBuffering method.
> So I want to know
>  
>       a) But How do i inform to Client that frame is
ready ?
>       b) When GetPacket / OnPacket Method will be
called by Client ?
>  
> Thanks & Regards,
> P.Sriniamul.
> 
> ________________________________
> 
> Cheap Talk? Check out 
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*h
ttp://us.r
> d.yahoo.com/evt=39663/*http://voice.yahoo.com>
  Yahoo! 
> Messenger's low PC-to-Phone call rates.
> 


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )