Hi Fabrizio,<br>I've not any experience of the rtmpsink element however I have two guesses that might help you along:<br><br>* RTMP cannot tunnel through HTTP, you need RTMPT variant. A quick gander through the source of rtmpsink suggests it support this protocol variant<br>
* rtmpsink uses mplayer library as a backend, so I would be unsurprised if it supported http_proxy environment variables<br><br>e.g.:<br><br>export http_proxy=http://proxy_server_name:proxy_server_port<br>gst-launch-0.10 ksvideosrc ! x264enc tune = zerolatency ! flvmux ! rtmpsink location = rtmpt://my_server_fms/live/gst_<div>
test</div><br><br>An easy way to test the efficiency of the environment variable here would be to configure netcat to listen and direct your proxy config that way<br><br>nc -l 1234<br>export http_proxy=<a href="http://localhost:1234">http://localhost:1234</a><br>
gst-launch-0.10 ksvideosrc ! x264enc tune = zerolatency ! flvmux ! rtmpsink location = rtmpt://my_server_fms/live/gst_<div>test</div><br>If you see an HTTP request popping up on STDOUT of netcat then you're on your way.<br>
<br>HTH<br><br><br><div class="gmail_quote">On 3 October 2012 11:30, Orione1974 <span dir="ltr"><<a href="mailto:orione1974@email.it" target="_blank">orione1974@email.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I need to send a stream protocol "RTMP" to a Flash Media Server, named for example "my_server_fms". I need to go through a proxy. I tried with a pipeline like this: "gst-launch-0.10 ksvideosrc ! x264enc tune = zerolatency ! flvmux ! rtmpsink location = rtmp://my_server_fms/live/gst_test".</div>
<div>In the component "rtmpsink" there is no parameter to indicate the proxy server. How can I do?</div><div><br></div><div>Kind regards</div><br>Fabrizio Ciavatta<br>------------------------<br>
<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>