瀏覽代碼

排查云存播放连接

guanhailong 2 年之前
父節點
當前提交
1e5e7f069f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -519,7 +519,7 @@ class CloudStorageView(View):
             bucket_name = regroup_bucket_qs[vod['bucket_id']]['bucket']
             thumbs_png = '{uid}/vod{channel}/{time}/Thumb.jpeg'.format(uid=uid, channel=channel, time=vod['time'])
             response_url = s3_obj.generate_file_obj_url(bucket_name, thumbs_png)
-            vod_url = '{server_domain}/cloudstorage/signplaym3u8?' \
+            vod_url = '{server_domain}cloudstorage/signplaym3u8?' \
                       'uid={uid}&channel={channel}&time={time}&sign=tktktktk'. \
                 format(server_domain=SERVER_DOMAIN_SSL, uid=uid_token, channel=channel, time=vod['time'])
             ts_num = int(vod['fg']) & 0xf