Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type Audio struct { Enabled bool `xml:"enabled" json:"enabled"` AudioInputChannelID string `xml:"audioInputChannelID" json:"audioInputChannelID"` AudioCompressionType string `xml:"audioCompressionType" json:"audioCompressionType"` AudioInboundCompressionType string `xml:"audioInboundCompressionType,omitempty" json:"audioInboundCompressionType,omitempty"` AudioBitRate int `xml:"audioBitRate,omitempty" json:"audioBitRate,omitempty"` AudioSamplingRate float32 `xml:"audioSamplingRate,omitempty" json:"audioSamplingRate,omitempty"` AudioResolution int `xml:"audioResolution" json:"audioResolution"` }
type StreamChannel ¶
type StreamChannel struct { ID int `xml:"id" json:"id"` ChannelName string `xml:"channelName" json:"channelName"` Enabled bool `xml:"enabled" json:"enabled"` Transport Transport `xml:"Transport" json:"Transport"` Video *Video `xml:"Video,omitempty" json:"Video,omitempty"` Audio *Audio `xml:"Audio,omitempty" json:"Audio,omitempty"` EnableCABAC *bool `xml:"enableCABAC,omitempty" json:"enableCABAC,omitempty"` SubStreamRecStatus *bool `xml:"subStreamRecStatus,omitempty" json:"subStreamRecStatus,omitempty"` }
type StreamChannelList ¶
type StreamChannelList struct {
StreamChannel []StreamChannel `xml:"StreamingChannel" json:"StreamingChannel"`
}
*
- @author : Donald Trieu
- @created : 9/24/21, Friday
*
type StreamStatus ¶
type StreamStatus struct { TotalStreamingSessions int `xml:"totalStreamingSessions" json:"totalStreamingSessions"` StreamingSessionStatusList []struct { StreamingSessionStatus struct { ClientAddress struct { IpAddress string `xml:"ipAddress" json:"ipAddress"` } `xml:"clientAddress" json:"clientAddress"` } `xml:"StreamingSessionStatus" json:"streamingSessionStatus"` } `xml:"StreamingSessionStatusList" json:"streamingSessionStatusList"` }
*
- @author : Donald Trieu
- @created : 9/24/21, Friday
*
type Transport ¶
type Transport struct { MaxPacketSize int `xml:"maxPacketSize,omitempty" json:"maxPacketSize,omitempty"` AudioPacketLength int `xml:"audioPacketLength,omitempty" json:"audioPacketLength,omitempty"` AudioInboundPacketLength int `xml:"audioInboundPacketLength,omitempty" json:"audioInboundPacketLength,omitempty"` AudioInboundPortNo int `xml:"audioInboundPortNo,omitempty" json:"audioInboundPortNo,omitempty"` VideoSourcePortNo int `xml:"videoSourcePortNo,omitempty" json:"videoSourcePortNo,omitempty"` AudioSourcePortNo int `xml:"audioSourcePortNo,omitempty" json:"audioSourcePortNo,omitempty"` ControlProtocolList []struct { ControlProtocol struct { StreamingTransport string `xml:"streamingTransport" json:"streamingTransport"` } `xml:"ControlProtocol" json:"ControlProtocol"` } `xml:"ControlProtocolList" json:"ControlProtocolList"` Unicast struct { Enabled bool `xml:"enabled" json:"enabled"` InterfaceID string `xml:"interfaceID,omitempty" json:"interfaceID,omitempty"` RtpTransportType string `xml:"rtpTransportType,omitempty" json:"rtpTransportType,omitempty"` } `xml:"Unicast,omitempty" json:"Unicast,omitempty"` Multicast struct { Enabled bool `xml:"enabled" json:"enabled"` UserTriggerThreshold int `xml:"userTriggerThreshold,omitempty" json:"userTriggerThreshold,omitempty"` DestIPAddress string `xml:"destIPAddress,omitempty" json:"destIPAddress,omitempty"` VideoDestPortNo int `xml:"videoDestPortNo,omitempty" json:"videoDestPortNo,omitempty"` AudioDestPortNo int `xml:"audioDestPortNo,omitempty" json:"audioDestPortNo,omitempty"` DestIPv6Address string `xml:"destIPv6Address,omitempty" json:"destIPv6Address,omitempty"` Ttl int `xml:"ttl,omitempty" json:"ttl,omitempty"` } `xml:"Multicast,omitempty" json:"Multicast,omitempty"` Security struct { Enabled bool `xml:"enabled" json:"enabled"` CertificateType string `xml:"certificateType,omitempty" json:"certificateType,omitempty"` } `xml:"Security,omitempty" json:"Security,omitempty"` }
type Video ¶
type Video struct { Enabled bool `xml:"enabled" json:"enabled"` VideoInputChannelID string `xml:"videoInputChannelID" json:"videoInputChannelID"` VideoCodecType string `xml:"videoCodecType" json:"videoCodecType"` VideoScanType string `xml:"videoScanType,omitempty" json:"videoScanType,omitempty"` VideoResolutionWidth int `xml:"videoResolutionWidth" json:"videoResolutionWidth"` VideoResolutionHeight int `xml:"videoResolutionHeight" json:"videoResolutionHeight"` VideoPositionX int `xml:"videoPositionX,omitempty" json:"videoPositionX,omitempty"` VideoPositionY int `xml:"videoPositionY,omitempty" json:"videoPositionY,omitempty"` VideoQualityControlType string `xml:"videoQualityControlType,omitempty" json:"videoQualityControlType,omitempty"` ConstantBitRate int `xml:"constantBitRate" json:"constantBitRate"` FixedQuality *int `xml:"fixedQuality,omitempty" json:"fixedQuality,omitempty"` VbrUpperCap int `xml:"vbrUpperCap,omitempty" json:"vbrUpperCap,omitempty"` VbrLowerCap int `xml:"vbrLowerCap,omitempty" json:"vbrLowerCap,omitempty"` MaxFrameRate int `xml:"maxFrameRate" json:"maxFrameRate"` KeyFrameInterval int `xml:"keyFrameInterval,omitempty" json:"keyFrameInterval,omitempty"` RotationDegree int `xml:"rotationDegree,omitempty" json:"rotationDegree,omitempty"` MirrorEnabled *bool `xml:"mirrorEnabled,omitempty" json:"mirrorEnabled,omitempty"` SnapShotImageType string `xml:"snapShotImageType,omitempty" json:"snapShotImageType,omitempty"` Mpeg4Profile string `xml:"Mpeg4Profile,omitempty" json:"Mpeg4Profile,omitempty"` H264Profile string `xml:"H264Profile,omitempty" json:"H264Profile,omitempty"` GovLength int `xml:"GovLength,omitempty" json:"GovLength,omitempty"` SVC *SVC `xml:"SVC,omitempty" json:"SVC,omitempty"` PacketType []string `xml:"PacketType,omitempty" json:"PacketType,omitempty"` Smoothing *int `xml:"smoothing,omitempty" json:"smoothing,omitempty"` H265Profile string `xml:"H265Profile,omitempty" json:"H265Profile,omitempty"` SmartCodec *struct { Enabled bool `xml:"enabled" json:"enabled"` } `xml:"SmartCodec,omitempty" json:"SmartCodec,omitempty"` VbrAverageCap *int `xml:"vbrAverageCap,omitempty" json:"vbrAverageCap,omitempty"` }
Click to show internal directories.
Click to hide internal directories.