rtp and rtsp player integration to browser - rtsp

I am trying to build a web service that will stream music over a web browser.
I got a server running to open up a web page that says "hello world".
The problem is that I do not understand what I need to put in the web page to start a rtp session.
I understand that I need some sort of player on the web page I'm opening but I do not understand how to make that player or how to show it up on the web page.
can someone help me?

A little late to the party here, but ...
You will need a player of some kind.
Currently, the browsers do not support playing a live RTP stream. I've done some work in this area and it has required that I transcode the video to FLV for it to be viewable in many of the free flash players (i.e. JWPlayer, Flowplayer, etc.).
You could also write a custom browser plugin to read the RTP stream and display it in the browser but that would be sizeable undertaking.

Related

Live streaming a web page with video/audio elements

i am trying to do a website/browser livestream on a headless linux, but couldn't find a good solution yet.
Headful example: In OBS Studio you can add a Browser Source of a web page that includes video/audio and stream this content live out.
So what i basically want is like a headless version of this.
I tried a bit with phantomjs and chrome-headless, but these tools are not supporting video or audio outputs in headless mode. If there is an alternative that can output a web page stream with video/audio would be awesome.
This output can then piped to ffmpeg and launch a rtmp stream :)
Thanks!

How to go about recording a livestream in python

I'm trying to write a python script to record and save segments of a live stream for research purposes. I know how to do it for mainstream platforms such as YouTube, but I'm not sure how to do it on this site.
Here's the video link:
http://cwwp2.dot.ca.gov/vm/loc/d3/hwy80atdonnersummit.htm
Thanks for your help!
Its not "recording" a video its just downloading. That site uses HLS. Any HLS downloader should work. But you need to get the URL form the m3u8 file.
Start by viewing the network tab of the browser, and the sites source code, You can then see how the browser plays it, then develop your script from that.

How to make Azure Media Service hosted video auto play on mobile?

I am working on a project where by we are hosting and streaming video through Azure Media Service.
There is a particular video we have positioned as the hero background upon entry to the site. On desktop the video auto-play's and streams just fine but on mobile it does not autoplay at all. It simply showcases the preview image.
I'd love to be able to paste a link to the site but unfortunately due to the confidentiality of the project I am not able to. However, if there is something in particular you'd like me to post to help support the question please let me know.
The web-app is build using Angular.
Does anyone know how to fix this problem? or can point me in the right direction?
Check with the browser platform you are targeting on the mobile applications. Most mobile browsers have disabled autoplay. User MUST now initiate all playback actions.
Since the release of iOS 10 Apple has allowed muted video autoplay: https://webkit.org/blog/6784/new-video-policies-for-ios/
Chrome 53 on Android also allowing muted video autoplay: https://developers.google.com/web/updates/2016/07/autoplay

Play Live Video On website using Media server

I am working on a project in which visitor/registered user will be allowed to view the live recording of the ip camera installed at the workplace. How can I achieve this? I have googled everything but have not got solution yet.
I have installed red5 media server, how can i push the live video(not recorded) the server and make it visible to the viewers. Or Is there any other easy/better alternative available.??
Thanks ...
You need red5 Flex for live video stream over any cam or webcam.
https://code.google.com/p/red5-flex-streamer/

How can I use a UIWebview to load content from a asp.net website dynamically loading .mp4 video and get the video to play?

I have a client that has a website. The website current allows users to login and search for and play .mp4 video. The list of playlist is created dynamically where values are stored in a sql server 2008 database. My client's site is already built for smartphone utilization and did not want to recreate an iphone app. Besides it would mean loading thousands of video. Instead I thought I would use the UIWebview to load the website. This seemed to work well. However, when you try to click on and play video within the UIWebview nothing happens. This is not the case if we launch the mobile website within the apple mobile safari browser. The vide plays by kicking off in the iPhone video player. Is there any way to accomplish this same functionality with a uiwebview? Any guidance or help is appreciated.
UIWebView will play video using <video> if everything is set up correctly, either remote files or local files will work (if they are the correct format).
What does your video tag look like? In particular your src.
If you want to, for example, play an inline video the html5 for that would be something like
<video id="theVideo" controls width="280" height="160" src="yourVideo.mp4" webkit-playsinline></video>
And it would be necessary in the UIWebView to set this line
self.webView.allowsInlineMediaPlayback = YES;
Or you can also explicitly load the media player, but doing everything in HTML5 is neat and tidy and easy.

Resources