| | |
| | | return new Blob([blob], { type: 'video/mp4' }) |
| | | }) |
| | | } |
| | | |
| | | export function analyzeMediaSnapshot (id) { |
| | | return request.post(`/visitsAdmin/cloudService/business/collectionStation/media/snapshot/analyze/${id}`, {}) |
| | | } |
| | | |
| | | export function fetchMediaSnapshots (id, cacheBust) { |
| | | const config = cacheBust ? { params: { _t: cacheBust } } : {} |
| | | return request.get(`/visitsAdmin/cloudService/business/collectionStation/media/snapshot/${id}`, config) |
| | | } |
| | | |
| | | export function saveManualMediaSnapshot (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/collectionStation/media/snapshot/manual', data) |
| | | } |