I want to create application where I can record video with audio and save it to disk.
When application start I detect all video and audio sources and show this list on the UI.
But when I disconnect one of webcams (or unplug mic), this device still remain in list.
How I can get notifications of device connect/disconnect, both for video devices(USB) and audio devices(jack 3.5).
Thank you.
WBR
Maxim
You might find some useful tips in this other question, here IOKit device adding/removal notifications - only fire once?
I also have an example of an app that uses the IOKit framework to detect adding and removing USB devices on my github account here: https://github.com/tjarratt/Panic-Button
Baring that, the apple developer site has a lot of documentation on using USB devices:
https://developer.apple.com/library/mac/documentation/devicedrivers/conceptual/USBBook/USBDeviceInterfaces/USBDevInterfaces.html
Related
I would like to make a personal application to be installed on two iPhones. The first to be used as a webcam that transmits to the second via wifi.
Having no experience with xCode, I am looking for a code example to connect 2 devices via wifi and transmit a real-time video stream.
Unfortunately, the documentation and examples I found are deprecated or partial and inconsistent.
Where can I find some code examples to help me solve my problem, preferably in ObjectiveC (but also in Swift)?
Thank you
We have a LabVIEW application that is based on sound acquisition.
I connected a Custom USB Audio device (Microphone). It is set to be the default Recording device.
But while running the application, if there is another mic source connected, then sound is being recorded/acquired by the other mic and not the default one.
So in order to have the custom microphone do the acquisition, I tried to change the default Audio Recording device through LabVIEW. But all I can do is list the audio devices connected by running a PowerShell command through System Exec function.
Is there any possible way to change the default recording device using LabVIEW? Please do mention if any.
Back in the day, I had a similar requirement, I did the following!
Get All microphones connected on the PC.
Once I get all the Device IDs, I performed a search using "Device Name" to get the Device ID I needed!
Note: If the above VI returns only one microphone, then make sure you've installed DirectX on the PC.
I hope this helps :)
Hello am very late for this information, but I can provide you with a few things you need to do.
Tap setting
Choose my device
Difficult device
Select and activate
Or
Visit Cpanel select program and tap on device activety, now choose difficult setting.
To change difficult device follow each of the steps above:
1.Setting
2.Device
3. Select difficult program
May any changes you want then done.
I'm building a Kinect application in Unity (C#) that tracks multiple people. My stumbling block is how to test this without having several live 'actors' in front of the sensor.
I know Kinect Studio allows you to record live streams, but don't think this can be played back so that it feeds a Unity app. I am using the Kinect for Windows Unity package as a starting point.
https://dev.windows.com/en-us/kinect/tools
Any Kinect or Unity experts care to chime in?
Actually you can use recorded data to playback them without any "actors".
While you are running your app (and without the need of an actual Kinect device plugged in your PC), open Kinect Studio and chose Open (Read-Only) from File. Click then on the Connect icon under the Play tab:
After that, using the Play icon (the typical triangular-shaped one), your recordings will be send to the KinectService, so you can test your app without any actors.
Is it possible to obtain a stream of audio data arriving at the system output (speakers, headphones, etc.) using CoreAudio or another framework?
Example: You're listening to a song on iTunes while watching a YouTube video, all while playing a computer game that makes sounds of its own, all of which are being played through your computer's speakers (Probably terribly annoying). My app would need to receive the entire mix as streaming data.
Thanks in advance.
Not at a user application's Core Audio or other app framework level. Some audio output capture/snoop apps may do this with a kernel extension (kext), or perhaps a replacement audio hardware driver.
I want to develop an App that requires wired communication between Web cam type video camera and iPad2. Basically I will directly connect Web cam and iPad2 using cable and when I start web cam, whatever images(picture/video) captured by web cam should be displayed on iPad2.
Based on my research on this I found that iPad2 cable is only made for iPod Program so the connector is not a traditional USB port I can't do direct communication between web cam and iPad2. Am I missing anything?
We are going to use Vivotek camera and they have mentioned here that we can use safari to receive the Motion-JPEG stream. I am wondering if that could also possible on iPad 2 and is it reliable?
Further I found Apple's MFi Program to develop electronic accessories that connect to iPod, iPhone, and iPad. Is there anyone out here used this already and know more about this if I can go for this?
Thanks.
You can receive a motion jpeg stream in mobile Safari or in a UIWebView in a custom app. I am not able to (yet) successfully receive a motion jpeg stream via an AVPlayer, AVPlayerItem or AVURLAsset.
Becoming a MFI authorized company is non-trivial (I tried once). They want larger established companies that have demonstrated they have the skills and manufacturing know-how/contacts to produce quality accessories.
Curious if you can step back from your initial requirement and see if you can figure out how to do it wirelessly for at least the last step to the iPad 2. Can go wired up to 2 feet away from the iPad and use a local private wifi network for that last 2 feet (say).
I recommend you add (use existing, or purchase) a wireless gateway. Connect the camera to the gateway, and then connect the iPAD to the wireless network, and then browse in safari to the camera and then you can view the image. There is no "hard wired" way to get this to work.
As for the "hard wired" portion of the question, I do not believe that is not possible without a lot of work and hardware. There is no "video in" on an ipad to make it a monitor for a camera.