Эх сурвалжийг харах

。。testApi更改时间片段

lang 5 жил өмнө
parent
commit
6dd6c401f5
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      Controller/TestApi.py

+ 2 - 2
Controller/TestApi.py

@@ -150,7 +150,7 @@ class testView(View):
             'name': 1590485548,
             'sign_url': vod_url,
             'thumb': thumb_url,
-            'sec': 11})
+            'sec': 12})
         return response.json(0, vod_play_list)
 
     def do_sign_play_m3u8(self, request_dict, response):
@@ -189,7 +189,7 @@ class testView(View):
             #     format(uid=uid, channel=channel, time=vod['time'])
             playlist_entries.append({
                 'name': response_url,
-                'duration': 10,
+                'duration': 4,
             })
         playlist = PlaylistGenerator(playlist_entries).generate()
         response = HttpResponse(playlist)