Play only audio from HLS video stream in exoplayer - android

I have a video stream (HLS) playing with exoplayer, so I want to turn off the video and play only the audio of my live stream by clicking a button, can any one help me?

Related

android Exoplayer the video is streaming without audio why?

I have an Exoplayer example in my android TV application which stream udp url like below
udp://232.196.x.x:xxxx
the streaming working well but the video is playing without any audio or any sound.
i need to select the default audio track using DefaultTrackSelector

H264 mp4 video not seekable in exoplayer

I am playing the .mp4 h264 video in exoplayer with defaultExtractor. Video is not seekable. When i seek the video it goes to start everytime i want to seek it. Others MP4 videos plays fine without any issue . Help me I am beginner of exoplayer .

AC-3 Codec - no audio

I'm playing a video using BetterVideoPlayer but video is playing but no audio is coming out. As i analysed, i found that this video is using AC-3 Codec(May be).
Google's Video player have also the same behaviour, but MX Player is also to play that video perfectly.

How to convert youtube video player into audio player in android?

How can I hide the surface view of youtube player to make it as a audio player, Actually I want to play youtube video as in audio phase in my app?Any buddy have an idea

how to implement a custom video player with media controls in android?

it should just take video server url. should buffer and start playing video.
are there any libraries available for playing a video with buffering ?
How to implement custom video player with media controls similar to youtube?

Categories

Resources