<br clear="all">Hallo all, <br><br>I am quite new for libav, hope you dont mind if the question too simple for you.<br><br>Currently I am using libav to decode audio stream from internet. Having tested it by local files and internet stream it runs well.<br>
the function avformat_open_input(), has filename parameter which I simply pass the local file address like "c:/temp/file.mp3" or url address like<br>"http://...." . <br><br>My problem is how to pass the file path if I need to pass a proxy? of course the proxy address and port is known.<br>
from http.c file which is in libav source files, I found inside it has defined dealing with http protocol and proxy, so I am sure somewhere must be a way to set up proxy parameter<br>by using libav. Unfortunately didnt find anything useful. From ffmpeg documentation, only one paragraph briefly states that "by using http_proxy, it is useful to set proxy..." that makes <br>
no sence for me...<br><br>anyone who knows how to deal with this problem?<br>Thanks in advance.  <br>-- <br><b><div><span style="font-weight:normal"><b><div style="display:inline!important"><b>Best regards</b></div></b></span></div>
<div><b>--------------------</b></div><span style="font-weight:normal">Mr. Gao Yuan</span></b><div>Uni-Stuttgart Infotech CEMT</div><div>TEL: 017656442259</div><div><a href="mailto:MSN%3Agaoyuanyes@gmail.com" target="_blank">MSN:gaoyuanyes@gmail.com</a></div>
<br>