recording

Audio recorded using Audio Queue Services to data

╄→尐↘猪︶ㄣ 提交于 2019-11-30 14:42:44
I want to transmit voice from one iPhone to another. I have established connection between two iPhones using TCP and I have managed to record voice on the iPhone and play it using Audio Queue Services. I have also managed to send data between the two iPhones. I do this by sending NSData packages. My next step is to send the audio data to the other iPhone as it is being recorded. I believe I should do this in the AudioInputCallback . My AudioQueueBufferRef is called inBuffer and it seems that I want to convert the inBuffer->mAudioData to NSData and then send the NSData to the other device and

Java - recording from mixer

青春壹個敷衍的年華 提交于 2019-11-30 13:00:23
问题 I have a problem connected with my previous question. I want to record audio from mixer (speakers), I'm using javax.sound. I have to set up audioFormat and I don't know what to type there :/ Using class ListMixer (which I found here -> http://forums.oracle.com/forums/thread.jspa?threadID=2198477&tstart=2), I write something like this: http://forums.oracle.com/forums/thread.jspa?threadID=2198477&tstart=2 but I don't have any info about sample rate (unknown sample rate). Program is throwing

Java - recording from mixer

二次信任 提交于 2019-11-30 05:12:05
I have a problem connected with my previous question. I want to record audio from mixer (speakers), I'm using javax.sound. I have to set up audioFormat and I don't know what to type there :/ Using class ListMixer (which I found here -> http://forums.oracle.com/forums/thread.jspa?threadID=2198477&tstart=2 ), I write something like this: http://forums.oracle.com/forums/thread.jspa?threadID=2198477&tstart=2 but I don't have any info about sample rate (unknown sample rate). Program is throwing this exception: java.lang.IllegalArgumentException: Line unsupported: interface TargetDataLine supporting

Playing video with AVPlayer and recording sound with AVAudioRecorder simultaneously

六眼飞鱼酱① 提交于 2019-11-30 04:03:57
I was googling this problem for many days but I didn't find a solution for my simple problem. I'm trying to play a video while recording sound. Recording sound works fine without the video. And the video works fine without the recording. As soon as I put both together, the recording throws values which do not react on sound and the video is not playing anymore. By the way this happens only on my device (iPhone 4 / iOS5). In the simulator everything works fine. This is a reduced version of my code which is in a ViewController. // Audio Recorder NSURL *nullUrl = [NSURL fileURLWithPath:@"/dev

OSX Audio Hijack style audio recording from other applications (cocoa) [closed]

早过忘川 提交于 2019-11-29 14:30:40
问题 Hi basically I am lost in apples documentation and not sure where to start on this. I need to record the audio from applications running on my system, similar to audio hijack and wiretap studio pro, but I am unsure where to start with the audio captuer. I see reference to quicktime capture documentation but it is not clear how to acheive what I require. Ideally I want to be able to modify audio in/out from an application such as skype to record and manipulate (think novelty voice effects).

Avfoundation - Play and record video (along with audio and preview) simultaneously

旧街凉风 提交于 2019-11-29 03:46:34
问题 I am trying to record and play video simultaneously. Is this possible with avfoundation? Currently i am able to do it as long as i dont record audio. As soon as i add audio input to AVCaptureSession and restart the whole thing i receive "AVCaptureSessionWasInterruptedNotification" and recording stops. This is how i play video. MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:path]]; [moviePlayer.view setFrame:self.playerView

how to resume recording after interruption occured in iphone?

我只是一个虾纸丫 提交于 2019-11-28 23:50:02
I am working on an audio recorder application, it is working perfectly fine. But I'm stuck with the problem of interruption. When a call comes, - (void)audioRecorderBeginInterruption:(AVAudioRecorder *)recorder then this method is called and the recording is paused. And if the user rejects the call: - (void)audioRecorderEndInterruption:(AVAudioRecorder *)recorder Then here I want to resume the recording from the point where it was interrupted. But when I call the record method again, the recording starts with a new file. The problem is solved! I have re-written the recording code to avoid this

Prevent other applications form capturing/recording screen

雨燕双飞 提交于 2019-11-28 21:29:55
Basically i want VIDEO PIRACY PROTECTION My application has video streaming and I want to protect my video streaming from other applications. Other applications should not be able to capture screen while my video is playing. Any suggestions how can i achieve this.. Thanks in advance. You can secure screen capturing functionality by adding FLAG_SECURE into your Activity as follows getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE); Check this link which says Screen capturing and sharing Android 5.0 lets you add screen capturing and screen sharing capabilities to your app

Capture 60fps in iPhone app

元气小坏坏 提交于 2019-11-28 05:03:52
I am working on a project where we will be using iPhones as cameras for capturing a scene. When recording we need to record @60fps and not 30fps (as natively supported). So I am working on an app to do this as the iPhone 4S hardware supports 720p@60fps (if you jailbreak your phone you can achieve this). Does anybody know how to do this in Objective-C on iOS? Today I saw an app out there (slopro) that can record 60fps on non jailbroken phones. Any advice or tips is much appreciated. After some tinkering, this answer has split into two parts: How to capture frames at 60fps The

How to Play a sound file on line-in (Microphone)?

谁都会走 提交于 2019-11-28 02:13:42
问题 That title may be seem Ridiculous but I Have problem. I have Service capture line-in and, save file on system as sound file (that service didn't develop by me, and I must use that). So I want to write program to select sound file (*.wav, *.mp3 or etc), and then that sound file, will be play on Line-in (Microphone) to record as user speech . Q: So How Do this In C#? Any Advise? Thanks 回答1: You need to use a virtual audio device driver (like this for example), which will allow you to play audio