[Red5] sample player datagrid and red5 Logging

John Grden neoriley at gmail.com
Thu Dec 14 16:55:04 EST 2006


the only thing I can think is that you're not focused on that window?

If you look at the bottom of the mxml file, there's a OutputPanel node thats
commented out.  You can uncomment that and the Xray panel will show up
automatically.  Also, you can use the xray interface externally at :

http://www.rockonflash.com/xray/flex/Xray.html

That'll receive all the log statements as well.

On 12/13/06, joseph wamicha <jwamicha at gmail.com> wrote:
>
> Hi,
>
> 1. I downloaded John Grden's cool sample player from the following link:
> http://www.rockonflash.com/red5/demos/samples/Red5Samples.zip
> Connection to rtmp://localhost/oflaDemo works ok, but when binding to the
> DataGrid after getMediaList function sets the ArrayCollection, nothing
> happens to the grid. The ArrayCollection I think has the object collected
> from demoService.getListOfAvailableFLVs in red5 server. It doesn't load
> the contents of the ArrayCollection ie binding does not seem to be working.
> This is in the file: FLVPlayer.mxml. What could possibly be wrong, could
> anyone please give me a pointer please; do I have to redraw the screen for
> the datagrid binding results to appear? I'm sorry for these questions but
> I'm very new to flex2.
>
> 2. John Grden's sample player is working with a logger called Xray.
> However, when I press SHIFT+L to see what it's log output is, nothing
> appears? What would I need to configure so I can see the log output after
> pressing SHIFT+L.
>
> 3. I'd also really like to see what's happening on the server end when the
> client connects to the oflademo. I therefore threw configs for the
> log4j.properties file inside: webapps/oflaDemo/WEB-INF/log4j.properties .
> Unfortunately, I do not see debug options being logged to the console. What
> could I be doing wrong? I'd really be grateful if someone could give me a
> pointer on how to do DEBUG log in red5 oflademo app. The following are the
> properties I've set:
>
> # logging config, this should be auto reloaded by spring.
> # Set root category priority to DEBUG and set its only appender to
> oflademo
> log4j.rootCategory=DEBUG, oflademo
>
> # A1 is set to be a ConsoleAppender (writes to system console).
> log4j.appender.oflademo=org.apache.log4j.ConsoleAppender
>
> # A1 uses PatternLayout.
> log4j.appender.oflademo.layout=org.apache.log4j.PatternLayout
> log4j.appender.oflademo.layout.ConversionPattern=%-4r [%t] %-5p %c %x -
> %m%n
>
> Thanks.
>
> Cheers,
> Wamicha.
>
> --
> C is forever.
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>


-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061214/8e66d0d7/attachment-0001.htm


More information about the Red5 mailing list