Qt API | Qtopia API | Qtopia Documentation | ![]() |
The MediaPlayerDecoder_1_6 class provides an extension to the MediaPlayerDecoder class for Qtopia MediaPlayer decoder plugins. More...
#include <qtopia/mediaplayerplugininterface.h>
Inherits MediaPlayerDecoder.
The MediaPlayerDecoder_1_6 class provides an extension to the MediaPlayerDecoder class for Qtopia MediaPlayer decoder plugins.
See also Qtopia Classes.
Returns TRUE if the decoder can support the given mimetype with the url provided.
Returns the current millisecond being played in the stream. The accuracy should only be considered good enough for the use in the display of the current play time and not used for the precise timing of syncing playback. Not all formats contain timestamps, therefore after seeking, not all formats and decoders will be able to support this function.
Returns TRUE if the decoder can support the currentTime() function for the given stream.
Returns the length in bytes of the stream. For streamed data, the protocol may not always return how long the stream will be, therefore it should be assumed that this may not always be available with all decoder plugins.
Returns TRUE if the decoder can support the length() function for the given stream.
Opens the url of given mimetype. Typically this information is provided by a web server to a web browser which could pass this on directly to the plugin or indirectly to the Qtopia Media Player through a QCop signal.
Seeks to pos byte offset from the beginning of the stream.
Returns TRUE if the stream is seekable or not. For streamed media, it is possible that seeking may not be able to be implemented in the plugin therefore the plugin returns FALSE, otherwise if it can, it returns TRUE.
Returns TRUE if the decoder is playing a streamed file opened using openURL(), or FALSE if the file was opened using the MediaPlayerDecoder::open() function used for files.
Returns TRUE if the decoder supports streaming.
Sync up the video to match the timestamp of where the audio currently is playing. If the video is behind, this will skip forward to the correctly matching frame.
Returns TRUE if the decoder supports for the given stream syncing the audio and video together with the sync() function.
Returns the current byte offset from the beginning of the stream.
Returns TRUE if the decoder can support the tell() function for the given stream.
Returns the total time in milliseconds of the stream. For some file formats, the total play time may not be easily obtainable. Some formats use VBR (variable bit rate) encoding without timestamps making it uncertain as to exactly how long it takes to play the file without actually decoding or indexing it.
Returns TRUE if the decoder can support the totalTime() function for the given stream.
This file is part of the Qtopia , copyright © 1995-2002 Trolltech, all rights reserved.
Copyright © 2001-2002 Trolltech | Trademarks | Qtopia version 1.7.0
|