Is there no way to direct an AIR app's audio to different audio output devices?

I'm needing to make a couple of our AIR apps select certain audio devices to send their audio output to, and last year, somebody mentioned possibly using native extensions to do this.  I had to start working on other things for a while, but I've come back to this (for the moment), and I've basically learned how to create native extensions.
But so far, they don't seem to provide me any special access to anything going on under the hood of an AIR app.  When you stream live audio in through RTMP or RTMFP, the details of the audio are hidden from you.  There doesn't appear to be any place where you can actually access the audio bytes that are being sent over the wire.  You can specify a certain SoundTransform object for the NetStream to use, but that class is final and a vanilla Flash construct, so even if it may have a way to access the audio bytes, they're not acessible at all.
It really looks like, when a NetStream object starts streaming in live audio, there is no way under the sun to access the audio bytes and direct them to a certain audio output device, with or without extensions.  Is this so?  It would be unfortunate if Adobe didn't allow this, even through native extensions.  Thanks.

Couple quick thoughts..
Limits are important. There's a large amount of work done to keep a clear separation between a users decision and a developers decision. For instance, you can't change a users default audio output because that clearly violates a users decision. That said, here's a whole mess of people debating the issue and actually eventually an undocumented COM API you can find that will actually let you do it in Vista/Win7 (but not 8), however don't expect that to be a 'good thing to do':
http://social.microsoft.com/Forums/en-US/9ebd7ad6-a460-4a28-9de9-2af63fd4a13e/programatica lly-setting-the-default-playback-device-and-recording-device?forum=windowspro-audiodevelop ment
You might want to get a beverage before reading that.
Aside that, RTMP is secured, which is why you can't gain access to the bytes. The entire purpose of it is to assure media developers that their media can't easily be copied/stolen. Adobe doesn't document their method of securing streams but they do publish the RTMP specification. It's entirely possible for you to create your own RTMP server and encryption method while delivering a RTMP stream to custom client that you code yourself which can read the stream. Here's the spec:
http://www.adobe.com/devnet/rtmp.html
So I'd say it would be unfortunate if Adobe did give you access to the bytes. You might as well just hand users a mp3 of whatever song is playing because they would steal media left and right.
That isn't to say you can't use a multitude of ways of getting the data going across the default output device. Plenty of apps (fraps/etc) capture video and mixed audio streams. But Adobe isn't going to give you the keys to the kingdom and let you decrypt their protected media protocol.

Similar Messages

  • Is there a way for my macbook air (running Lion) to access an external hard drive on my Imac (running snow leopard) specifically for Iphoto and itunes?

    Is there a way for my macbook air (running Lion 10.7.2) to access an external hard drive on my Imac (running snow leopard 10.6.8) specifically for Iphoto and itunes?

    Yes. For those two applications specifically there is sharing. This presumes both computers are on and connected to the same network.
    In iPhoto, enable sharing by (on the iMac) going to the iPhoto menu > Preferences > Sharing > check Share my photos. You can either share the entire library or only selected albums. Now on your MacBook Air, in iPhoto, go to the same preference pane and select Look for shared photos.
    iTunes has something similar. In the iTunes menu > Preferences > Sharing > check Share my library on my local network. On the other computer, look in the left column for SHARED and select the iMac. You can now play that music on the MacBook Air.
    There are other ways to share files but for those two applications this is the simplest way.
    Best of luck.

  • Is there any way on an iPad Air to see your dictation as you speak

    Is there any way on an iPad Air to see your dictation as you speak

    You can use the built in Siri voice functions in many text apps, (Notability is good) to have it type as you speak, also Dragon Dictation is available in app store and uses its own method rather than Siri.

  • Is there a way to deploy Adobe Air package via Group Policy or SCCM?

    Is there a way to deploy Adobe Air package via Group Policy or SCCM?

    hi,
    I guess you can try the following options
    Remove the all the entry from the TOC of your project or create a new blank TOC and select that while AIR file generation
    Remove the all the entry from the index of your project or create a new blank index and select that while AIR file generation
    Remove the all the entry from the glossary of your project or create a new blank glossary file and select that while AIR file generation
    THis will ensure that TOC/Index/Glossary page is not shown,
    There is no way to hide Favorite or RSS from the AIR Help. Again, you can try looking at the Unipane Template provided in the AIR SSL Dialog.
    Hope this helps
    -Praful Jain

  • I am running 10.7.5 on an imac and I want to upgrade to Yosemite but I have no app store on my computer. Is there a way I can get the app store on my imac?

    I am running 10.7.5 on an imac and I want to upgrade to Yosemite but I have no app store on my computer. Is there a way I can get the app store on my imac?

    If you don't have it then you will have to reinstall Lion:
    Reinstall Lion, Mountain Lion, Mavericks or Yosemite without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, Mavericks, or Yosemite
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.
    Then you can download and install Yosemite if your computer meets the system requirements:
    Upgrading to Yosemite
    You can upgrade to Yosemite from Lion or directly from Snow Leopard. Yosemite can be downloaded from the Mac App Store for FREE.
    Upgrading to Yosemite
    To upgrade to Yosemite you must have Snow Leopard 10.6.8 or Lion installed. Download Yosemite from the App Store. Sign in using your Apple ID. Yosemite is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
        OS X Mavericks/Yosemite - System Requirements
          Macs that can be upgraded to OS X Yosemite
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.

  • My MBA 13" Late 2010 displayport to TV has stopped working, is there a way to troubleshoot the port? Have tried several different ways of trying, but TV still reads "No Signal"?

    My MBA 13" Late 2010 displayport to TV has stopped working, is there a way to troubleshoot the port? Have tried several different ways of trying, but TV still reads "No Signal" while the TV changes resolution as if it were sharing it's screen?

    Hi garyducati,
    If you are having issues with the video out on your MacBook Air, you may find the following article helpful:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Regards,
    - Brenden

  • I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account

    I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account
    <Serial Number Edited By Host>

    If you enabled Find my iPhone then you should use that. If not, I'm afraid you're out of luck for finding it. 
    To manage your devices, go to Your Account in iTunes.

  • I just bought an ipad2, is there a way to transfer all my apps from my old ipad to my new?

    I just bought an ipad2, is there a way to transfer all my apps from my old ipad to my new?

    Backup the old iPad.
    Restore the backup to the new one.
    tt2

  • Is there a way I can view all apps I have ever downloaded?

    Is there a way I can view all apps I have ever downloaded? Like some sort of historical list associated to my account?
    It would help a great deal- I restored my phone from a backup after my iphone crashed- but I had downloaded many apps since then, so now I have to re-download all the missing apps. Thing is I cant remember all of them?
    Anone else have the same problem?

    Have you never synced your phone? Syncing puts copies of each app into iTunes for you to manage and have available to sync over when you want.
    Other than that, in iTunes, from top menus (forget which one, think under help) you can access your account and then view purchase history.

  • Is there a way to create my own app store that I can share with employees? I'm thinking apps that we've identified as important or needed, all in one place.

    Is there a way to create my own app store that I can share with employees? I'm thinking apps that we've identified as important or needed, all in one place.

    Not exactly your own app store, but close.  Apple has an App Store Volume Purchasing Program for Business > http://www.apple.com/business/vpp/
    It allows you to purchase apps in any quantity you desire and pay using a company credit card.  You will receive a spreadsheet of redeem codes which you distribute to your emloyees.  The program guide has complete information > http://images.apple.com/business/docs/VPP_Business_Guide_US.pdf

  • I changed the password to my ipod but it isn't working and I don't want to restore it. Is there a way of getting rid of the pass word or un-disabling my device?????

    I changed the password to my ipod but it isn't working and I don't want to restore it. Is there a way of getting rid of the pass word or un-disabling my device?????

    Connect the iOS device to your computer and try to make a backup.
    iOS: How to back up
    Then restore via iTunes. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Is there a way to view only the apps I'm not using?

    If I attach all my iOS devices to my computer, is there a way to view only the apps in my iTunes library that are NOT being used by any device?  To make it easier to know which I'm not using, so I can delete them off my computer and free up some space?

    In Settings:
    General->Network->Cellular Data: Switch off.

  • Is there a way to view all favorites on one page from different albums?

    is there a way to view all favorites on one page from different albums?
    I can't seem to figure out how to view all favorites at one time.
    nothing (thus far) is shared.
    paid membership to revel, also.

    oops - apparently you can do this from the app,
    but not from the web login view.

  • Is there a way to "Quit" all running apps in dock at the same time verses right-clicking each one individually?

    Is there a way to "Quit" all running apps in dock at the same time verses right-clicking each one individually?

    IIRC, OPTION-click on the Apple icon on the menu bar and select either Restart or Shutdown. Alternatively,
    Control-Command-Eject
    Quit all applications (after giving you a chance to save changes to open documents), then restart the computer
    Control Option-Command-Eject
    Quit all applications (after giving you a chance to save changes to open documents), then shut down the computer

  • Is there a way to sync the Notes app on my iPod Touch with the Notes on my desktop without using iCloud

    I've been reading some of the other threads about this issue, but most, if not all, suggest using iCloud. I'm wary of setting up an iCloud account because I've heard that "once your information is 'in the cloud' it can't be deleted", and I just don't know how true that is.
    Is there a way to sync the two apps by some other means that bypasses "the cloud"?

    I think that cloud privacy concerns are overdone - especially with Apple who don't have a vested interest in snooping through your data like Google does!
    Do you use email?  It's stored in the cloud on the providers servers - no matter who the provider is.
    Do you use SMS on a phone?  They're stored on a server somewhere!
    Do you use the internet?  The logs are stored at your ISP for some period of time - tracking everywhere you've been.
    Thats why I am comfortable to use iCloud for most of my documents.  If I want to transfer files very securely, I put them in an encrypted disk image on Dropbox.
    Cheers,
    Rodney

Maybe you are looking for

  • How can I create a VM in Brazilian Data Center

    I am working on a Proof of Concept to use Cloud Services in Latin America. What I am trying to do is setup an FTP Site in the Azure Brazilian Data Center. So how can I create a VM in the Brazilian Data Center- I do not see a way to do this through th

  • Database Auditing to record DELETE operation on a schema for all tables.

    Hi, I am using ORACLE DATABASE 11g. I want to apply the AUDIT feature to record all the DELETE operations happening on the schema tables. I did the following steps but dint got the proper output :- I logged into the SYS as sysdba user and set alter s

  • Get multiple Input/Output Stream from same socket ?

    For a better express of my problem i will put my test example I have those 4 classes package test; import... public class ReaderExecutor extends Thread{         private InputStream in = null;         private static int defaultID = 0;         private

  • Change End time of Recording in Progress?

    I know I can change the start and end time of a single show in the View Schedule menu, but this only works before the show has started recording.  Once the show has started recording, it disappears from the View Schedule menu.  Is there a way to adju

  • Safari has gone bonkers on me

    I get weird layout, colours change etc etc. I tried deleting Safari and reinstalling but that did not work Are there preferences I should delete? OR????? Thanks Stan