html5 webcam rtmp to server - html

i havel livestream php project ... isearched about webcam publisher to wowza and found this https://github.com/arut/nginx-rtmp-module/
but it have publish button i can not remove it as it build with action script
and find that https://github.com/AF83/webcam-streaming
but its video quality very bad
and two have same problem that request flash allow at every starting stream
now i want any webcam publisher built in html5 searched alot but all anserwer not completed ot i not able to understand

Related

Vimeo video live upload

I need to upload webcam recording live video on the Vimeo server.
One way I am trying is get the video blobs periodically and upload it to the server but I couldn't able to find the API details in the Vimeo documentation.

Vimeo to record videos using a camcorder

Can I use Vimeo in my web application to record a video from my laptop which is connected to a camcorder ? Camcorder exposes JAVA API's which supports START / STOP / Zoom-in and all other camera options.
Vimeo was not created to record a video. It's just a video hosting platform similar to youtube but for professionals.
You need to be doing the recording and then use either their interface or their API to upload a video.
In your case, you could imagine creating an intermediate application that connects to your Camcorder's exposed API, gets the recorded video, and uploads it using Vimeo's API.
Here is an official list of libraries and sdk's that Vimeo proposes to simplify the API usage.

HTML5 custom paywall video player - where to store video files?

I'm working on building an HTML5 video player that will have the support of payments. This means that the video file should not be accessible freely.
It's very straightforward when the video file is stored on my own server where the player just accesses it locally and streams it after the payment is made. Now I want to be able to provide this player for other people to be able to embed their video files on their own website and streamed through my player.
I would like to avoid having them upload their videos to my server. Is there any way for them to stream through my video player but host it on their own server? From what I understand, they can't add the url to the src of the video player because then anyone can get access to the video file directly for free by just going to the url.

What is the right way of consulting vimeo CDN for custom player?

using the api against /videos/ID I get a bunch of links, select the corret format and them i'm good to play on my own website.
But it's slow, i'm not on USA and it's slow for my customers.
(I'm a vimeo PRO subscriber)
Recently, checking a similar website, I've noticed that their urls are generates like
https://13-lvl3-pdl.vimeocdn.com/01/1924/4/....
And mine are generated like
https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/4067/6/...
The first one, that i could not discover how to get on my own videos, is really faster and lower latency.
Any light on this would be very appreciated.
These urls are dynamically generated on the server. There is no programatic way that you can change which CDN url you receive.
Please reach out to vimeo.com so they can dig more into why it performs so slowly for you.
After upload and process video by vimeo it generates HD,SD and HLS links.
Sometime speed depends on many factors like hosting environment, player used for stream videos,Internet bandwidth etc etc.
So first check following things:
1) Are you using third party player for stream your videos?
2) Are you using HLS video link for stream video?
3) What is your hosting environment in terms of server response time?
Some Suggestion to achieve better video streamming:
1) Get best Hosting plan which has better server response time.
2) Use vimeo default player for stream videos.
3) If you are using third party player than use HLS vimeo generated link with Third party HLS player.
Some HLS player links
http://www.hlsplayer.net/
http://osmfhls.kutu.ru/
http://www.flashls.org/latest/examples/chromeless/
http://dailymotion.github.io/hls.js/demo/
http://www.dash-player.com/demo/hls/
You can absolutely select which CDN you can load your videos from. Vimeo uses three CDNs and you can set a cookie that will indicate to the player which cdn to use. Check out this link: https://player.vimeo.com/flags
Here you can select the cdn and it sets the cookie I was mentioning. You can set this cookie for your users on your website and the video will be fetched from that cdn.

BackgroundAudioAgent with a dynamic playlist

I am developing an app that has the capability of playing audio tracks streamed from a server. This app needs to be able to playback the audio even when the screen is locked or if the app is put in background.
=====
For background audio playback in windows phone, the Background Audio Agent is required.
The sample provided by Microsoft shows the basics: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978(v=vs.105).aspx
In the sample, the background audio agent has a list of static tracks and when the user taps the skip/prev in the main project, it simply forwards it to the singleton BackgroundAudioPlayer object which in turn uses the event handler in BackgroundAudioAgent project to load the next/prev song.
BUT, what I would think a common usecase is that the main project will have the details of the play list (like a list retrieved from server) and we just need the backgroundaudio agent to forward that request to the main project.
My question is
Is there ANY way to forward the user action from audio agent to the main project so the main project can determine which track to play?
P.S: I cannot use MediaElement (which seemed to work fine in Window Store App and provides background support) because in Windows Phone SDK it has no background support.
EDIT: When the screen is locked, The application itself can be terminated even if the background agent is running, so I guess there no mechanism to forward the request to the app. This would mean, The background agent has to be self sufficient... Which would be a poor design to have to jump through hoops for a seemingly common behavior (Playing audio stored in remote server that requires authentication) .
At this point, I am considering writing all URL specific information to a file and have the background audio agent read that saved file and authenticate with server and create audio tracks. But the handshake to show the current audio information when the application resumes will be complex to say the least.
I hope I am wrong with this and there is actually a easier way than this. Would love to see how others have handled this.