Solved

How to show live streaming video from RTSP server in asp.net website

Posted on 2014-10-11
4
1,878 Views
Last Modified: 2014-10-27
Hello Experts,


    I have an  RTSP server end point from which i need to show live streaming video in asp.net webpage , how do i achieve it. Please provide me some sample code to achieve it.


Thanks in advance for any suggestions and help.



Thanks:
Pramod M
0
Comment
Question by:Leverageconsulting
  • 2
4 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 40375966
if you already have a real time server then simply create a url i.e.
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" autoplay="yes" loop="no" width="300" height="200" target="rtsp://10.20.50.15:554/0/888888:888888/main" />
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab" 

Open in new window

style="display:none;"></object>
the important part is:
target="rtsp://10.20.50.15:554/0/888888:888888/main"

This is using the VideoLan codec.
vlc --logo-file C:\logo.png --logo-position 5 --logo-opacity 200 --logo-x 900 --logo-y -2 "mmsh://typeyoursourceIPhere:554" :sout=#transcode{vcodec=div3,vb=800,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=rtp{mux=ts,sdp=rtsp://:555/stream}} :sout-all :sout-keep

Open in new window


Souces and more
0
 

Author Comment

by:Leverageconsulting
ID: 40376575
Hello David,

Thank you for replying.

I am able to display rtsp stream visuals in web browser by creating URL as suggested by you in above code, but when i uninstall VLC media player in my PC i am not able to display the visuals and i am getting a message as shown in the screenshot attached.


1) How can i install vlc browser plugin without  installing vlc media player ?

2) Can you please explain on how can i use videolan codec in my asp.net web application ?

PFA

Thanks:
Pramod M
0
 

Author Comment

by:Leverageconsulting
ID: 40376578
Hello David,

Please find the Screenshot in the below attachment.


Plugin-NeededMessage.PNG
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40378866
Not something I really know about but jPlayer (very popular online player) can do RMTP streaming

http://support.jwplayer.com/customer/portal/articles/1430349-about-rtmp-streaming

Using VLC will require it to be installed.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now