Chris Needham

Results 493 comments of Chris Needham

It doesn't currently work with DASH streaming, only file based media. This would be a very welcome addition, though, if you or someone is interested to work on it.

> Displaying long waveforms of long audio files takes time. It would be great to should a loading graphic or text while this is happening. To do that, it would...

To clarify: The waveform-data package does two things: generates waveform data from audio, and resamples waveform data to change the zoom level. Generating waveforms from audio has the problem I...

`Peaks.init()` should always return. If there's an error, it should call the callback parameter with an `Error` object. What combination of options are you passing to `Peaks.init()`?

Thanks. Currently, `Peaks.init()` doesn't accept a `mediaUrl` option, so - as you've found - you need to set the media element's `src` attribute before calling `Peaks.init()`. I'll look into making...

It's a TypeScript feature: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#non-null-assertion-operator

The article [Running Arbitrary Executables in AWS Lambda](https://aws.amazon.com/blogs/compute/running-executables-in-aws-lambda/) has some useful information: > If you compile your own binaries, ensure that they’re either statically linked or built for the matching...

Thanks so much for your contribution, Sam.

The `static-link` branch allows audiowaveform to be linked statically against libgd, libsndfile, etc. See README.md for details on how to build. I haven't tried deploying the resulting binary to Lambda,...

@ffxsam The `static-link` branch was merged to `master` back in July last year.