[Red5devs] wrapping streams from subscopes
Mikael Kopteff
mikael.kopteff at floobs.com
Thu May 22 23:29:27 PDT 2008
Hey everyone,
I need to wrap (or use as a source) a stream, that is located in a
subscope. Meaning, i wan't to create a serverside stream, that uses a
stream from a subscope as an input.
Stream to be wrapped:
/mychannel/substream/wrappablestream
has to be shown in also this stream:
/mychannel/mystream
And I am trying it out like this right now:
SimplePlayItem item = new SimplePlayItem();
item.setName("wrappablestream");
item.setStart(-1);
IServerStream stream = StreamUtils.createServerStream(sourceScope.getParent(), "mystream");
stream.addItem(item);
stream.start();
And of course this is not working(i can see the wrappable stream, but
mystream is not working), since i cannot say to the SimplePlayItem, that
the stream is in a subscope.
Any ideas how to do this? Am I missing something?
BR,
Mikael Kopteff
Floobs Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080523/36f2054d/attachment.html
More information about the Red5devs
mailing list