elixir-webrtc / ex_webrtc

An Elixir implementation of the W3C WebRTC API
Apache License 2.0
270 stars 8 forks source link

Ogg writer #50

Closed LVala closed 6 months ago

LVala commented 6 months ago

Adds the OggWriter and its tests.

Example will be updated in the following Pull Request.

codecov[bot] commented 6 months ago

Codecov Report

Merging #50 (b8c1554) into master (579773b) will increase coverage by 0.81%. The diff coverage is 89.10%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #50 +/- ## ========================================== + Coverage 87.21% 88.03% +0.81% ========================================== Files 19 23 +4 Lines 829 894 +65 ========================================== + Hits 723 787 +64 - Misses 106 107 +1 ``` | [Files](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc) | Coverage Δ | | |---|---|---| | [lib/ex\_webrtc/media/ogg\_reader.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9tZWRpYS9vZ2dfcmVhZGVyLmV4) | `88.23% <100.00%> (+13.76%)` | :arrow_up: | | [lib/ex\_webrtc/media/ogg/page.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9tZWRpYS9vZ2cvcGFnZS5leA==) | `97.87% <97.87%> (ø)` | | | [lib/ex\_webrtc/media/ogg\_writer.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9tZWRpYS9vZ2dfd3JpdGVyLmV4) | `96.66% <96.66%> (ø)` | | | [lib/ex\_webrtc/media/ogg/header.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9tZWRpYS9vZ2cvaGVhZGVyLmV4) | `66.66% <66.66%> (ø)` | | | [lib/ex\_webrtc/media/opus.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9tZWRpYS9vcHVzLmV4) | `41.66% <41.66%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). Last update [579773b...b8c1554](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/50?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc).