15 Commits

Author SHA1 Message Date
Pion
efffef2957 Update CI configs to v0.10.7
Update lint scripts and CI configs.
2023-05-05 11:58:49 -04:00
Pion
622c233f48 Update CI configs to v0.6.8
Update lint scripts and CI configs.
2022-03-02 14:09:18 -05:00
Sean DuBois
6209597312 Fix OpusWriter issues that break VLC
* Correctly calculate page CRC
Ogg uses slightly non-standard version of CRC, we are unable to
use the Go's version. You can see the details here[0], in summary
"direct algorithm, initial val and final XOR = 0,
generator polynomial=0x04c11db7"

[0] https://xiph.org/vorbis/doc/framing.html

* Properly set EOS value
Before we created a new page with an EOS. Instead seek backwards
and update the last page with valid Opus to have EOS header and
re-generate the CRC

* Only use 0 timestamp/granule for headers
Audio itself should start from 0

* Rename OpusWriter -> OggWriter
Ogg supports more then just Opus, renaming gives us the flexibility to
expand in the future.
2019-08-15 17:12:01 -07:00
Alex Browne
34e5a89f71 Add tests for WASM bindings
The tests are run in a Node.js environment, and this does not include
any browser tests. This requires the wrtc package from npm as well as a
shim which adds portions of the WebRTC API to the global scope.

Some tests introduced here can be combined when differences between the
Go API and the WASM bindings are addressed and as missing features are
added to the WASM bindings.

We can and should add more tests in the future to improve test coverage.
This should be considered the minimum number of tests reuqired to ensure
basic functionality is working.
2019-03-15 15:17:51 -07:00
Sean DuBois
c89940a0bd Rename sfu -> sfu-minimal
We have a websocket SFU example now also

Resolves #507
2019-03-11 11:07:55 -07:00
Alex Browne
0f1ddf0825 Add JavaScript/WASM bindings
Resolves #478. Adds minimal JavaScript/WASM bindings. This makes it
possible to compile core parts of pions/webrtc to WASM and run it in the
browser. Only data channels are supported for now and there is
limited/no support for certificates and credentials.
2019-03-08 00:26:17 +01:00
Yutaka Takeda
4dc68ed0da Wire reliability params to datachannel
Resolves #334
2019-02-18 21:27:31 +01:00
Sean DuBois
09ae7da77a Use -coverpkg with go test
Our tests aren't being executed recursively, use
this so everything gets run

Resolves #320
2018-12-27 19:53:08 -05:00
Woodrow Douglass
510829772e Add rapid resynchronization request tests
Relates to #119
2018-11-29 12:30:34 -08:00
Sean DuBois
759f7519ad More multi-package coverage changes
Relates to #240
2018-11-24 23:49:48 -08:00
Sean DuBois
596f8dde7f Fix multi-package coverage generation
We are currently only uploading the coverage for the main package, so
our coverage appears much lower then it really is. This updates our
tooling to properly cover every package

Resolves #240
2018-11-24 22:42:16 -08:00
Konstantin Itskov
75c6e9c1d3 Change tags from a folder to a file inside gitignore 2018-08-12 15:25:12 -04:00
Konstantin Itskov
72be5d0fee Add minor change to the gitignore file to remove jetbrains tracking 2018-08-12 15:25:12 -04:00
Sean DuBois
ddbb6c8ba8 Fix all golint errors 2018-06-12 22:24:52 -07:00
Sean DuBois
c7a6caa462 Finish IVF writer 2018-06-10 19:01:53 -07:00