相关疑难解决方法(0)

Azure 媒体服务:尝试 6 次后重试失败。(操作被取消。)

要了解 Azure 媒体服务,我正在关注教程:使用媒体服务 v3 上传、编码和流式传输视频。但目前卡在本文中给出的代码UploadEncodeAndStreamFilesRetry failed after 6 tries. (The operation was canceled.)在文件上传期间抛出异常await blob.UploadAsync(fileToUpload);

private static async Task<Asset> CreateInputAssetAsync(
        IAzureMediaServicesClient client,
        string resourceGroupName,
        string accountName,
        string assetName,
        string fileToUpload)
    {
        // In this example, we are assuming that the asset name is unique.
        //
        // If you already have an asset with the desired name, use the Assets.Get method
        // to get the existing asset. In Media Services v3, the Get method on …
Run Code Online (Sandbox Code Playgroud)

.net c# azure azure-media-services

3
推荐指数
2
解决办法
1万
查看次数

标签 统计

.net ×1

azure ×1

azure-media-services ×1

c# ×1