ant07ant / android-rtmp-client

Automatically exported from code.google.com/p/android-rtmp-client
0 stars 0 forks source link

Can't connect to Flash Media Server #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run H264Publisher app on android

the log out put from android is:

D/o*.r*.s*.n*.r*.BaseRTM*(18287): Writing 'connect' invoke: Invoke: Service: 
null Method: connect No params, invokeId: 1
D/o*.r*.s*.n*.r*.c*.RTMP*(18287): This is a pending call, send request
D/o*.r*.s*.n*.r*.RTMPMin*(18287): Session closed
D/o*.r*.s*.n*.r*.RTMPMin*(18287): RTMP state: RTMP [state=connected, 
client-mode=true, debug=false, encrypted=false, lastReadChannel=0, 
lastWriteChannel=3, readHeaders={}, writeHeaders={3=ChannelId: 3, Timer: 0, 
TimerBase: 0, TimerDelta: 0, Size: 256, DataType: 20, Garbage: false, StreamId: 
0}, readPacketHeaders={}, readPackets={}, writePackets={}, 
writeTimestamps={3=0}, liveTimestamps={}, readChunkSize=128, 
writeChunkSize=128, encoding=AMF0]
D/c*.r*.i*.n*.PublishCli*(18287): resultReceived:> connect
D/o*.r*.s*.n*.r*.BaseRTM*(18287): createStream - callback: 
com.ryong21.io.net.PublishClient@4053cda0
D/o*.r*.s*.n*.r*.BaseRTM*(18287): CreateStreamCallBack 
com.ryong21.io.net.PublishClient
D/o*.r*.s*.n*.r*.BaseRTM*(18287): connectionClosed
D/o*.r*.s*.BaseConnection(18287): Close, disconnect from scope, and children
E/c*.r*.i*.n*.PublishCli*(18287): connection  close  need test
D/TEAONLY (18287): stop recorder 
D/o*.r*.s*.n*.r*.BaseRTM*(18287): disconnect
D/o*.r*.s*.BaseConnection(18287): Close, disconnect from scope, and children

I get the same result with http://code.google.com/p/android-recorder/ 
application - the connection seems to be dropped after trying to createStream.

The full result of call to connect is:

D/c*.r*.i*.n*.NetClient(18447): resultReceived:> connect
D/c*.r*.i*.n*.NetClient(18447): resultReceived:> service name: null 
D/c*.r*.i*.n*.NetClient(18447): resultReceived:> result: null 
D/c*.r*.i*.n*.NetClient(18447): resultReceived:> status: 32 
D/c*.r*.i*.n*.NetClient(18447): resultReceived:> exception:  {} 

Original issue reported on code.google.com by energijapanikoj@gmail.com on 9 Jun 2011 at 1:44

GoogleCodeExporter commented 8 years ago
See the project 
http://livertmpjavapublisher.blogspot.com/2011/06/release-10.html

Original comment by vadym.vi...@gmail.com on 20 Jun 2011 at 3:34

GoogleCodeExporter commented 8 years ago
Yes, this client can only connect to red5 and crtmpserver(when set 
validateHandshake=false ).

Original comment by ryong.m@gmail.com on 23 Jun 2011 at 12:44

GoogleCodeExporter commented 8 years ago
could you tell me where to set validateHandshake=false? thx :D

Original comment by zpy88813...@gmail.com on 28 Oct 2011 at 8:23

GoogleCodeExporter commented 8 years ago
I also want to connect and publish files to FMS 4.5,

Is any thing done on this issue ? 

Original comment by santosh....@gmail.com on 6 Aug 2012 at 1:24