zhangpeihao / gortmp

Implement RTMP protocol by golang
MIT License
523 stars 162 forks source link

Send RPC command to server #14

Closed anykao closed 9 years ago

anykao commented 9 years ago

I cant input zhongwen, so I will ask in English. I want to send command to FMS. But I have noticed that the outboundconnection.Call is unimplemented.

Can you give me some advice. By the way , thank you for this library. It help me a lot.

The real request looks like this.

image

zhangpeihao commented 9 years ago

I will append the 'Call' method into 'OutboundConnHandler' interface in next week. :)

zhangpeihao commented 9 years ago

I appended the "Call method" into both OutboundStream and OutboundConn interfaces. In your case, you should use the Call method of OutboundConn.

I only tested it in AMF0 format, if you have the environment of AMF3, I will be happy to test it.

anykao commented 9 years ago

Thank you for your help. I have check your code. And find it really helpful.