How can I extract rtsp data in MediaCodec

I am having problems with MediaPlayer playing my RTSP stream, so I decided to use the lower level API - MediaExtractor and MediaCodec.

The problem is that the setDataSource () method for MediaExtractor does not accept the RTSP stream.

So my question is: how can I get rtsp data in MediaCodec input buffers?

+4
source share

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


All Articles