I have a server builded with Spring where users can upload images and videos.
Now I am building an Android app where users should watch these videos throught streaming, but I am little bit lost about how to handle this.
I have looking for information about how to do this, and I am not sure if I could do with a Spring REST method.
What is the best way to do this? I would appreciate any help.
Thanks in advance.
Related
I want to create a stream app like TIKTOK using flutter ,
I am using the ant media server and I am using the REST API to create room
and to create stream and it is working .
the problem is that I do not know what to do next ?
do I have to create a signaling using the stuns ? if it is yes , how I can do that ?
and is the any library that can plays the stream like the OBS Studio and the VLC ?
do I have to use the Web Sockets ?
!! please help !!
I think you're confused about Live Streaming and Video Chat, which are both very important but different video platforms and use scenarios, and their architecture is totally different.
I think TIKTOK is an mobile app with:
Most of it is VoD file and social connections.
Some part is Live Streaming, like twitch.tv or YouTube live streaming.
Few of Video Chat ability, only when two user are talking in a RTC room.
For VoD, it's something like HTTP(S) files, deliver by CDN or Nginx if you want to build it.
About the Live Streaming and Video Chat, please read detail from here.
I'm interested in creating an android app that needs a lot of video clips.
To make the app weight not too heavy, I thought about storing the videos on a server and whenever the user wants to watch the video the app connects to the server and gets access to the video and the user can watch it (of course all this happens inside the application).
so how can i do it in android?
Thanks in advance to everyone
I do not know if you are conversant with web services, but i think the best way is to create a web service and communicate with your application. You will send a request each time a person wants to view that video and fetch it, it sometimes takes a while to load, basing on the algorithm you use, or even internet connectivity, but it is easier, especially with languages like php.
However,Your videos should be compatible with android.
This tutorial will help you see how to call videos by url.
I also admire this Website. It shows you how to perform storage and live streaming on both android and the server.
I am currently building an app that will allow users to upload videos and view other users videos in a stream. Sort of like Vine. I have been using rails for over a year now but I am not sure how to go about implementing the backend for the android application.
My understanding of the situation is that I must use a json call to my rails api that will upload the video file to Amazon s3 or CloudFront. I then need to make the Amazon video file or url be stored or linked to a URL that the Rails app creates for the user.
After that, I would need to play the video (and other people's videos) back to the android application.
It looks like there are a lot of pitfalls to this. If anyone knows the correct way to go about doing this, I would be really grateful. Thank you.
Probably want to use a REST API.
Should host your videos on a CDN.
Can use VideoView to stream some types of videos on Android.
I want to upload pictures and videos captured to Heroku server using my android app. I have searched a lot but cant find solution. Can Anyone tell me how can I do that?At least give me a startup Please help I want it to get going. I am stuck cant find anything. Using buttons in my app i want to upload different things.
Thanks!
You'll need somewhere to store these photos (like amazon s3) and a library to deliver them there from heroku (carrier wave or paper clip Gems if using ruby on rails).
That's it for the server side.
I´m aware of the existence of Device API and its availability on Android 3.0+ to accomplish this, but, is there an alternative to achieve the same for Android 2.3+?
Something similar to PhoneGap, but not creating a client app. Something purely web.
The user story is simple: from web browser, user takes a picture and uploads it to server.
I appreciate any ideas.
Thank you.
I haven't read the whole tutorial, but this looks like it could help you.
Jquery webcam photobooth