Mac OS X Media Hacks
Airplay
As one of the most important features of osx, airplay is a important hack for media playing.
reference
- wireless display
- Unofficial AirPlay Protocol Specification
stackexchange airplay across vlans
you need to know
Avahianddns-sdto debug the network
Airplay Audio
- GENERAL WAYS -- Mirroring. Go to
System Preference>Sound>Outputtab to select the output audio channel. OR you can hold downOptionkey on your keyboard, then click on the speaker icon in your menu bar. - Use
iTunes.
Airplay video
- GENERAL WAYS -- Mirroring. Go to
System Preference>Displaysto select the output video channel. - Use
iTunes. - Use
iToolsfor mirroring in laptop or desktop.
Audio
- Dictation in command line. You can change the language pack in
System Preference>Dictation & Speech>Text to Speechtab >System Voice>Customize
say -a "AirPlay" <your-words>;say -r160 -a "Built-in Output" <your-words>
- Play audio file in command line.
# this using mac osx default `afplay` to play audio file to default audio output
afplay file.mp3