Steven Gong wrote:
> The default behaviour is to play 20s video. That is defined in
> oflaDemo app.
>
Ive managed to get it to play until the end, the on2_flash8_w_audio.flv
file, which is the star wars trailer. Streaming is fine referencing the
.flv files but referencing the live0 file it seems to have issues. Does
the server stream send metadata info aswell its not seeming to come through.
The issue we've discovered now is, the test videos we encoded to play
via the server stream, just comes up blank and took ages to load, where
referencing the file directly is fine. Is there any special requirements
for encoding the videos ?
Here is output of the console if it helps
[INFO] 24412 main:( org.mortbay.log.info ) Started
SelectChannelConnector @ 0.0.0.0:5080
[DEBUG] 24427 main:( org.red5.server.Standalone.debug ) Startup done in:
24429 ms
[DEBUG] 99451 IoWorker-4:( org.red5.server.Server.debug ) Check host and
path: 192.168.1.3/oflaDemo
[DEBUG] 99453 IoWorker-4:( org.red5.server.Server.debug ) Check wildcard
host with path: /oflaDemo
[DEBUG] 99455 IoWorker-4:( org.red5.server.CoreHandler.debug ) Connect
to core handler ?
[INFO] 99718 IoWorker-4:( org.red5.io.flv.impl.FLV.info ) File size: 657572
[DEBUG] 99906 IoWorker-4:(
org.red5.server.adapter.ApplicationAdapter.debug ) appConnect:
RTMPMinaConnection from 192.168.1.4:1155 to 192.168.1.3 (in: 3341, out:
3106)
[DEBUG] 99911 IoWorker-4:(
org.red5.server.adapter.ApplicationAdapter.debug ) appJoin: Client: 0 >>
[EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo']
[WARN] 100232 IoWorker-4:( org.red5.server.net.rtmp.RTMPHandler.warn )
Unhandled ping: Ping: 3, 0, 2000, -1
00 03 00 00 00 00 00 00 07 D0
It also constantly rebuffered
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Buffer.Empty
NetStream.Buffer.Full
NetStream.Buffer.Empty
Here is my playlist, the idea is to load files from a directory and
repeat them, this got stuck and hasnt repeated.
if (appScope == conn.getScope()) {
serverStream =
StreamUtils.createServerStream(appScope, "live0");
SimplePlayItem item = new SimplePlayItem();
item.setStart(0);
item.setLength(10000);
item.setName("video112K");
serverStream.addItem(item);
serverStream.setRepeat(true);
serverStream.start();
}
How do i manage to collect the video clip length also to send to this
method ?
item.setLength(10000);
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org