[Red5] onMetaData for live stream

Daniela Remogna daniela at docebo.com
Mon Apr 23 04:13:13 EDT 2007


Hi :-)
I'm wondering if onMetaData method works "also" for a live stream.
I need to get info about width and height of the published video.

I wrote a code like this but it doesn't work:

    in_ns1.play(user_id);
    
    in_ns1.onMetaData = function(info) {
     video0._width = info.width;
     video0._height = info.height;
    }

Anybody can help me?

Thanks in advance,
Daniela Remogna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070423/b422d436/attachment-0001.htm


More information about the Red5 mailing list