android-mediaplayer
Forcing Android to use RTSP/AVP/TCP interleaved
I’m using VLC instead of the native one. Read the Living555 source code pls. You can specify the Transport: RAW/RAW/UDP field in the SETUP request to choose what protocal to use.
ExoPlayer and start / pause / seekTo commands
The official example of the PlayerControl in the ExoPlayer source code do exactly what you asked: public class PlayerControl implements MediaPlayerControl { private final ExoPlayer exoPlayer; public PlayerControl(ExoPlayer exoPlayer) { this.exoPlayer = exoPlayer; } @Override public boolean canPause() { return true; } @Override public boolean canSeekBackward() { return true; } @Override public boolean canSeekForward() { … Read more
MediaPlayer : Should have subtitle controller already set: KitKat
Looking at a previous discussion on StackOverflow, and the referenced Android commit where this was introduced, the code above might not completely initialize the MediaPlayer object. The KitKat example code for media playback suggests that you should call: mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); immediately after you construct the MediaPlayer, and before you call its setDataSource method.