<div dir="ltr"><div>Hello Simon,</div><div><br></div><div>I am by no means an expert on using gstreamer, the applications nor libraries, and I somewhat struggled to get things going.</div><div><br></div><div>I might be way off, totally wrong, but from what I understand is that tcpserversink is more like a mechanism/feature one uses to create an endpoint for (a) stream(s). (of course you can change that stream with all kinds of options). I believe it's intended use is more for when you have a whole bunch of streams and want to make one stream of it with multiple "channels" so you can direct that stream or it's channels elsewhere, as if it were an object as in coding. (I am sure I am totally wrong with the exact terminology). You would still have to "tap into it" by embedding it in some HTML object (regardless if you would use HTTP or HTTPS, because it is still a stream and not some well defined thing a browser would understand. At some point I was actually looking at apache server plugins to connect to a tcpserversink (I tried some other sinks too), but that got too complicated, I just wanted something that could display IP cameras in an HTML window/object and was not looking into moving around video streams most efficiently<br></div><div><br></div><div>I actually tried using it, and couldn't figure it out. That why I decided to use the thing that I sent earlier, it was easier for me to understand, and did what I want, embed a stream in to a browser, that most (preferably all) browsers would understand.<br></div><div><br></div><div>The stream I converted it into looks like a URL to a "movie file" and is "HTTP", I can do that because I access those cameras over a separate network, and nothing else is on it. Serving it just depends on how you set (for example) your apache server up. I guess you could stream using a HTTPS URI instead of a HTTP one, but it sounds like you would need some extra filters, a certificate etc etc etc. (and I didn't want to go there either.)</div><div><br></div><div>anyway, the thing I posted earlier seems to work for me, I never reallygot the tcpserversink mechanism to work for embedding a stream into a web page.</div><div><br></div><div>Ron<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 4, 2019 at 3:34 AM Simon Brown <<a href="mailto:simon.k.brown@gmail.com">simon.k.brown@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ron,<div>Thanks for that - I'm looking at tcpserversink now, and think it should do what I need, but there's very little documentation on it. One page I found suggests it will serve video to a TCP/HTTP connection. But if my page is HTTPS, can it also serve it over an HTTPS connection? And does the web browser then need to connect to two different ports (the standard HTTPS port and the video HTTP/S port)?</div><div><br></div><div>Cheers,</div><div>Simon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 Dec 2019 at 03:17, R C <<a href="mailto:cjvijf@gmail.com" target="_blank">cjvijf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p><tt>this is what I use, I do that in a daemon written in C
though:</tt></p>
<p><tt>"uridecodebin uri=%s name=d ! queue ! theoraenc ! oggmux
name=m ! tcpserversink host=192.168.x.y port=8080 d. ! queue !
audioconvert ! audioresample ! flacenc ! m."<br>
</tt></p>
<p><tt>where the %s in uri=%s, is the url of where your rtsp stream
is coming from.</tt></p>
<p><tt><br>
</tt></p>
<p><tt>Ron<br>
</tt></p>
<p><tt></tt><br>
</p>
<div>On 12/3/19 3:19 AM, Simon Brown wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">On Mon, 2 Dec 2019 at 20:12, alex_jeff <<a href="mailto:alexanderjefferson1993@gmail.com" target="_blank">alexanderjefferson1993@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
I need to send a stream to a webpage so that the user can
see the stream<br>
using a browser. I have already installed a webserver
(apache) on my target<br>
system (which is an embedded system running debian9), I have
spent hours of<br>
googling to find a solution, none of them were successful, I
was wondering<br>
if someone could make it clear whether this is possible or
not, if its<br>
possible, could you please give me an example for that. I
think I have<br>
already tried almost every related example I found on the
net.<br>
<br>
Best Regards,<br>
Alex.<br>
<br>
P.S: stability and latency really matter for my application.<br>
<br>
</blockquote>
<div>Hi Alex,</div>
<div>I've been trying to do the same thing, and have attempted
to use the gstwebrtc-demos sendrecv program. But I keep
getting errors when it's trying to connect.</div>
<div>But in theory that's the lowest latency option.</div>
<div><br>
</div>
<div>Let me know how you get on.</div>
<div>Regards,</div>
<div>Simon</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>