I am not too expert. But in the current state, I need to understand
how Red5's ApplicationAdapter's threads are created. Currently I am
just writing codes by modifying the OflaDemo.
Say, when
streamSubscriberStart, is invoked,
then get the ClientID, who requests this new stream,
Then, check his bandwidth,
Once it is found, start a new stream encoded accordingly with Xuggler,
And, convey him the published name of new stream.
Something like this should work.
I hope, other experts would correct this (Art is not happy today).