Search code examples
c#video-streaminghtml5-videohttp-live-streaminglive-streaming

C# - get rstp from video programmatically


I'm building a program Watch Online. I am looking for a way to get RSTP address in C #.

I tried to find solutions on Google and various forums, but have not found a solution.

The problem is I do not know how to get RSTP URL of a video, and I dont know of a function like

this in C #.


Solution

  • Maybe you want RTSP URL? At site that you've mentioned video goes over flash and as a rule it uses RTMP but not RTSP. Don't think it's possible to do in C# in a simple way, the easiest will be putting URL manually, you could get it via Wireshark with rtmpt filtering (Checkout Handshake C2 packet).