Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I am working on my FYP project on which i have to create a web site for one type of users on which they upload their videos and then on android app shows to other type of users.

i found that there are several methods to store videos in sql server, i want to know which is the best in my case. if any expericce programmer or developer here have any idea please share.

I am woking on asp.net and sql server and targetting andorid 4.1 .
Posted
Comments
[no name] 17-May-14 17:37pm    
Don't. Store the videos on the hard drive and only store the paths to the videos in your database.
Muhammad Taqi Hassan Bukhari 17-May-14 17:44pm    
Any Specific Reason Sir,?

1 solution

If you want to build a webite, then I guess you can do that using ASP.NET Web API. ASP.NET Web API has got a solution for your requirement and you can implement it to your Application too.

You can develop the ASP.NET Web Site using MVC architect and then add the Web API. Android application can be developed to be of simple UI, but then as Wes Aday has told you, you should never store the Videos inside of the hard drive of the device. Because of the fact that many uploaders might not want the viewers to get the video for free they might want their viewers to buy the content. That's why when you allow the user to watch the video you must only stream the content from the website of yours. This is the fact that I told you about the Web API thing. Web API would allow you to do this trick here.

This way, the video uploader won't have to worry about his content being stolen and at the same time storing the video on user's device won't be a good idea from the device storage perspective either. Suppose user watches 3 videos of 30mb (well just a case) he would hit 100mb in this, some users might not have that much space and they'll result in a negative vote to your service.
 
Share this answer
 

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