Open GoogleCodeExporter opened 9 years ago
It is probably because the client (newer flash clients) by default asks for
AMF3 object encoding but the server
sends AMF0. If you set NetConnection.objectEncoding to
flash.net.ObjectEncoding.AMF0 in the client
actionscript code and compile a new swf-file it should work.
Original comment by gkihl...@gmail.com
on 14 Jan 2010 at 3:39
I have checked out rubyizumi_0.12_r41 and tested it with my mp4 file.
1> check mp4 file with flvcheck(fms tools)
[root@host5 rubyizumi-read-only]# flvcheck 3.mp4
10-05-26 23:48:07 3.mp4 passed
2> use fms3 to bypass the handshake .
3> debug with Flash Player 10,0,45,2 and ObjectEncoding.AMF0
[root@host5 rubyizumi-read-only]# ruby server.rb -v1 -p1934 3.mp4
I, [2010-05-26T23:54:18.521537 #11044] INFO -- : Target
File:/download/rubyizumi-
read-only/3.mp4
I, [2010-05-26T23:54:18.522210 #11044] INFO -- : Server started.
Ver:RubyIZUMI/0,1,3,0 Pid:11044 Port:1934
I, [2010-05-26T23:54:24.105762 #11044] INFO -- : 192.168.1.100:3311 Connected.
I, [2010-05-26T23:54:24.966462 #11044] INFO -- : 192.168.1.100:3311 Play:
3.mp4
(File: /download/rubyizumi-read-only/3.mp4)
I, [2010-05-26T23:54:35.241688 #11044] INFO -- : 192.168.1.100:3311 Connection
closed.
I, [2010-05-26T23:54:36.146530 #11044] INFO -- : Exit.
[root@host5 rubyizumi-read-only]# ruby server.rb -v0 -p1934 3.mp4
I, [2010-05-26T23:54:39.816371 #11046] INFO -- : Target
File:/download/rubyizumi-
read-only/3.mp4
I, [2010-05-26T23:54:39.817054 #11046] INFO -- : Server started.
Ver:RubyIZUMI/0,1,3,0 Pid:11046 Port:1934
I, [2010-05-26T23:54:47.728447 #11046] INFO -- : 192.168.1.100:3318 Connected.
D, [2010-05-26T23:54:47.842024 #11046] DEBUG -- : <> handshaked 3.0.1
D, [2010-05-26T23:54:47.843591 #11046] DEBUG -- : > func:connect
D, [2010-05-26T23:54:47.844096 #11046] DEBUG -- : > flashVer:[10, 0, 45, 2]
D, [2010-05-26T23:54:48.023350 #11046] DEBUG -- : > #<RTMP::Packet:0xb7ef1dcc
@data="\000&%\240", @obj=0, @size=4, @data_type=5, @parsed_data=nil,
@timer=16675464, @types={}, @parsed=false, @frame=2>
D, [2010-05-26T23:54:48.039922 #11046] DEBUG -- : > func:createStream
D, [2010-05-26T23:54:48.053608 #11046] DEBUG -- : > #<RTMP::Packet:0xb7ef11b0
@data="\000\003\000\000\000\001\000\000\000\000", @obj=0, @size=10,
@data_type=4,
@parsed_data=nil, @timer=0, @types={}, @parsed=false, @frame=2>
D, [2010-05-26T23:54:48.054284 #11046] DEBUG -- : > func:play
D, [2010-05-26T23:54:48.054666 #11046] DEBUG -- : Loading...:
/download/rubyizumi-
read-only/3.mp4
I, [2010-05-26T23:54:48.616836 #11046] INFO -- : 192.168.1.100:3318 Play:
3.mp4
(File: /download/rubyizumi-read-only/3.mp4)
D, [2010-05-26T23:54:48.794149 #11046] DEBUG -- : > #<RTMP::Packet:0xb7496fe4
@data="\000\003\000\000\000\001\000\000\000d", @obj=0, @size=10, @data_type=4,
@parsed_data=nil, @timer=0, @types={}, @parsed=false, @frame=2>
D, [2010-05-26T23:54:49.899509 #11046] DEBUG -- : < time:4.281
D, [2010-05-26T23:54:50.931516 #11046] DEBUG -- : < time:5.313
D, [2010-05-26T23:54:52.147594 #11046] DEBUG -- : < time:6.529
D, [2010-05-26T23:54:53.491676 #11046] DEBUG -- : < time:7.873
D, [2010-05-26T23:54:54.727751 #11046] DEBUG -- : < time:9.109
D, [2010-05-26T23:54:55.951831 #11046] DEBUG -- : < time:10.333
D, [2010-05-26T23:54:57.179926 #11046] DEBUG -- : < time:11.561
D, [2010-05-26T23:54:58.415993 #11046] DEBUG -- : < time:12.797
D, [2010-05-26T23:54:59.636096 #11046] DEBUG -- : < time:14.017
D, [2010-05-26T23:55:00.868140 #11046] DEBUG -- : < time:15.249
still there is only sound no video.
pls help.
thanks.
Original comment by ipove...@hotmail.com
on 26 May 2010 at 3:56
Original issue reported on code.google.com by
ofrom...@gmail.com
on 2 Oct 2009 at 9:52