There is an example https://github.com/google/ExoPlayer , where in the Sample class in the Demo module I added links to cameras with a DASH stream.

public static final Sample[] MYPROJECT = new Sample[]{ new Sample("MySuperPuperCamera(camera_3)", "http://192.168.10.10/camera_3.mpd", Util.TYPE_DASH) }; 

But unlike the examples (videos on youtube) that are played normally, the video from the cameras shows only the first frame received, the controller shows zero video length.

How to make the player play live stream?

    1 answer 1

    We added an empty sound to ngnix to the stream from the cameras, after which ExoPlayer Demo started working with them.