What steps will reproduce the problem? 1. I create a little application in Flash8 to test the haxe_video server 2. I configurate the server with the port 2000 in the server.bat 3. I use this code :
var nc:NetConnection = new NetConnection() ;
nc.onStatus = function( oInfo ) { for (var prop:String in oInfo) { trace("* " + prop + " : " + oInfo[prop] ) ; } }
nc.connect( "rtmp://127.0.0.1:2000" ) ;
var ns:NetStream = new NetStream( nc ) ; ns.onStatus = function( oInfo ) { for (var prop:String in oInfo) { trace("* " + prop + " : " + oInfo[prop] ) ; } } ns.play("test.flv") ; video_mc.video.attachVideo(ns) ;
Key.addListener(this) ; onKeyDown = function() { trace("-------- pause") ; ns.pause() ; // The problem ! }
The pause don't work and close the connection with the server.
idem with the seek() method.
What is the expected output? What do you see instead?
In the cmd.exe console of the server i can read :
Client.hx:170: CONNECT Client.hx:196: CREATESTREAM Client.hx:260: COMMAND CClientBuffer<0>:1 Client.hx:213: PLAY 'videos/test.flv' Client.hx:260: COMMAND CClientBuffer<100>:1 Unknow command pause<ANull, AUndefined,ANumber<1071>> Called from hxvid/Server.hx line 81 Called from hxvid/Client.hx line 253
In the Flash output
- description : Connection succeeded.
- code : NetConnection.Connect.Success
- level : status
- description : Resetting videos/test.flv.
- code : NetStream.Play.Reset
- level : status
- clientId : 1
- details : videos/test.flv
- description : Start playing videos/test.flv.
- code : NetStream.Play.Start
- level : status
- clientId : 1
- level : status
- code : NetStream.Buffer.Full -------- pause
- level : status
- code : NetConnection.Connect.Closed
What version of the product are you using? On what operating system?
HaxeVideo beta 2 with Windows XP SP2 and FP8 version of the flash player.
Please provide any additional information below.
Good work Nicolas ;) Thanks for this application server !
EKA+ :)
Comment #1
Posted on Mar 31, 2007 by Happy MonkeyWill work on it
Comment #2
Posted on Mar 31, 2007 by Happy Monkey(No comment was entered for this change.)
Comment #3
Posted on May 14, 2007 by Happy Monkeyimplemented in beta 3
Status: Fixed
Labels:
Type-Defect
Priority-Medium