Disable buffering on Android VideoView / MediaController

We are writing an Android application on the Samsung Galaxy Tab. We have an endoscope (medical surgical camera) as a DV input, and we want to stream DV video to a tablet. As a streaming server, we have a VLC player and an RTSP stream. Encoding works fine, and streaming over the network (rtsp) to another computer is good (<1s). However, if we open the RTSP stream on the Galaxy tab, there is a lag of 6-7 seconds. I tried to set the bitrate encoding (even the lowest of them does not work, since the stream is flowing). Therefore, I think that on the Android caching itself there should be some kind of network caching or video caching.

I googled and did not find a way to disable or even change the caching on the video / media controller. Does anyone have an idea on how to set up Android Streaming View?

Edit: I realized that this should be an internal buffer size that limits the speed of the video stream. LogCat informs me that AweSomePlayer is responsible for video poker. So the next question is: how do I resize awesomeplayer buffering? I think this is written in cpp. How can I access this precompiled code via eclipse / java / android?

+6
source share

Source: https://habr.com/ru/post/902536/


All Articles