Questions tagged [audio-streaming]

The process of delivering audio from a server to a client, different from the download in that the client is able to hear audio while it's being downloaded.

The process of delivering audio from a server to a client, different from the download in that the client is able to hear audio while it's being downloaded.

More details in Wikipedia page on streaming media

2571 questions
27
votes
7 answers

Using AudioTrack in Android to play a WAV file

I'm working with Android, trying to make my AudioTrack application play a Windows .wav file (Tada.wav). Frankly, it shouldn't be this hard, but I'm hearing a lot of strange stuff. The file is saved on my phone's mini SD card and reading the…
Rich
  • 4,157
  • 5
  • 33
  • 45
27
votes
3 answers

Android MediaPlayer takes long time to prepare and buffer

My application takes a long time to prepare and buffer an audio stream. I have read this question Why does it take so long for Android's MediaPlayer to prepare some live streams for playback?, however it just says people have experienced this issue,…
SteveEdson
  • 2,485
  • 2
  • 28
  • 46
26
votes
5 answers

How to stream audio from one Android device to another Android device Via Bluetooth?

Is it possible to stream audio over bluetooth? During my research I found that is it only possible using A2DP(Advanced Audio Distribution Profile). And does every android device support A2DP? If not, is it possible to stream audio between two…
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
26
votes
4 answers

Android: Incoming call auto answer, play a audio file

In Android, at the time of an incoming call, I want to receive it. Then, from my app, automatically play an audio file during a call and the other party should hear it. Is this possible?
Md Maidul Islam
  • 2,294
  • 3
  • 17
  • 22
25
votes
3 answers

understanding getByteTimeDomainData and getByteFrequencyData in web audio

The documentation for both of these methods are both very generic wherever I look. I would like to know what exactly I'm looking at with the returned arrays I'm getting from each method. For getByteTimeDomainData, what time period is covered with…
Brad.Smith
  • 1,071
  • 3
  • 14
  • 28
25
votes
5 answers

Streaming mp3 audio with AVPlayer

I'm hearing some conflicting reports about this. What I'm trying to do is stream an mp3 file from a URL. I've done hours of research, but I cannot find any good guides on how to do this, or even what kind of audio player I should use. Some friends…
derekahc
  • 910
  • 2
  • 12
  • 20
22
votes
2 answers

Receiving RTP stream - AudioStream, AudioGroup

I would like to listen an RTP audio stream, however the voice has little gaps in it - not continues. What may be the solution? Am I missing something on Receiver(android) side or Streamer(ffmpeg) side? I'm using ffmpeg to stream RTP audio, ffmpeg…
totten
  • 2,769
  • 3
  • 27
  • 41
21
votes
2 answers

The easiest way to play an audio RTMP stream in Android

I found some Android RTMP libraries (like this : http://rtmpdump.mplayerhq.hu/). The problem is that there is no accurate documentation on how we can use it. In my case, I have a simple RTMP live audio stream (ex:…
Zakaria
  • 14,892
  • 22
  • 84
  • 125
21
votes
5 answers

Pulling Track Info From an Audio Stream Using PHP

Is it possible to pull track info from an audio stream using PHP? I've done some digging and the closest function I can find is stream_get_transports but my host doesn't support http transports via fsockopen() so I'll have to do some more tinkering…
Levi Hackwith
  • 9,232
  • 18
  • 64
  • 115
21
votes
4 answers

Best API for low-level audio in Windows?

I'm working on an audio application, written in C. I need to provide live audio playback under Windows. I need to decide which audio API to use. I'm planning to use the basic waveOut API, but I wanted to check to see what the community here…
steveha
  • 74,789
  • 21
  • 92
  • 117
20
votes
1 answer

Set audio endpoint devices application specific (programmatically)

Link to the bug report on 'Feedback Hub' An audio endpoint device, from here on referred to as 'endpoint', is a physical or virtual audio output or input device. With the Windows 10 April Update 1803 the long overdue 'App volume and device…
FatalBulletHit
  • 762
  • 6
  • 22
20
votes
3 answers

Stop audio buffering in the

I am currently working in using the HTML5 audio player to provide a audio stream (24/7 radio stream) via the (mobile) browser. Loading in the stream and playing it works fine. The major problem is that the HTML5
Ruben
  • 1,427
  • 3
  • 17
  • 25
19
votes
3 answers

How to reduce the delay - VLC Streaming from a web cam

I am streaming video and audio from my web cam/microphone over UDP. When I view the stream (even on the same machine) there is a delay of about 4 seconds. I have tried setting the UDP Cache setting to 0, or 1 but it doesn't seem to help. I have…
Marc
  • 1,541
  • 2
  • 19
  • 29
19
votes
1 answer

Why JMF is not working on Audio streaming with Mjsip?

I am using Mjsip to create a softphone. In the code there is three type option for audio straming. Using JMF (Java Media Framework) Using Java Audio Using RAT (Robust Audio Tool) I am not using the RAT. Its value is been made false by myself. This…
S. M. Shahinul Islam
  • 2,780
  • 4
  • 36
  • 68
19
votes
3 answers

Android MediaPlayer works fine in Custom audio Streaming application up to Android 2.1 but not in higher versions

EDIT: Android 2.2 MediaPlayer is working fine with one SHOUTcast URL but not with the other one I need to play audio files from external URLs(shoutcast stream). Currently the audio files are downloaded incrementally & are played as soon as we get…
Yaqub Ahmad
  • 27,569
  • 23
  • 102
  • 149