audio-streaming

Playing audio from a continuous stream of data (iOS)

跟風遠走 提交于 2019-12-03 07:42:14
问题 Been banging my head against this problem all morning. I have setup a connection to a datasource which returns audio data (It is a recording device, so there is no set length on the data. the data just streams in. Like, if you would open a stream to a radio) and I have managed to receive all the packets of data in my code. Now I just need to play it. I want to play the data that is coming in, so I do not want to queue a few minutes or anything, I want to use the data I am recieving at that

High audio latency with Icecast and Darkice

☆樱花仙子☆ 提交于 2019-12-03 06:13:09
I have successfully installed icecast and darkice on my ubuntu machine and was able to stream live on my lan. but to my disappointment it has a 15sec to 20sec delay.This is very poor performance. I don't think it is because of my lan connection because even when i tried to listen in that same ubuntu machine there was still a delay! I have tried to configure icecast to have no burst-size which means there will be no buffering,this helped me reduce the delay to around 6sec to 8sec. So please if you have any suggestions or very good configuration values it would be of great help to me. P.S the

Audio streaming using C++ tutorial and sample code [closed]

天涯浪子 提交于 2019-12-03 06:02:52
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . I would like to learn basics of audio streaming. In particular, I would like to learn how to capture audio from a computer mic, and in real time stream it so that another user can listen to it live. I would like to do it on Windows. Is there any good tutorial that explains how it is done and some sample C++ code that I can take a

Set audio endpoint devices application specific (programmatically)

自古美人都是妖i 提交于 2019-12-03 04:51:55
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 preferences' have been introduced. These settings allow more control over audio stream management as it is now possible to set different endpoints for different applications, no matter whether that particular application comes with an endpoint selection or not. However, there is an issue where the audio of a program, whose endpoint is non-default, is

How to Stream Media(Audio/Video) Across Multiple Android device over Wifi or Wifi Hotspot?

倖福魔咒の 提交于 2019-12-03 04:51:27
I am currently working on a project when you play song. it's play in your another device which is automatically play in another android device connected through WiFi or WiFi-mobile hotspot . How to stream audio android device to vlc player. I got Some Help from [Here's a link !] I go through many link bt none of help me. I want build functionality like [ Sound Seeder soundseeder ]. Someone have any solution then please help me. It's mine for me. Thanks..!! For Video Streaming Using Wi-Fi Direct I Found https://github.com/doronz/VirtualFrontView Using Libstremming Library But It's not work on

How to get duration of Audio Stream and continue audio streaming from any point

流过昼夜 提交于 2019-12-03 04:34:50
问题 Description: I have following code for an Audio player. I can continue Audio playback from any duration by clicking on Progress Bar(between 0-to-mediaplayer.getDuration()). It is working perfectly for Audio playback. Problem in Audio Streaming: When I stream an Audio file from an internet server (say s3-bucket) it starts streaming correctly. But mediaPlayer.getDuration() and mediaPlayer.getCurrentPosition() return wrong values. At the beginning of streaming mediaPlayer.getCurrentPosition()

is it possible to read metadata using HTTP live streaming in the iPhone SDK

最后都变了- 提交于 2019-12-03 04:33:12
问题 When playing a live stream using the HTTP Live Streaming method, is it possible read the current metadata (eg. Title and Artist)? This is for an iPhone radio app. 回答1: Not sure that this question is still actual for its author, but may be it will help someone. After two days of pain I investigated that it's quite simple. Here is the code that works for me: AVPlayerItem* playerItem = [AVPlayerItem playerItemWithURL:[NSURL URLWithString:<here your http stream url>]]; [playerItem addObserver

What is the best method of synchronizing audio across iOS devices with WiFi?

不想你离开。 提交于 2019-12-03 04:05:50
Basically, for my team's app, we need to be able to synchronize music across multiple iOS devices. The first way we did this was by having the music on all the devices already and just sending a play command to all the devices. Some would get it later than others, so that method did not work. There was an idea mentioned to calculate the latency between all the devices and send the commands at the appropriate times based on the latency. The second way proposed would be to stream the music. If we were to implement streaming, how should we go about doing it. Should Audio Units be used, OpenAL,

Android: Incoming call auto answer, play a audio file

牧云@^-^@ 提交于 2019-12-03 03:45:16
问题 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? 回答1: What you are talking about is not exactly possible with android. Android has no access to the in-call audio stream. Though i can give you a little bit idea about how to do it. first to intercept incoming call, you need to register a broadcast receiver, which is invoked whenever call is received public

Capture system audio output with Nodejs

∥☆過路亽.° 提交于 2019-12-03 03:34:35
Is there a way in javascript or is there a nodejs module, that I can use to capture the output of a system (win/osx). For example, if a user is playing something via iTunes/MPlayer (any music player), I can capture the audio stream that's going to the speakers (output) and send it over the web? This might go some way to doing what you want: https://www.npmjs.com/package/node-core-audio I'm about to start some dev work on a similar project but was having issues getting node-core-audio to install so I had to find a different module. https://www.npmjs.com/package/naudiodon looks to be a good