de.clab.osami.conferencing.vlc.config
Interface IVerificator
- All Known Implementing Classes:
- VlcVerificator
public interface IVerificator
verifyAudioBitrate
java.lang.String verifyAudioBitrate(int audioBitRate)
- Parameters:
audioBitRate
- value that is going to be verified
- Returns:
- null if the audioBitRate is between [8,512]
otherwise a failure message
verifyAudioChannelSize
java.lang.String verifyAudioChannelSize(int audioChannelSize)
- Parameters:
audioChannelSize
- value that is going to be verified
- Returns:
- null if the audioChannelSize is between [1,10]
otherwise a failure message
verifyAudioCodec
java.lang.String verifyAudioCodec(java.lang.String audioCodec)
- Parameters:
audioCodec
- value that is going to be verified
- Returns:
- null if the audioCodec is one of the following
{"mpga","mp3","mp4a","a52","vorb","flac","spx","s16l","wma2"}
otherwise a failure message
verifyAudioCaching
java.lang.String verifyAudioCaching(int audioCaching)
- Parameters:
audioCaching
- value that is going to be verified
- Returns:
- null if the audioCaching is equal to or greater than 0
otherwise a failure message
verifyAudioDevice
java.lang.String verifyAudioDevice(java.lang.String audioDevice)
- Parameters:
audioDevice
- value that is going to be verified
- Returns:
- TODO: comment
verifyAudioProtocol
java.lang.String verifyAudioProtocol(java.lang.String audioProtocol)
- Parameters:
audioProtocol
- value that is going to be verified
- Returns:
- TODO: comment
verifyAudioSampleRate
java.lang.String verifyAudioSampleRate(int audioSampleRate)
- Parameters:
audioSampleRate
- value that is going to be verified
- Returns:
- null if the audioSampleRate is one of the following
{8000,11025,22050,44100,48000}
otherwise a failure message
verifyVideoBitrate
java.lang.String verifyVideoBitrate(int videoBitrate)
- Parameters:
videoBitrate
- value that is going to be verified
- Returns:
- null if the videoBitrate is between [0,32768]
otherwise a failure message
verifyVideoCaching
java.lang.String verifyVideoCaching(int videoCaching)
- Parameters:
videoCaching
- value that is going to be verified
- Returns:
- null if the videoCaching is equal to or greater than 0
otherwise a failure message
verifyVideoCodec
java.lang.String verifyVideoCodec(java.lang.String videoCodec)
- Parameters:
videoCodec
- value that is going to be verified
- Returns:
- null if the videoCodec is one of the following
{"mp1v","mp2v","mp4v","DIV1","DIV2","DIV3","H263",
"h264","VP80","WMV1","WMV2","MJPG","theo","drac"}
otherwise a failure message
verifyVideoDevice
java.lang.String verifyVideoDevice(java.lang.String videoDevice)
- Parameters:
videoDevice
- value that is going to be verified
- Returns:
- TODO: comment
verifyVideoFrameRate
java.lang.String verifyVideoFrameRate(float videoFrameRate)
- Parameters:
videoFrameRate
- value that is going to be verified
- Returns:
- null if the videoFrameRate is between [0.00,99.99]
otherwise a failure message
verifyVideoProtocol
java.lang.String verifyVideoProtocol(java.lang.String videoProtocol)
- Parameters:
videoProtocol
- value which is going to be verified
- Returns:
- TODO: comment
verifyVideoScale
java.lang.String verifyVideoScale(float videoScale)
- Parameters:
videoScale
- value that is going to be verified
- Returns:
- null if the videoScale is one of the following:
{0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0}
otherwise a failure message
verifyVideoSize
java.lang.String verifyVideoSize(java.awt.Dimension videoSize)
- Parameters:
videoSize
- value that is going to be verified
- Returns:
- null if the videoSize is under the current screen resolution
otherwise a failure message
verifyStreamCaching
java.lang.String verifyStreamCaching(int streamCaching)
- Parameters:
streamCaching
- value that is going to be verified
- Returns:
- null if the streamCaching is equal to or greater than 0
otherwise a failure message
verifyStreamIp
java.lang.String verifyStreamIp(java.lang.String streamIp)
- Parameters:
streamIp
- value that is going to be verified
- Returns:
- null if the streamIp contains 4 integers delimited by a dot,
each of which is between [0,255]
otherwise a failure message
verifyStreamLocalPort
java.lang.String verifyStreamLocalPort(int streamLocalPort)
- Parameters:
streamLocalPort
- value that is going to be verified
- Returns:
- null if the streamLocalPort is between [0,65535]
otherwise a failure message
verifyStreamProtocol
java.lang.String verifyStreamProtocol(java.lang.String streamProtocol)
- Parameters:
streamProtocol
- value that is going to be verified
- Returns:
- null if the streamProtocol is RTP
otherwise a failure message
verifyStreamTargetPort
java.lang.String verifyStreamTargetPort(int streamTargetPort)
- Parameters:
streamTargetPort
- value that is going to be verified
- Returns:
- null if the streamTargetPort is between [0,65535]
otherwise a failure message
verifyConfig
java.lang.String verifyConfig(IConfiguration configuration)