android Exoplayer the video is streaming without audio why? - android

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

Related

WebRTC Android - Can we record audio of a muted audio track

I am trying to record video and audio from webrtc MediaStream - live Streaming. This is working fine, but while trying to mute audio track (either by disabling the stream or setting the volume zero in the receiver side) recorded file also seems to be muted. Are there any options to mute the audio (of any of the peer) while streaming and record with volume?

How to imlpement Live RTSP Streaming Android(without using VLC plugin)?

I need to stream live videos from my media server using RTSP protocol , (h 264 streaming). The default Android media player shows error while I am trying to stream live videos. The Media player successfully streams the recorded(not live) video using RTSP from the same media server? Is there any way to stream LIVE videos(without using VLC player/plugin)? Is 'Vitamio' multimedia framework meant for this purpose? Thanks in advance.
Yes. Vitamio will help you. Also you can use Exoplayer or "VGX" player

Streaming audio/video from Android

I am writing Android app to stream audio/video to Wowza server in RTSP interleaved mode. Using AAC and H.264 encoders. I created packetizers for both audio and video. The problem that I am facing is that when I send both streams simultaneously I am losing video stream. I only get audio on Wowza and VLC. When I do not stream audio video works just fine. This proves that my packetizers and RTP streaming code perform as expected. It looks as if I cannot send video fast enough to sustain the stream.
Similarly architected code on iOS provides stable video and audio feed.
Thank you

Audio Microphone Live Streaming in Android

I am new in live streaming. I have a problem to create live streaming of recording file. I can upload the audio file to server and play from url using media player but i dont want this i want as i speak it broadcast to all and when i finish my speech then it stops broadcasting. Is it feasible or not. If feasible then how?
Can i do this with Amazon CloudFront?
As per my knowledge you can use Spydroid
it is basically for video streaming but you can use it for audio streaming as well and then you have to alter its code for audio streaming..
seccondly you will need some media server i will prefer you to use Red5 media server as it is opensource Red 5
red5 supports audio and video streaming both but you have to study it little bit

Problem playing media from RTSP URL in Android

I have made a Android streaming application that plays media from online URL's. For playing the media, I am using the
standard MediaPlayer class for playing media.
As per the Android documentation, it supports RTSP protocol for audio & video playback
http://developer.android.com/guide/appendix/media-formats.html
But when I am trying to play media from a RTSP URL, it gets connected but I am not able to hear any media
Following is one of those RTSP URL -
rtsp://sfera.live24.gr/sfera4132
Does anybody media have an idea of playing RTSP URL's through the Android MediaPlayer
Thanks
That link you provided has 3 audio tracks, with the first and last tracks appearing to be silent and don't contain any valid audio.
The middle track has audio (as per VLC). I don't know how Android deals with multiple audio tracks. I imagine you may get better results if you use links that only contain 1 audio and 1 video track at most.
I expect for an rtsp stream with multiple audio tracks, android is only going to play the first one as there is no user interface to select a specific audio stream, hence why you aren't hearing any audio.
If this is a stream from your own server, to hear the audio you should adjust the SDP file the valid audio track first. If this is not from your server, I don't know what you're options are.

Categories

Resources