duanyao / codecbox.js

video and audio codecs for javascript based on ffmpeg and asm.js
Other
28 stars 12 forks source link

Video controls #5

Open amilajack opened 8 years ago

amilajack commented 8 years ago

Is there support for playback controls, such as fastforward, rewind, etc?

duanyao commented 8 years ago

Currently no, sorry.

amilajack commented 8 years ago

Note that C++ methods get_XXX()/set_XXX() are mapped to JS properties

What are the methods that are exposed by C++?

duanyao commented 8 years ago

E.g. in C++ there are CodecBoxDecoder::get_sampleRate()/set_sampleRate() methods, and they are mapped to JS property CodecBoxDecoder.prototype.sampleRate, see: https://github.com/duanyao/codecbox.js/blob/master/src/codecbox-decoder-worker.js#L60