This is an Android video streaming question.

Asked 2 years ago, Updated 2 years ago, 131 views

What I'm going to do is, Raspberry Pi uses Raspberry Pi's picam to configure a streaming server, which is accessed from an Android application and then put up CCTV.

Let me just list what I've tried.

Darwin server failed to port Raspberry Pie on Wowza server

VLC Raspberry Pie Installation Streaming Server Open

3. Streaming to VLC rtsp output codec: h264, container format: ts

1) Streaming successful on pc VLC. There is a delay of about 2 seconds.

2) Streaming successful on Android VLC delayed by 2 seconds

3) Android video view streaming failed (This video cannot be played). Toast window)

4. Streaming output from VLC via HTTP.

1)Streaming successful on PC VLC. (Delay approximately 3 seconds)

2) Streaming succeeded on Android VLC. (Delay approximately 2 seconds)

--->Streaming successful on Android VLC? Let's try it in Videoview.

---> Can I connect, but the symptoms stop on the first screen.

As the Android basic rtsp parser does not support TS container, I looked for RAW method, but VLC only supports TS/PS method for RTSP, so I looked for another method.

4.VITAMIO

I compiled the Android library vitamio in the Defendant City and tried to use the videoview of vitamio, but I couldn't use it because of the severe symptoms of stopping and disconnection. It's the same for everyone else who's tried it but me." (Kitcat version) The error message is -missing reference picture, default is 0 -decode_slice_header_error and, The screen stops when the message error while decoding MB... is displayed hepatently.

What we're trying to do now is to configure a streaming server with gstreamer. I don't think it's streaming well in gstremaer and VITAMIO libraries I'm thinking of using gstreamersdk to add native library to Android... I would appreciate it if you could give me advice on which direction to dig.

android ndk streaming

2022-09-22 22:17

2 Answers

You can stream Mjpeg on Raspberry Pi. There are two guides on how to do it.

Android can get it in. 2 in the guide on the links.

https://bitbucket.org/coisme/simplemjpegview_gst/wiki/Home Here's the code.


2022-09-22 22:17

How about using a program called motion?

http://echo.tistory.com/m/post/253

http://echo.tistory.com/m/post/254


2022-09-22 22:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.