diff --git a/src/withStreamingServer/destroyHLSConverter.js b/src/withStreamingServer/destroyHLSConverter.js index b0f5f0d..2b53dda 100644 --- a/src/withStreamingServer/destroyHLSConverter.js +++ b/src/withStreamingServer/destroyHLSConverter.js @@ -1,3 +1,5 @@ +var url = require('url'); + function destroyHLSConverter(streamingServerURL, id) { return fetch(url.resolve(streamingServerURL, '/hlsv2/' + encodeURIComponent(id) + '/destroy')); }