Not able to get getDuration() for AAC file using ExoPlayer
问题 I have been trying to stream a URL using ExoPlayer . The URLs: STREAM_URL_1 = "http://storage.googleapis.com/exoplayer-test-media-0/play.mp3" STREAM_URL_2 = "https://s3-ap-southeast-1.amazonaws.com/ok.talk.channels/zakirkhan/Zakir+khan+-+when+my+father+took+my+gf%27s+call.aac" Both URLs play but I am not able to get the getDuration() for STREAM_URL_2 which is an .aac file. The .mp3 works. The following is how I do it. How do I get the getDuration() for the 2nd URL. Even seekTo() doesn't work