Skip to content

Commit

Permalink
Merge tag 'v2.46.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
valldrac committed Aug 19, 2024
2 parents ec0ea13 + bbf4696 commit a3c2302
Show file tree
Hide file tree
Showing 111 changed files with 9,225 additions and 6,145 deletions.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
out/
out-arm/
cscope.*
.DS_Store
.dir-locals.el
.cargo
.gradle/
*.code-workspace
**/.vscode
.idea
src/webrtc*
src/jar.list
.project
.classpath
org.eclipse.buildship.core.prefs
local.properties
*.tar.gz
.cargo
.spr.yml
28 changes: 15 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,29 @@ jobs:
- name: Check rust format
run: cargo fmt -- --check
- name: Install for node
run: yarn install --frozen-lockfile
run: npm ci
working-directory: src/node
- name: Check typescript format
run: yarn check-format
run: npm run check-format
working-directory: src/node

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Cargo Cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
with:
cache-targets: "false"
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install Python tools
run: pip3 install flake8 mypy
- uses: actions/checkout@v4
- name: Cargo Cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
with:
cache-targets: "false"
- run: rustup toolchain install $(cat rust-toolchain) --profile minimal --component clippy --target aarch64-linux-android,aarch64-apple-ios
- name: Install extra Rust tools
run: cargo +stable install --version 0.6.0 --locked cargo-about
- run: shellcheck **/*.sh bin/build-aar bin/build-call_sim-cli bin/build-cli bin/build-electron bin/build-gctc bin/build-ios bin/build-javadoc bin/build-rustdoc bin/build-target bin/fetch-artifact bin/gsync-webrtc bin/prepare-workspace bin/rust-lint-check bin/set-up-for-cocoapods src/rust/scripts/run-tests
run: cargo +stable install --version 0.6.2 --locked cargo-about
- run: shellcheck **/*.sh bin/build-aar bin/build-call_sim-cli bin/build-direct bin/build-electron bin/build-gctc bin/build-ios bin/build-javadoc bin/build-rustdoc bin/build-target bin/fetch-artifact bin/gsync-webrtc bin/prepare-workspace bin/rust-lint-check bin/set-up-for-cocoapods src/rust/scripts/run-tests
# Skip the Python scripts not written with flake8 style. (Try not to add more.)
- run: cd bin && python3 -m flake8 . --exclude measure-cpu.py
- name: Set up mypy types
Expand All @@ -59,31 +59,33 @@ jobs:
- name: Clippy (Electron)
run: cargo clippy --package ringrtc --features electron -- -D warnings
- name: Clippy (group_call)
run: cargo clippy --package ringrtc --bin group_call --features native,http -- -D warnings
run: cargo clippy --package ringrtc --bin group_call --features native,sim_http -- -D warnings
- name: Clippy (call_link)
run: cargo clippy --package ringrtc --bin call_link --features uuid,sim,http,rand_chacha -- -D warnings
run: cargo clippy --package ringrtc --bin call_link --features uuid,sim,sim_http,rand_chacha -- -D warnings
- name: Clippy (call_sim-cli)
run: cargo clippy --package ringrtc --bin call_sim-cli --features call_sim -- -D warnings
- name: Clippy (call_sim)
run: cargo clippy --package call_sim -- -D warnings
- name: Clippy (mrp)
run: cargo clippy --package mrp -- -D warnings
- name: Clippy (protobuf)
run: cargo clippy --package protobuf --features call_sim -- -D warnings
- name: Clippy (signaling_server)
run: cargo clippy -- -D warnings
working-directory: call_sim/docker/signaling_server
- name: Install for node
run: yarn install --frozen-lockfile
run: npm ci
working-directory: src/node
- name: Check typescript
run: yarn eslint
run: npm run eslint
working-directory: src/node
- name: Check package.json for prebuildChecksum
run: >-
grep -q '"prebuildChecksum": ""' package.json
working-directory: src/node

wrapper_validation:
name: Validate Gradle wrapper
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ local.properties
*.tar.gz
.cargo
target
.spr.yml
6 changes: 1 addition & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ You may also need coreutils if not yet installed:

#### Electron Dependencies

Install the expected version of Node.jswhich can be found in src/node/.nvmrc. You can use [nvm](https://github.com/nvm-sh/nvm) or just manually install the corresponding version. Make sure you have node and npm installed.

Then install Yarn (if not already):

npm install --global yarn
Install the expected version of Node.js which can be found in src/node/.nvmrc. You can use [nvm](https://github.com/nvm-sh/nvm) or just manually install the corresponding version. Make sure you have node and npm installed.

##### MacOS

Expand Down
91 changes: 91 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,96 @@
# Changelog

## v2.46.1

- CI: Upload desktop symbols to GCS

- Update to webrtc 6478j
- Reduce kDefaultMinPixelsPerFrame
- Revert "Add Rust_setIncomingAudioMuted"
- Revert "Log more info when select fails"

- Update dependencies

- Build improvements

## v2.46.0

- Send audio enabled status to remote device in 1:1 calls

- Update to webrtc 6478i
- Add ice switch reason to logging
- Android: Oboe ADM uninitialize on stop
- Don't get stats from unused transceivers

- Build improvements

## v2.45.0

- Call links: Add restrictions to create call link API

- Update to webrtc 6478h
- Android: Add new OboeStream class for reliability

## v2.44.5

- Update to webrtc 6478g
- Android: Oboe refinements and latency improvements

## v2.44.4

- Group Calls: Reduce log noise

- Run dump_syms on CI

- Support overlapping memory copy for decrypt

- Enable sending dependency descriptor in group calls

- Send encrypted TOC byte in group calls

- Update dependencies

- Update to webrtc 6478f
- Improve network type detection on macOS
- Enable sending dependency descriptor in group calls
- Mark audio packets as having an encrypted TOC byte
- Fix ios device orientation left/right assignment

## v2.44.3

- Android: Add audio device module based on Oboe

- Update to webrtc 6478e
- Add audio device module for android based on Oboe
- Remove support for setting mobile aec
- Simplify handling of audio callbacks

- Desktop ADM: Resolve dependency cycle and other improvements

## v2.44.2

- Desktop ADM: Add support for switching to RingRTC ADM

- Fix Python deprecation warning

- Update to webrtc 6478b
- ringrtc: Add stub ADM
- Revert "Enable sending dependency descriptor in group calls"

## v2.44.1

- Update to webrtc 6478a
- Update to WebRTC 6478 (m126)
- Enable sending dependency descriptor in group calls

- Group Calls: Enable sending dependency descriptor

- Refactored protobuf to own crate

- Call Sim: Refactoring

- Update dependencies

## v2.44.0

- Remove reliable payload type, reuse existing data payload type
Expand Down
Loading

0 comments on commit a3c2302

Please sign in to comment.