how to stream a video using MPEG-DASH in GOLANG? - http

I have a go HTTP server and a video tag in /watch.html.
How can I stream a video using MPEG-DASH when someone visits the watch page and display the video using Shaka Player in the browser?

I assume your visitors are using a web browser. Web browsers don't natively support playing MPEG-DASH. So you have to embed or reference a JavaScript based MPEG-DASH player.
You'll find many samples at https://reference.dashif.org/dash.js/nightly/samples/index.html
or you can also use the Shaka player:
https://github.com/shaka-project/shaka-player

Related

How does browser connect to nearest CDN server for a given CDN image url?

Lets say our browser is loading a post on facebook which has an image in it. The image has been stored in CDN(Content delivery network) by Facebook and its URL is given to the browser (eg: https://scontent-bom1-2.xx.fbcdn.net/v/t1.0-9/149815846_4027009347343846_8048150791219282631_o.jpg?_nc_cat=109&ccb=3&_nc_sid=730e14&_nc_ohc=UcXY9DrL1DAAX8VQrTs&_nc_ht=scontent-bom1-2.xx&oh=da366f4d686fe03dc83123b35d21ac77&oe=604C5818)
Now, how does the browser connect to the nearest CDN server so that the image is loaded quickly?
Akamai has a good blog post that explains this.
https://blogs.akamai.com/2013/03/intelligent-user-mapping-in-the-cloud.html

Windows Phone Push live tile image URL

I'm working on a notification push server and want to push a live tile with an image URL (external server).
The problem is that I can't get it to show as BackgroundImage on the applicatoin tile. As far as I understand the documentation it should be possible as long as the URL is valid, not https, some size restrictions, etc.
I comply with all the restrictions given, but can't get my image from the external URL to show on the tile. Local files work though. I'm searching for hours. Can anybody tell me if it's possible or did some rules change since mango or something?
URL restrictions: http://msdn.microsoft.com/en-us/library/windows/apps/hh465403.aspx#urls
And of course; as soon as I submitted the ticket I found the 'ListOfAllowedDomains' that should be set to the channel.

live Webcam streaming to adobe media server from a website

I am trying to make a website which will have this option to stream live from the logged in person's account. I mean that if a person wants to broadcast from his webcam, he ll just click on a button on the web page and streaming to the adobe media server will start. Is there a way to do this?

how can I provide chat support in website

I want to implement video and chat facility in my website
can anyone tell what do I need to do
get api or service
which api/service is the best
use jabber, Google is also use that for video and audio chat.

Youtube video upload using asp.net

I want to upload video to Youtube from my ASP.NET application. It should return video ID or embed code after uploaded video.
Ah, google integration. Be ye warned: here lies madness.
http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Process_Flows_for_Uploading_Videos
An extremely high overview:
You will either
Need to perform integration with oauth to retrieve an authorization token, or
Pass this user along to google to authorize them and then send you back a token which you must catch.
After authorization you may either:
Send youtube an http post request containing the video upload as well as meta data, or
Submit a form post that contains the a hidden input feild with their auth token.
Youtube then passes you back data that contains the id as well as other meta video data.
At this point you would need to perform additional http posts to their api in order to retrieve the embed code.
Youtube's api upload documentation lists between 6-13 steps depending on what choices you make in your app.
Hope this overview helps!
Edit
Here is another question on SO about this same thing. It includes code samples:
How can I upload a video to YouYube using the Youtube API in C#?

Resources