const { Source } = require('.')
async function main() {
const src = new Source(
'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
)
src.open(async () => {
const faststartBuffer = await src.faststart()
console.log(faststartBuffer, 'faststarted')
})
}
main()