How to make a video player?

How to make streaming video player?

  • I need to make Android streaming video player which can play video from my embedded system. But I have a few questions: How can embedded web-sever send notification to the android device , without knowing the device's ip address. How does the embedded web-sever know a device ip address without the device first connecting to the embedded webserver? Is the device address static? And last - Is there internal Android application for playing streaming video?

  • Answer:

    I think it's the other way around. Your streaming server sits at a certain url, so your Android client can connect to this url. For example many cameras send their rtsp data on port 554 while they can be queried and controlled by sending/receiving commands on port 80 of the same URL. You can try to use Android MediaPlayer class to play your stream. However its capabilities are rather limited, maybe it won't be able to play your stream. In this case they use FFMPEG libraries or other such libraries to receive and decode streams. These are not trivial.

user1078760 at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.