problem about audio-streaming-Collection of common programming errors
Geoffrey Hing
node.js audio-streaming red5 rtmp webrtc
This is more a conceptual question rather than a direct “how to do this”. Is it generally possible to implement a flash-like solution to stream the audio (independent of where we get the stream data from, e.g. webRTC or other) in HTML5 and nodeJS/binaryJS. If so, how would you go about this?There has been only one inquire on stackoverflow found here and its from 2010. NodeJS and HTML5 have grown and matured since then.What people usually do: When using multimedia streaming (i.e. video or audio)
Angelo Lupo
php mongodb audio-streaming html5-audio
I wrote a little audio streamer based on mongo and php with a player in HTML5. Every time I play something audio suddenly stops. I’m using php 5.3.3-1 as server on xubuntu 13.04 and MongoDB, everything is streamed locally. The code is on github at this address: link<?phprequire(“core/core.php”);$id = $_GET[‘id’]; $x = Track::object($id);header(“Content-Type: {$x->mime}”); header(“Content-Description: File Transfer”); header(“Content-lenght: {$x->size}”); if ( !empty($_GET[‘download’]) )
Curtis
asp.net streaming audio-streaming
We have a need to stream live audio from remote devices and be able to listen to it in a web page. I can stream stored audio files, but the live stream has me a bit confused, since we will be adding the data at runtime. Can someone point me in the right direction to show me how to do this?Thanks
Nika Gamkrelidze
java audio audio-streaming keylistener
I’m writing text editor that is supposed to actually SAY the current key that is pressed. I managed to do that, I even prepared files. And everything works just fine, but when the amount of symbols becomes more than 29, the compiler says: javax.sound.sampled.LineUnavailableException: unable to obtain a line at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.connect(PulseAudioDataLine.java:279) at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:102) at org.cla
Madan Mohan
iphone objective-c audio-streaming
I am using an Audio streamer into my application.I am getting the audiofile form the server and playing it using audio streamer.The url is like http://182.18.140.134/ExpressPlus/audio/356108042705526/teja.mp3 when I try to play this audio its generating an alert as “Parse bytes failed. err: optm 1869640813”.Guy’s any idea how to resolve it?Thanks to all, Madan.
ohnoes
audio streaming live audio-streaming
I wonder if you could share your thoughts / resources about live audio streaming (to run on-line radio station). I have to admit, I am a complete newbie to the subject, so please excuse me lack of details. What are the most recommended platforms / software setups? Opinions based on personal experience would be highly appreciated.Thank you in advance.
iUser
iphone xcode memory-management audio-streaming avqueueplayer
I am using AVQueuePlayer for playing multiple music file.I am using this code,NSString *str1 = @”www.mymusic.1.mp3″; NSURL *url1 = [NSURL URLWithString:str1]; AVPlayerItem *s1 = [AVPlayerItem playerItemWithURL:url1];NSString *str2 = @”www.mymusic.2.mp3″; NSURL *url2 = [NSURL URLWithString:str2]; AVPlayerItem *s2 = [AVPlayerItem playerItemWithURL:url2];myQueue = [[AVQueuePlayer alloc] initWithItems:[NSArray arrayWithObjects:s1,s2, nil]]; [myQueue play];But application crashes while playing first
Saurabh
iphone audio-streaming crash-dumps
I am using DigitalDj’s AudioStreamer project (https://github.com/DigitalDJ/AudioStreamer) to stream audio in the background in my application. Everything works fine when the app is in the foreground but sometimes it gets crashed in back ground. Here is a very strange crash log.Incident Identifier: F6F6B97C-1943-460D-8A4E-5608B47E6989 CrashReporter Key: 3a88f20a9e18f468445bddc212b7aa673c6dc89b Hardware Model: iPod4,1 Process: iMixtapes [1075] Path: /var/mobile/Applicatio
Michael Scott Cuthbert
ios crash audio-streaming radio music-player
I tried to build a radio in my app using webView. But on loading the link my app crashes every time.- (IBAction)playMusic:(id)sender {NSString *stream = @”http://www.bbc.co.uk/radio/listen/live/r2.pls”; //just an example linkNSURL *url = [NSURL URLWithString:stream];NSURLRequest *urlrequest = [NSURLRequest requestWithURL:url];[Webview loadRequest:urlrequest]; }…but with a page link (like www.google.com) everything works fine. Maybe there is also a better solution than using webView to play rad
marienke
android buffer android-mediaplayer audio-streaming http-live-streaming
We are experiencing almost the exact opposite of what is mentioned here: Why does it take so long for Androids MediaPlayer to prepare some live streams for playback?I’ve tested multiple streams but two in particular1 – http://usa8-vn.mixstream.net:8138 – SampleRate: 32000Hz and Bitrate: 96 kb/s2 – http://source01.platform02.true.nl:800 – SampleRate: 44100Hz and Bitrate: 128 kb/sThe lower bitrate stream starts playing instantly (as soon as the media player is prepared), while the higher bitrate s
Brian D
python audio audio-streaming
I’m trying to write a streaming audio client and I’d like to use ossaudiodev functions to help me play back the audio on my local machine. Unfortunately, I’m getting an exception every time I try to run my code:Unhandled exception in thread started by <function audioplayer at 0x88e96f4> Traceback (most recent call last):File “client.py”, line 56, in audioplayeraudio = ossaudiodev.open(“/dev/audio”, ‘w’) IOError: [Errno 16] Device or resource busy: ‘/dev/audio’Here’s my code. Pretty simple
Nibha Jain
android http audio-streaming
I am trying to create an application to play a live radio.I am using the following method to open the http connection,and giving this url “http://64.62.xxx.xxxx:xxx/” But i am getting nullpointer exception,public InputStream OpenHttpConnection(String urlString) throws IOException {InputStream in = null;int response = -1;URL url = new URL(urlString); URLConnection conn = url.openConnection();if (!(conn instanceof HttpURLConnection)) throw new IOException(“Error connecting”);tr
Alain Bolli
phonegap audio-streaming
I’m using Phonegap to create a player for a web-radio.Playing the stream works great, but I can’t stop the stream. When I tap the stop button I have this message in log :AudioPlayer Error: stopPlaying() called during invalid state: 4And on screen I have an “undefined” error. Seems my variable my_media is not defined.Here is my code :var src=”http://stream.muzeeli.fr/ange”;var my_media = null;function playAudio(src) {if (my_media == null) { my_media = new Media(src, on
enfix
ios ios5 audio-streaming mms
How can i stream audio from mms:// address ? I’m trying to build WunderRadio on iOS 5 device, but i got many errors. I got this error when i tried to build WunderRadio target:Undefined symbols for architecture armv7: “_Status_SetNewStatusByKey”, referenced from:-[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in WunderRadioAppDelegate.o “_OBJC_CLASS_$_WebAudioPlayer”, referenced from: objc-class-ref in SkinViewController.o “_Status_GetCurrentStatus”, referenced from:-[LevelMeterView
user150413
android streaming audio-streaming http-live-streaming shoutcast
Okay, So I’m working with a SHOUTCast stream for the first time, and I’ve been told that Android has changed the way it works with audio post-ICSSo, I tried some code that worked very well on 2.3 and 2.2, but when I tried running it on 4.2.2 it didn’t play,Here’s my MainActivity.javapackage com.mooo.ajbiz11.ponyfeather;import android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import
Antimony
android audio-streaming
I’m making two apps – receiver and sender, each of which goes on an Android device. The sender should be able to stream local audio files to the receiver, over Wifi, preferably using UDP or RTP.I have made the receiver app, it runs fine on Internet radio stations and all, but the trouble now is in making the sender app. I haven’t been able to find any reliable resources online. Some of the resources I referred to and why they haven’t helped:#1 Audiotrack doesn’t support mp3, which would be a ma
owen gerig
ios audio-streaming
I need to stream audio from the mic to a http server. These recording settings are what I need:NSDictionary *audioOutputSettings = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt: kAudioFormatULaw],AVFormatIDKey, [NSNumber numberWithFloat:8000.0],AVSampleRateKey,//was 44100.0[NSData dataWithBytes: &acl length: sizeof( AudioChannelLayout ) ], AVChannelLayoutKey,[NSNumber numberWithInt:1],AVNumberOfChannelsKey,[NSNumber numberWithInt:64000],AVEncoderBitRateKey,nil];AP
Yaqub Ahmad
android mediaplayer uri audio-streaming shoutcast
Please see the code i am using for streaming shoutcast stream, it works with one URL but NOT with the other one.This one works:Uri myUri = Uri.parse(“http://fr3.ah.fm:9000/”);But not with this one:Uri myUri = Uri.parse(“http://someOtherURL”);SimpleMusicStream.javaimport android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button;public
Growler
java swing audio audio-streaming
I’m trying to add sound to my java game…I’m playing Sultans of swing at runtime:static String WHOOSH = “res/WHOOSH.WAV”; static String SULTANS = “res/DireStraits_SultansOfSwing.wav”;music(SULTANS, true);And this whoosh sound when the ball hits a paddlemusic(WHOOSH, false);public void music(String path, Boolean loop) {try {//will go into file folder and get music file (getResource)AudioInputStream audio = AudioSystem.getAudioInputStream(GamePanel.class.getResource(path));Clip clip = AudioSystem
umlaeute
qt tcp udp audio-streaming puredata
I am trying to stream microphone input from my Symbian device (Nokia N8) to a PureData application running on my Windows PC. Both are connected via WiFi.The connection is successful, but reading the incoming data fails. When I use TCP, the connection drops immediately with the little helpfulnetreceive~: recv data: Unknown error (10014).With UDP, I get lots ofnetreceive~: recv data: Message too long (10040).I have set the sample rate in PD to match the one coming from the phone, but PD keeps tell
Web site is in building