Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion live/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# 更新历史 #
API 版本:1.0.18
API 版本:1.0.19

|发布时间|版本号|更新|说明|
|------------|-------|------|-------|
|2020-12-31|1.0.19| 添加接口| 添加查询推流、播放信息分页接口|
|2020-10-12|1.0.18| 添加接口| 添加oss录制文件删除接口|
|2020-02-23|1.0.17| 接口更新| 查询流分组统计数据接口更新查询条件为非必填|
|2020-01-14|1.0.16| 添加接口| 添加直播账单管理相关接口|
Expand Down
2 changes: 1 addition & 1 deletion live/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jdcloud.sdk</groupId>
<artifactId>live</artifactId>
<version>1.0.18</version>
<version>1.0.19</version>
<packaging>jar</packaging>
<name>live</name>
<url>http://www.jdcloud.com</url>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* 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.
*
* Live-Video
* 直播管理API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/

package com.jdcloud.sdk.service.live.client;

import com.jdcloud.sdk.client.JdcloudExecutor;
import com.jdcloud.sdk.service.JdcloudResponse;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageResponse;

/**
* 查询观看人数
*/
class DescribeLiveStreamPlayInfoByPageExecutor extends JdcloudExecutor {

@Override
public String method() {
return "GET";
}

@Override
public String url() {
return "/describeLiveStreamPlayInfoByPage";
}

@Override
public Class<? extends JdcloudResponse> returnType() {
return DescribeLiveStreamPlayInfoByPageResponse.class;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* 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.
*
* Live-Video
* 直播管理API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/

package com.jdcloud.sdk.service.live.client;

import com.jdcloud.sdk.client.JdcloudExecutor;
import com.jdcloud.sdk.service.JdcloudResponse;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageResponse;

/**
* 查询推流码率、帧率
*/
class DescribeLiveStreamPublishInfoByPageExecutor extends JdcloudExecutor {

@Override
public String method() {
return "GET";
}

@Override
public String url() {
return "/describeLiveStreamPublishInfoByPage";
}

@Override
public Class<? extends JdcloudResponse> returnType() {
return DescribeLiveStreamPublishInfoByPageResponse.class;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
import com.jdcloud.sdk.service.live.model.StartLiveDomainRequest;
import com.jdcloud.sdk.service.live.model.StartLiveDomainResponse;
import com.jdcloud.sdk.service.live.client.StartLiveDomainExecutor;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPublishInfoByPageResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveStreamPublishInfoByPageExecutor;
import com.jdcloud.sdk.service.live.model.DescribeCustomLiveStreamWatermarkTemplatesRequest;
import com.jdcloud.sdk.service.live.model.DescribeCustomLiveStreamWatermarkTemplatesResponse;
import com.jdcloud.sdk.service.live.client.DescribeCustomLiveStreamWatermarkTemplatesExecutor;
Expand Down Expand Up @@ -259,6 +262,9 @@
import com.jdcloud.sdk.service.live.model.DescribeLiveTranscodeStreamNumRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveTranscodeStreamNumResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveTranscodeStreamNumExecutor;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveStreamPlayInfoByPageResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveStreamPlayInfoByPageExecutor;
import com.jdcloud.sdk.service.live.model.DescribeLiveDomainDetailRequest;
import com.jdcloud.sdk.service.live.model.DescribeLiveDomainDetailResponse;
import com.jdcloud.sdk.service.live.client.DescribeLiveDomainDetailExecutor;
Expand Down Expand Up @@ -692,6 +698,17 @@ public StartLiveDomainResponse startLiveDomain(StartLiveDomainRequest request) t
return new StartLiveDomainExecutor().client(this).execute(request);
}

/**
* 查询推流码率、帧率
*
* @param request
* @return
* @throws JdcloudSdkException
*/
public DescribeLiveStreamPublishInfoByPageResponse describeLiveStreamPublishInfoByPage(DescribeLiveStreamPublishInfoByPageRequest request) throws JdcloudSdkException {
return new DescribeLiveStreamPublishInfoByPageExecutor().client(this).execute(request);
}

/**
* 查询用户定义水印模板列表

Expand Down Expand Up @@ -1362,6 +1379,17 @@ public DescribeLiveTranscodeStreamNumResponse describeLiveTranscodeStreamNum(Des
return new DescribeLiveTranscodeStreamNumExecutor().client(this).execute(request);
}

/**
* 查询观看人数
*
* @param request
* @return
* @throws JdcloudSdkException
*/
public DescribeLiveStreamPlayInfoByPageResponse describeLiveStreamPlayInfoByPage(DescribeLiveStreamPlayInfoByPageRequest request) throws JdcloudSdkException {
return new DescribeLiveStreamPlayInfoByPageExecutor().client(this).execute(request);
}

/**
* 查询指定域名相关信息
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public class DescribeLiveSnapshotDataRequest extends JdcloudRequest implements j
*/
private String streamName;

/**
* 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
*/
private Integer shotMode;

/**
* 起始时间:
- UTC时间
Expand Down Expand Up @@ -126,6 +131,24 @@ public void setStreamName(String streamName) {
this.streamName = streamName;
}

/**
* get 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
*
* @return
*/
public Integer getShotMode() {
return shotMode;
}

/**
* set 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
*
* @param shotMode
*/
public void setShotMode(Integer shotMode) {
this.shotMode = shotMode;
}

/**
* get 起始时间:
- UTC时间
Expand Down Expand Up @@ -213,6 +236,16 @@ public DescribeLiveSnapshotDataRequest streamName(String streamName) {
return this;
}

/**
* set 截图模式:1表示采样截图;2表示关键帧截图(默认为2)
*
* @param shotMode
*/
public DescribeLiveSnapshotDataRequest shotMode(Integer shotMode) {
this.shotMode = shotMode;
return this;
}

/**
* set 起始时间:
- UTC时间
Expand Down
Loading