Gstreamer Gsocket UDP - c++

I'm trying to connect to a RTP over UDP live video stream. I am trying to use the Gsocket to then apply to the udpsrc. I am unable to connect the the server with the Gsocket. Is there any suggestions anybody has to connect to the video stream?

Related

How to send and receive mp3 data using Qt UDP socket?

how do I send a 128kbps mp3 file at a rate of 128Kibps (16KiB / s) using UDP socket in QT. I searched for tutorials, but I found none. Thanks.

Send Gstreamer RTP packets using SIP

I have an RTP audio stream provided by gstreamer and I want to send them using a SIP communication. Does anybody know how can I do it? Do I need a SIP proxy like OpenSIPS?

Connect QMediaContent to RTP stream

I have created an RTP stream with ffmpeg and made the SDP file from what it printed out.
I can connect ffplay to the stream by reading the sdp file.
What is the correct url to give to QMediaContent to connect it to a RTP stream by giving it a local / remote SDP file?

Receive rtsp stream using gstreamer

I want to receive rtsp stream using gstreamer I knw rtspsrc can be used for this purpose but the problem is that it only receives it as a client but in my case i have a ffmpeg application which streams the video as a client and waits for a server to connect with it before streaming. So i want gstreamer to act as server and receive the stream from ffmpeg
I haven't used it myself, but I believe there is a separate package for RTSP server functionality. In Debian based systems it should be under something like:
libgstrtspserver-0.10-0

live555 problem while streaming over the internet

I've compiled with VS the live555 source code, and it works just fine if I try to stream locally a file
e.g.
Command Line:
live555.exe myfile.mp3
VLC Connection String
rtsp://169.254.1.231:8554/myfile.mp3
but if I try to stream it over the internet, VLC communicates with live555, but live555 won't send data to him
Command Line
live555.exe myfile.mp3
VLC Connection String
rtsp://80.223.43.123:8554/myfile.mp3
I've already forwarded the 8554 port (both tcp/udp) and tried to disable my firewall but this doesn't solve.
How is that?
To troubleshoot:
Are you streaming RTP over RTSP: have you checked the "Use RTP over RTSP (TCP)" option in VLC? You can check this in VLC under the preferences: input/codecs->Demuxers->RTP/RTSP. You can try to see if this solves the problem in which case it could be that UDP is blocked.
You speak of forwarding. Do you mean port forwarding from one machine to the RTSP server? if so-> if you are not doing RTP over RTSP, then you would also need to forward the ports for the media which is not the same as the RTSP port (554 or 8554). These ports are exchanged during the RTSP SETUP. If you do RTP over RTSP the media is interleaved over 554 or 8554 and you don't have to worry about this.
Also, another good debugging tool is the live555 openRTSP application. You can run it from the command line and specify "-t" for RTP over RTSP, which is basically what the VLC option does. You can specify "-T" for HTTP tunneling, etc and it allows you to write captured media packets to file, etc.