audio-streaming

How to customize MPVolumeView?

I have tried many methods to implement a regular UISlider and control the device volume, but it's all Native-C functions which results in many untraceable bugs. I tried the MPVolumeView it works like charm, it even controls the device volume even after you close the app, just like the iPod app. My question is, is there anyway to custo...

A way to play mp3 samples

I am currentyl developing a site for a client who requires artist to upload their music but only play samples of it, sorta like iTunes. The site has a php backend and is currently using a basic mp3 flash player to play mp3s. My question is there a flash player that can be configured to play only samples or is there a way through php or ...

android code for streaming shoutcast stream breaks in 2.2

The following code works fine on Android 2.1update1 - package com.troubadorian.android.teststreaming; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.view.animation.Anima...

How can you play the audio of a YouTube video in background on iOS 4?

In Safari on OS4 it's possible to stream the audio of YouTube videos in background: To try that start a video from YouTube, send the app in background, double tap the home button and switch to another app. At this point the audio will stop but it can be restated, paused, etc. in background using the remote controls associated to Safari ...

Stream Audio from an android device to a server

I've been searching the interwebs on how to stream media (Audio/Video, only audio at this time) to a server, but the only thing i can find is to do it the other way around (Server -> Android). I've seen some people mentioning that it is possible to stream audio (.mp3) by tailing the outputed file and sending it to the server. any sugg...

Phone-call using app's audio streams and resources and closing them on call-end

I have an app that is using Bluetooth headset as its input and output for some kind of audio feedback and recording. When I make or receive a call, my app does not closes. The app is running and am able to talk. But when I end the call, my audio streams that were being used by the app also gets closed. Also am able to record what am sa...

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 contents doesn't seem to be a problem, but when I play the file (with parameters I'm only PRETTY...

Basic streaming audio works in 2.1 but not in 2.2

My simple audio streaming app works perfectly in 1.6 and 2.1 does not work in 2.2. I have no clue as to why. It works fine on the emulator, on actual 2.2 devices the audio stops unexpectedly after about 10 minutes or so. When I looked at logcat on my phone (HTC EVO) I see this: I/HTTPStream( 65): 1358 Bytes read, progress 34346/65536...

Streaming Sound from many sources followed by rebroadcasting

I want to teach myself how to write a server and thought of a cool idea that might be a bit much. Essentially I want a user to be able to stream audio, mp3 or microphone, have this reach my server which will alter this audio stream with other audio streams coming from other users, and will than rebroadcast this mixed new sound. Sin...

Is there a any way to use audio player without flash?

Hi, I would like to add a audio player in my html page. Is there any other way to play the audio file with a simple player without using flash player? And also is my idea right? Please provide me suggestion.....Thanks in advance.. ...

What technologies can I use to stream audio from web browsers?

I would like to write a web application in which users can record short audio from within their browsers and stream it to my server. I understand that this is not (yet) possible using pure html, so I need to use a technology such as flash. What are the alternatives I can use and which benefits/drawbacks to they have? Are they supported ...

Generating DTMF tone to send in RTP packet

I have the following code to send as audio RTP packet some DTMF digits: int count=0 for(int j = 0; j < samples; j++) { waves = 0; // dtmf tone 1 waves += sin( ((PI * 2.0f / 8000) * 697.0f) * count ); waves += sin( ((PI * 2.0f / 8000) * 1209.0f) * count); waves *= 8191.0f; //amplitude ++coun...

Streaming audio from a Node.js server to HTML5 <audio> tag

Hi everyone, I've been experimenting with binary streams in Node.js, and much to my amazement do actually have a working demo of taking a Shoutcast stream using node-radio-stream and pushing it into a HTML5 element using chunked encoding. But it only works in Safari! Here is my server code: var radio = require("radio-stream"); var ht...

How to play audio/video files in flex?

I'm using flex 3. I've successfully played video and audio files by using following libraries: flash.media.Video flash.media.Sound Live docs link. But the limitations are as follow: Video class can be used to play only flv file format. To play mp3 files I must use audio file. So can I play most of the famous audio/video files by...

Switching between Bluetooth headsets during Audio Session in iOS?

Assuming a user has multiple bluetooth headsets attached, and an audio session is running (playing something through one of the headsets). Is there a way to get the list of attached bluetooth headsets (maybe using the External Accessory Framework?) and switch the audio session to the other headset? ...

Creating a Web Radio

Hi everybody, I'd like to develop a web sample application that can send and read audio on the fly. The idea is to develop a website with HTML5/JS. So, the admin part (in php or whatever server side language) will allow me to send audio from a mic. Then, on the client side, the user can listen to the stream with the <audio> tag for ex...

AAC+ Streaming from shoutcast in Flash

I'm trying to stream a AAC+ shoutcast URL like this one http://live7.avf.ch:8000/ipmusicaacplus32 with flash AS3 but it won't work. If I put a .m4a file instead of the streaming URL it works. Any idea why the shoutcast URL doesn't work? var connect_nc:NetConnection = new NetConnection(); connect_nc.connect(null); var stream_ns:NetStream...

Accessing audio stream through browser.

Let's say I'm playing some audio on my system (streaming or stored on the system). Is there a way for a browser to access the bitstream being played? Can a Java applet do this? What about Flash or Silverlight? ...

Streaming Audio on my website

I am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use? ...