google-code-export / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

Adobe media server to Red5 conneciton problem #521

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
On a fms server create a netconnection to a red5 server application through RTMP
nc = new NetConnection();
nc.connect('rtmp://ipserver/live', {var:'somevar'}); 

What is the expected output? What do you see instead?
A successfull connection
A non functional connection with 1.0.3
A disconnection with 1.0.0 and 1.0.1

What version of the product are you using? On what operating system?
Adobe Media server 5.0.1 r1076 Starter
Red5 1.0.0 to 1.0.3

Please provide any additional information below.
Here are logs from red5.log
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Player 
encryption byte: 3
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Detecting 
flash player version 128,0,7,1
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Player 
version byte: 128
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Scheme: 0 
client digest offset: 733
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Temp: 
53beade3eec07790c9890f9c810501813ce8a5a08b38f30824c0c0c8fcef9a27
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Scheme: 1 
client digest offset: 1325
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Temp: 
124ecdf1cb52eade631b8ea4ab9f98a25047fce185ca12bece2cee69f67694ac
[ERROR] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Unable to 
validate client
[INFO] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Invalid RTMP 
connection data detected, you may experience errors
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Using new 
style handshake
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Public key: 
73219308771542208877841553640026335217260446755198760217377274171561559963539266
00166460113492688047075318732689003081237597211253855347741716470849405610239661
25269906485363265791019931695931624968687391551403442571269737347646113661611799
73916594118168773064682838466735432199191225348039177865276783067
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Public key as 
bytes - length [127]: 
1ab14aad2b2a7803cd7855119c89bfe0301a8d53f68f273acdc298bbe4ee0834ba7878e373493382
c200917791bf44a631127486db1592d8c4e516c60744d6102b4a55304b533ddcc7a678f4783f269e
aaefe6cce1595270a3a0c95996acd940cccc329c676c254037288c83b00bcd4dd906e8692b3b4064
a0d2f5447179db
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandshake - Padded public 
key length to 128
[INFO] [NioProcessor-2] org.red5.core.Application - W3C x-category:session 
x-event:disconnect c-ip:192.168.10.164 c-client-id:0

Original issue reported on code.google.com by nligu...@gmail.com on 17 Sep 2014 at 10:18

GoogleCodeExporter commented 9 years ago
Your FMS server is not using one of the two known handshaking routines, it will 
not work until this additional style is reverse engineered.

Original comment by mondain on 8 Oct 2014 at 11:50