Hi all,

Today I successfuly managed to decode a codec2 stream in a web browser...
I compiled part of the codec2 library with emscripten and wrote a small
javascript wrapper around it.
The attached archive contains the wrapper and a makefile. (You will have
to change some paths in the makefile to make it work, I did no attempt
at all to integrate it in the cmake build environment).
It is now possible to listen to DML streams live in pretty much all
formats. (WebM video and ALAW audio were already working).

The sources compiled to javascript without problems. (The seem to be
pretty portable indeed!)
The only strange thing was that I had to turn of optimization (-O0
instead of -O2) to get it to work in firefox. Node.js doesn't seem to
mind the optimized version...

Regards,
Jeroen

Attachment: codec2-js.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to