Source code for jdcloud_sdk.services.live.models.RecordFile

# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


[docs]class RecordFile(object): def __init__(self, fileId=None, format=None, width=None, height=None, startTime=None, endTime=None, duration=None, size=None, bitrate=None, fps=None, fileUrl=None, createTime=None): """ :param fileId: (Optional) 录制文件ID :param format: (Optional) 文件格式 :param width: (Optional) 视频宽度 - 单位: 像素 :param height: (Optional) 视频高度 - 单位: 像素 :param startTime: (Optional) 录制开始时间 :param endTime: (Optional) 录制结束时间 :param duration: (Optional) 视频时长,单位:毫秒 :param size: (Optional) 文件大小,单位:B :param bitrate: (Optional) 码率 :param fps: (Optional) 帧率 :param fileUrl: (Optional) 文件地址 :param createTime: (Optional) 创建时间 """ self.fileId = fileId self.format = format self.width = width self.height = height self.startTime = startTime self.endTime = endTime self.duration = duration self.size = size self.bitrate = bitrate self.fps = fps self.fileUrl = fileUrl self.createTime = createTime