An object for encoding and decoding audio and video streams. When an input stream containing audio data is opened, the following slots will be set: audioChannels audioSampleRate audioBitRate audioDuration audioFrameCount When an input stream containing video data is opened, the following slots will be set: framePeriod videoDuration videoFrameCount