recordCompression | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 2.0 | ||||||
OS | mac, windows | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: default Property: recordFormat, recordSampleSize Command: answer record, record sound Function: compress, format, recordCompressionTypes Control Structure: function Glossary: property, dialog box, command, QuickTime, codec, compress | ||||||
Description | Use the recordCompression property to trade off between sound quality and disk space when you record a sound. The recordCompression property determines what kind of compression is used when you use the record sound command to record sound to a file. Not all codecs are compatible with all supported sound file formats. If you try to record sound using a recordCompression that is not compatible with the file format specified by the recordFormat property, the compression type will be changed automatically to a codec that is compatible with the specified recordFormat. The codecs are installed by QuickTime. You can obtain a list of available codecs using the recordCompressionTypes function. The default setting, "raw " (note the trailing space), indicates no compression will be used.
|