So the app I'm writing allows the user to record some
video, and clearly it's possible to record a video so
long that the index for that video won't fit in memory.
Mostly they're not likely to do that, and I don't mind
that it happens, but it'd be good if I could at least
notice it happening and report an "Out Of Memory" error
back to the client. Suggest they allocate more to Java,
or buy RAM chips or whatever.
The particular time it thows that exception for me
is in .../server/messaging/InMemoryPullPullPipe.java
and I guess I can alter the Red5 code there to set
a flag or something which the plugin for my app can
check periodically while waiting for that indexing
to see if it happend.
But that doesn't sound like a very elegent system,
and having to distribute a patched Red5 rather than
just the default install is a pain too of course.
Any better ideas out there?
Thanks,
Adam.........
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org