G-10
Cisco Interactive Experience Client 4600 Series User Guide
Appendix G Stream Live Video
Stream Live Video
global.videoEncoder object Enumeration
{
enum ErrorCodes
{
videoEncoderNotPresent = -1,
UnabletoStopStreaming = -2,
UnabletoStartStartStreaming = -3,
RemoteSideNotListening = -4,
MemoryExuastionError = -5,
NoHdmiVideoSignal = -6,
BothUsbAndPcieTogetherNotSupported = -7,
HdmiVideoFormatNotUnderstood = -8,
};
enum Protocol
{
ProtocolUdp = 0,
ProtocolTcp = 1,
};
enum VideoMode
{
VideoModeSD = 0,
VideoModeHD = 1,
VideoModeCustom = 2,
};
setProgressive(in int flag)
Allows you to set the input scan format to
Progressive. Call this API with parameter of ‘1’ to
set to Progressive. Choices are ‘0’ or ‘1’.
setStreamType(in int streamType)
Allows you to set the stream type for the Video-In
stream. Choices are ‘0’ for PS, ‘1’ for TS
(default), ‘2’ for Mp4, ‘3’ for ES, and ‘4’ for Raw.
setInputFrameRate(in int frameRate)
Allows you to set the Incoming (Video-In) Frame
rate in fps. Choices are ‘0’ for 15fps, ‘1’ for 24fps,
‘2’ for 30fps, and ‘3’ for 60fps.
setOutputFrameRate(in int frameRate)
Allows you to set the Output (Video-Out) Frame
rate in fps. Choices are ‘0’ for 15fps, ‘1’ for 24fps,
‘2’ for 30fps, and ‘3’ for 60fps.
setAverageOutputFrameRate(in int avgRate)
Allows you to set the Average Output Rate
(Video-Out) in kbps.
setMinimumOutputBitRate(in int minRate)
Allows you to set the Minimum Output Rate
(Video-Out) in kbps.
setMaximumOutputBitRate(in int maxRate)
Allows you to set the Maximum Output Rate
(Video-Out) in kbps.
setOutputResolution(in int
outputResolution)
Allows you to set the Output Resolution for
Video-Out. Choices are ‘0’ for 1920x1280, ‘1’ for
1280x720, ‘2’ for 1200x672, ‘3’ for 1168x656,
‘4’ for 1024x576, and ‘5’ for 768x432.
setAudioBitRate(in int bitRate)
Allows you to set the Audio-In bit rate in kbps.