Halyri - Mobiili  0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
Halyri.ImportedServiceClasses.MediaConfigurationDto Class Reference

Media configuration container class manually cloned from the server project. More...

Public Member Functions

void PerformConstraintCheck ()
 Validates AudioComressionQuality and PictureCompressionQuality. More...
 

Public Attributes

int AudioCompressionQualityMin = 0
 
int AudioCompressionQualityMax = 10
 
const float PictureFpsMin = 0.0F
 
int PictureCompressionQualityMin = 0
 
int PictureCompressionQualityMax = 100
 

Properties

bool EnablePicture [get, set]
 
bool EnableAudio [get, set]
 
int AudioCompressionQuality [get, set]
 AudioCompressionQuality should be an integer between 0-10, 10 being the best quality More...
 
float PictureFps [get, set]
 Picture FPS, values under 1 will result in frame rates with fewer than one frames per second More...
 
int PictureCompressionQuality [get, set]
 PictureCompressionQuality should be an integer between 0-100, 100 being the best quality More...
 
int PictureResolution [get, set]
 Picture resolution, 0-10, 10 being the largest resolution available More...
 

Static Private Member Functions

static T IntoRange< T > (T rangeLow, T rangeHigh, T value)
 If value is within range, returns it. If not then checks if its over or under and returns max, if over and min if under. More...
 

Detailed Description

Media configuration container class manually cloned from the server project.

Member Function Documentation

static T Halyri.ImportedServiceClasses.MediaConfigurationDto.IntoRange< T > ( rangeLow,
rangeHigh,
value 
)
staticprivate

If value is within range, returns it. If not then checks if its over or under and returns max, if over and min if under.

Template Parameters
TReturn type
Parameters
rangeLowMin range
rangeHighMax range
valueValue
Returns
Type Constraints
T :System.IComparable<T> 
void Halyri.ImportedServiceClasses.MediaConfigurationDto.PerformConstraintCheck ( )

Validates AudioComressionQuality and PictureCompressionQuality.

Member Data Documentation

int Halyri.ImportedServiceClasses.MediaConfigurationDto.AudioCompressionQualityMax = 10
int Halyri.ImportedServiceClasses.MediaConfigurationDto.AudioCompressionQualityMin = 0
int Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureCompressionQualityMax = 100
int Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureCompressionQualityMin = 0
const float Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureFpsMin = 0.0F

Property Documentation

int Halyri.ImportedServiceClasses.MediaConfigurationDto.AudioCompressionQuality
getset

AudioCompressionQuality should be an integer between 0-10, 10 being the best quality

bool Halyri.ImportedServiceClasses.MediaConfigurationDto.EnableAudio
getset
bool Halyri.ImportedServiceClasses.MediaConfigurationDto.EnablePicture
getset
int Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureCompressionQuality
getset

PictureCompressionQuality should be an integer between 0-100, 100 being the best quality

float Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureFps
getset

Picture FPS, values under 1 will result in frame rates with fewer than one frames per second

int Halyri.ImportedServiceClasses.MediaConfigurationDto.PictureResolution
getset

Picture resolution, 0-10, 10 being the largest resolution available


The documentation for this class was generated from the following file: