[Red5] Live Streaming, RAM Usage, Flash player

Daniel Rossi spam at electroteque.org
Thu Mar 27 09:13:09 PST 2008


Sorry i read the whole thing now. Maybe get a java client to feed in  
the icecast stream and publish to red5 ? Is that even possible ? Can  
(vod) mp3 be streamed over rtmp or is it http only ?

On 28/03/2008, at 3:38 AM, Gilles PIETRI wrote:

>
> Le vendredi 28 mars 2008 à 02:21 +1100, Daniel Rossi a écrit :
>> Ive seen the ram usage problem before. That was caused when i was
>> using some time formatter for the counter, it just went up and up.
>> What player did u use to test for the client ? Try a very basic
>> minimal client from the red5 examples and see if it still does it ?
>>
>
> Every flash player using RTMP as a streaming protocol I've tried were
> flushing the memory properly, including the one from the red5 demo,
> hence my conclusion. I had a video streaming for one hour and the  
> memory
> used by the browser hasn't increased at all.. If I do that using any  
> flv
> player and giving it an http stream, memory usage goes to the roof.
>
>
>> On 28/03/2008, at 2:02 AM, Gilles PIETRI wrote:
>>
>>> Hi,
>>>
>>> I've done some research and studied the way the flash player  
>>> behaves,
>>> and I have some questions that the Red5 community may help  
>>> answering,
>>> hopefully.
>>>
>>> I want a flash MP3 player for various reasons, mainly because its  
>>> high
>>> level of availability in the Joe Sixpack configuration. And I want  
>>> to
>>> feed it a live MP3 streaming (namely, shoutcast or icecast stream,
>>> using
>>> HTTP). If I use a flash player to play such a stream (http), it will
>>> not
>>> flush the memory, and I'll have to reinitialize the connection now  
>>> and
>>> then or use weird hacks in order to have it do so, otherwise it will
>>> just go on eating RAM as long as it plays (one hour will make it
>>> something like 90 MB at 192 Kbps e.g.).
>>>
>>> I guess there's not much I can do here, because it's all a flash
>>> logic,
>>> and I can't have control. I don't want a hack that will generate
>>> useless
>>> hits to my streaming servers, and I have seen flash players using  
>>> RTMP
>>> and flushing properly their memory, so I reckon it's possible that
>>> flash
>>> handles RTMP streams better than http streams.
>>> Here comes the first question: has anybody already noticed such a
>>> behaviour? Will a RTMP stream be better handled by the Adobe flash
>>> client, RAM-wise?
>>>
>>> Now, provided RTMP is a solution, I'm willing to use a tool like
>>> Red5 to
>>> stream some RTMP content to those nice flash players. Because I want
>>> them to be able to listen to my stream for hours (because it's so
>>> good! ;)) without fulling their RAM.
>>>
>>> So here are the last questions: how can I do to get an http (namely
>>> icecast) stream as input and feed it to red5 so it can stream it  
>>> using
>>> RTMP? Do I need to have a specific application to do so, or can it  
>>> do
>>> something like that out of the box? If not, has someone ever written
>>> such a thing?
>>>
>>> Kind regards,
>>>
>>> Gilou
>>>
>
> -- 
> Gilles PIETRI
> Responsable technique Fréquence3
> http://www.frequence3.fr
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list