[Red5] Detect size changes in a video

Naicu Octavian naicuoctavian at gmail.com
Fri Nov 9 11:10:22 PST 2007


You should check the videoObject.width and videoObject.height properties .
Thats the only way to detect resolution changes in live video streams.

The onMetaData event is only triggered once during the start of prerecorded
videos.

-- 
Naicu Octavian,
Project Manager for AVChat
http://www.avchat.net

On 09/11/2007, Wanderlei Junior <wpajunior at hotmail.com> wrote:
>
> Hello there!
>
> Is there a way to detect changes on size of a video coming from a
> NetStream? I'm checking the videoWidth x videoHeight property of a video
> object. Is there some better way to do that?
>
> Thanks,
>
> Junior.
>
> ------------------------------
> Receba as últimas notícias do Brasil e do mundo direto no seu Messenger! É
> GRÁTIS! Assine já! <http://alertas.br.msn.com/>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071109/c8ecda86/attachment.html 


More information about the Red5 mailing list