Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

Can some one please help me guide step by step of how to stream videos live at client side without much client interactions?

For eg. if i have 3 videos locally stored, & if i put them in loop, to be uploaded in asset & then viewable by client continuously in azure media player, is it possible?

Actually my requirement is we have security cams attached to our machines, from which we get video source, now we want to deliver it to user live using Azure Media services, is it possible?

Please don't show me msdn link, as i have gone through many of them but to no solution.

What I have tried:

1) I have tried going through most of the docs of msdn related to Azure Media Services.
2) I have build an application which can
a) create an asset,
b) upload video to blob,
c) run job for encoding,
d) create an output asset
e) then getting the url's from stream Locator which plays the uploaded video properly
on azure media player.

But client does not want url for every video, just one link that can play all the videos that gets uploaded.

Also i have tried Uploading Video to Blob storage & playing.

it is really a great example out there, however for my help, can it be possible that i can play those videos continuously? or can i use this solution to stream videos directly from cams source?
Posted
Updated 27-Dec-18 0:53am
v5
Comments
David_Wimbley 3-Jan-19 4:37am    
You are asking someone to architect either your companies product or your personal product for you. It sounds like you've made the effort to do some research which is great but what you are asking is beyond the scope of a quick answer forum. These forums aren't meant for architectural discussions on how to build an app to do X Y and Z to the degree which you are desiring.

My suggestion would be this. It seems as though you have the app working for 1 video and each link as long as it is clicked on or the link is provided to some degree.

Figure out some way to put those links into a list/collection of some sort, loop over that list and play each video until it ends, then start playing the next one to create the continuous loop you desire.

I highly doubt your going to find someone whose built your solution for you in tutorial form. Your going to have to break your problem down to even smaller pieces and go from there.

Not what you wanted to hear im sure.
TABiSH777 7-Jan-19 8:05am    
Thanks Mr. David,
I understand your suggestion (even i have did some workaround it but its not manageable as user can rewind play pause everything on the video)
Also i do not want anyone to architect my entire product.
Just to answer my specific query. i.e.
Q) Can we upload live stream without converting it to small chunks over Azure Media Service-LiveStream & play it at the same time using stream end point URL?

Same thing is possible using a third party tool named Wirecast. but i want it done using code.

Hope you understand.

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