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?
source
share