Home Previous Up Next Index

Stream::CompressionRate

Overview

enum CompressionRate

parameters for setting the compression rate of the encoder. because encoders differ in how the compresion rate is set (most codecs allow you to set a bitrate, but some others recommend setting a quality value, for which some use a integer, while others use a fixed-point decimal value...) we abstract from these settings and offer compresion rate choices to the client. the server maps these to the respective codec configurations.

Used By

StreamProvider::setCompressionRate

Enumerators

COMPRESSIONHIGH

use a high compression rate, i.e. do not care about quality and try to get a high frame rate on messy connections.

COMPRESSIONLOW

use a low compression rate, i.e. provide excellent quality over very good connections.

COMPRESSIONMED

use a medium compression rate, i.e. provide decent quality over decent connections.


Home Previous Up Next Index