| Package | Description |
|---|---|
| com.tencentcloudapi.vod.v20180717 | |
| com.tencentcloudapi.vod.v20180717.models |
| Modifier and Type | Method and Description |
|---|---|
ForbidMediaDistributionResponse |
VodClient.ForbidMediaDistribution(ForbidMediaDistributionRequest req)
对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。
禁播/解禁操作全网生效时间约 5~10 分钟。
注意:禁播媒体仅能操作标准存储和低频存储的媒体。低频存储媒体,必须存储至少 30 天,提前删除或变更存储类型,仍旧按照 30 天计费;如果禁播低频存储媒体,该媒体低频存储的时长不足 30 天,会产生提前删除计费;同时,禁播后该媒体的低频存储时长会从当前时间重新开始计算,如果不满 30 天继续对该媒体进行删除或变更存储类型,也将产生提前删除计费。例:媒体 001 已经低频存储了 10 天,此时对 001 进行禁播,低频存储的计费仍旧按 30 天计算(提前删除计费时长为 30 - 10 = 20 天);禁播后 001 的低频存储时长重新开始计算,如果禁播后第 5 天删除了 001,低频存储计费也会按 30 天计算(提前删除计费时长为 30 - 5 = 25 天);001 实际的低频存储时长为 10 + 5 = 15 天,低频存储计费时长为 10 + 20(提前删除计费)+ 5 + 25(提前删除计费) = 60 天。
|
| Constructor and Description |
|---|
ForbidMediaDistributionRequest(ForbidMediaDistributionRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2024. All rights reserved.