Streaming audio from a C # video server

I have a video server with IP: 192.168.1.XX It has 3 possible formats JPEG, MPEG-4 or H.264

The video server broadcasts video (with sound) in real time

I have no problem streaming video with AFORGE lib but I also need to stream audio

The video server has several protocols: HTTP, RTSP, RTP, RTCP

according to the user manual, RTSP is a protocol that I have to use to get MPEG-4 (audio and video), but I did not find anything to transfer RTSP to C #, so I'm trying to transfer audio and video separately

ports:

RTSP: 554 RTP (video): 5556 RTP (Audio): 5558 RTCP (video): 5557 RTCP (audio): 5559

Does anyone know how RTP works or how I can get sound from a video server?

+3
source share
2

gstreamer. , , #. Windows .net. Windows, gstreamer - , , .

gstreamer , , :

your video src -> x264enc or ffenc_mpv4 -> rtph264pay or rtpmp4vpay -> udpsink

your audio src  -> ffenc_aac or preferably a lower latency codec like mULaw -> rtppay -> udpsink

.. . rtpbin , rtp.

:

http://gstreamer.freedesktop.org/

, rtp:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html

, . rtp - COM, GStreamer .

+1

https://net7mma.codeplex.com/

- #, RtpPacket, , , .

0

All Articles