Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi ..

how do i stream ip camera on website using asp.net c# ..
i tried this code but i didnot recive nothing
pls help .
my code like ..

<html>
  <head>
    <title> hhhhh </title>
  </head>
<body>
  <img src="rtsp://admin:Aa123456@192.168.1.100:554/" height="50%" width="200px"/>
</body>
</html>


What I have tried:

hi ..

how do i stream ip camera on website using asp.net c# ..
i tried this code but i didnot recive nothing 
pls help .
my code like ..

<pre><html>
  <head>
    <title> hhhhh </title>
  </head>
<body>
  <img src="rtsp://admin:Aa123456@192.168.1.100:554/" height="50%" width="200px"/>
</body>
</html>
Posted
Updated 4-Dec-21 1:26am

1 solution

According to a remark here: video - Streaming via RTSP or RTP in HTML5[^]
Quote:
you cannot just put a video tag on an html 5 page and play rtsp. You need to use a Javascript library of some sort
But I did find a C# library that might be usefull to you: NuGet Gallery | RtspClientSharp 1.3.3[^]

Another option might be to use openRTSP[^] to convert the stream to .MP4 format.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900