Closed notnola closed 9 years ago
Make sure the proxy is Socks4. Socks5 and HTTP proxies will not work.
yeah, it is socks4.
Do you get any errors?
No, no errors. Just no connection thru the proxy.
What OS and proxy provider (Tor?)?
Windows 7, and no - I had a friend set up a socks4 proxy server for me on his dedi.
Can you try another application, like XChat using the Socks4 server, just to make sure the problem is relevant to librtmp and not the Socks4 server itself?
I can confirm using the proxy in FireFox that the proxy server works.
_self.connection = librtmp.RTMP(self.url, socks=self.proxy, tcurl=self.tcurl, app=self.app, pageurl=self.pageurl, swfurl=self.swfurl, flashver=self.flashver, connect_data=connectdata)
this is the code I am using. I kno this is very simple stuff, but after trying and trying, i figured the problem must lie in python-librtmp
@chrippa - any word on this issue?
Apparently librtmp needs to have the socks option set before RTMP_SetupURL is called rather than before connect as I had assumed.
I have a sucessfull connection, but when adding socks=ip:port to RTMP() it does not connect thru the proxy.