I am streaming video from server with ExoPlayer, I want to show dialogs in specific seconds of video, so I want to listen to ExoPlayer duration and get which second is current second of playing and if it is the time that I want than stop the player and show the dialog. as the video is streaming I can't get the second with Handler, because video may stop in case of user internet low quality or maybe user change the player SeekBar and so on. so what is the solution? thank you