Closed GoogleCodeExporter closed 9 years ago
Should be fixed in r39, version 7.0, where I assign nc.client and ns.client to
empty object so that onMetaData is ignored. The server calls onMetaData when
starting to play an existing FLV file for passing the duration and video codecs
information to the client.
Original comment by voiprese...@gmail.com
on 4 Feb 2011 at 11:20
Also reported by Вячеслав Мурашкин <mvjacheslav@gmail.com> on
Jun 28, 2010.
I am looking for lightweight rtmp server for Flash Video Player.
I've tried to use RTMPLITE to play *.flv video file with flowplayer
http://flowplayer.org/plugins/streaming/rtmp.html but server rejects
the connection.
I wonder if RTMPLITE can stream video through RTM to the flash player?
And if so what Flash Video Player can you suggest to use with RTMPLITE?
Thankyou for your project and waiting for your reply,
Slava.
---
Hello there!
I've figured out why I can't playback video from file using your testClient.
The problem described here:
http://www.adobe.com/devnet/flash/quickstart/metadata_cue_points/
And herer is a small fix for testClient.mxml:
private function play(name:String):void {
if (ns == null && nc != null && nc.connected) {
ns = new NetStream(nc);
ns.client = new Object(); // disable OnMetadata and OnCuePoint callbacks
ns.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler, false, 0, true);
ns.addEventListener(IOErrorEvent.IO_ERROR,
streamErrorHandler, false, 0, true);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
streamErrorHandler, false, 0, true);
ns.play(name);
remoteVideo.attachNetStream(ns);
}
}
Hope this will help to make your project better!
Slava.
---
Applied the patch in r39, version 7.0
Original comment by voiprese...@gmail.com
on 4 Feb 2011 at 11:41
Original issue reported on code.google.com by
voiprese...@gmail.com
on 4 Feb 2011 at 11:16