eli29121991 / rtmplite

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

Publishing to nginx rtmp module #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.
I try use module with nginx rtmp module.

python rtmpclient.py -d "rtmp://188.226.209.138/app?id=mystream"  2222.flv
RTMPReader.open timeout= 10 stream= mystream url= 
rtmp://188.226.209.138/app?id=mystream
NetConnection.connect url= rtmp://188.226.209.138/app?id=mystream host= 
188.226.209.138 port= 1935
Client.send cmd= <Command type=20 name='connect' id=1.0 data=<amf.Object object 
at 0x2384450> args=()> name= connect args= ()  msg= <Message header=<Header 
channel=0 time=0 size=None type=rpc (20) streamId=0> 
data='\x02\x00\x07connect\x00?\xf0\x00\x00\x00\x00\x00\x00\x03\x00\x0bvideoCodec
s\x00@o\x80\x00\x00\x00\x00\x00\x00\x0baudioCodecs\x00@\xa8\xee\x00\x00\x00\x00\
x00\x00\x08flashVer\x02\x00\x0eWIN 10,0,32,18\x00\x03app\x02\x00\x03a...(242)'>
NetConnection.connect result= <Command type=20 name=u'_result' id=1.0 
data=<amf.Object object at 0x2384b10> args=[<amf.Object object at 0x2384b50>]> 
fault= None
ffff
NetConnection.connect failed to do handshake True
result (False, "Cannot open source 'rtmp://188.226.x.x/app?id=mystream'")
Press any key to continue...

Original issue reported on code.google.com by duban...@gmail.com on 11 Apr 2014 at 2:02

GoogleCodeExporter commented 8 years ago
I'm try use with rtmplite server.
Same.

python rtmpclient.py -d 2222.flv "rtmp://localhost/app?id=mystream"
FLVReader.open 2222.flv
RTMPWriter.open timeout= 10 stream= mystream url= 
rtmp://localhost/app?id=mystream
NetConnection.connect url= rtmp://localhost/app?id=mystream host= localhost 
port= 1935
Client.send cmd= <Command type=20 name='connect' id=1.0 data=<amf.Object object 
at 0x16ae650> args=()> name= connect args= ()  msg= <Message header=<Header 
channel=0 time=0 size=None type=rpc (20) streamId=0> 
data='\x02\x00\x07connect\x00?\xf0\x00\x00\x00\x00\x00\x00\x03\x00\x0bvideoCodec
s\x00@o\x80\x00\x00\x00\x00\x00\x00\x0baudioCodecs\x00@\xa8\xee\x00\x00\x00\x00\
x00\x00\x08flashVer\x02\x00\x0eWIN 10,0,32,18\x00\x03app\x02\x00\x03a...(236)'>
NetConnection.connect result= <Command type=20 name=u'_result' id=1.0 data=None 
args=[<amf.Object object at 0x16aecd0>]> fault= None
ffff
NetConnection.connect failed to do handshake True
Client.connectionClosed
result (False, "Cannot open destination 'rtmp://localhost/app?id=mystream'")
Press any key to continue...

Original comment by duban...@gmail.com on 11 Apr 2014 at 2:07