Property

ClapperPlayer:download-enabled

since: 0.8

Declaration

property download-enabled: gboolean [ read, write ]

Description [src]

Whether progressive download buffering is enabled.

If progressive download is enabled and ClapperPlayer:download-dir is set, streamed network content will be cached to the disk space instead of memory whenever possible. This allows for faster seeking through currently played media.

Not every type of content is download applicable. Mainly applies to web content that does not use adaptive streaming.

Once data that media item URI points to is fully downloaded, player will emit ClapperPlayer::download-complete signal with a location of downloaded file.

Playing again the exact same ClapperMediaItem object that was previously fully downloaded will cause player to automatically use that cached file if it still exists, avoiding any further network requests.

Please note that player will not delete nor manage downloaded content. It is up to application to cleanup data in created cache directory (e.g. before app exits), in order to remove any downloads that app is not going to use next time it is run and incomplete ones.

Type:gboolean

Available since: 0.8

Flags

Readableyes
Writableyes
Constructno
Construct onlyno