|
@@ -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)
|