Paride Letizia
Paride Letizia

Reputation: 340

Streaming video real time

I have a special device (a sort of external video camera) which should send video in real time and streaming to a smartphone (android first). In other words imagine how GoPro app works, in which you are able to watch in real-time on your smartphone what camera is recording .

My question is, what kind of protocol should be used to get the real time video streaming? I though about WebSocket but I do not know if it is the best solution as alternative to HTTP.

I looking forward to hearing from you Thank you so much.

Upvotes: 1

Views: 2212

Answers (2)

Sergey Nikitin
Sergey Nikitin

Reputation: 827

Ypu sholud use RTSP protocol. Depending on whether the codec uses your camera, you sholud use MediaPlayer class (see docs) or use VLC library.

Upvotes: 2

jos
jos

Reputation: 1070

You can take a look at RTP and here you it is the protocol in the Android API

Hope it helps,

Upvotes: 0

Related Questions