From c994d14534e1e7214d448b2b160c473e16362cdb Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:09:42 +1100 Subject: [PATCH 1/6] Configure hawkeye --- .github/workflows/license-check.yml | 28 ++++++++++++++++++++++++++++ licenserc.toml | 24 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/workflows/license-check.yml create mode 100644 licenserc.toml diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml new file mode 100644 index 000000000..83d8348e4 --- /dev/null +++ b/.github/workflows/license-check.yml @@ -0,0 +1,28 @@ +name: License Check +on: + workflow_dispatch: + push: + branches: [main] + pull_request: + branches: [main] + types: + - opened + - reopened + - synchronize + - ready_for_review +jobs: + license-check: + name: License Check + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Hawkeye + run: | + export VERSION=v6.3.0 + curl --proto '=https' --tlsv1.2 -LsSf \ + https://github.com/korandoru/hawkeye/releases/download/$VERSION/hawkeye-installer.sh | sh + - name: Check License Headers + run: hawkeye check \ No newline at end of file diff --git a/licenserc.toml b/licenserc.toml new file mode 100644 index 000000000..641ea5ec5 --- /dev/null +++ b/licenserc.toml @@ -0,0 +1,24 @@ +headerPath = "Apache-2.0.txt" +excludes = [ + "yuv-sys/libyuv", + "soxr-sys/src", + "webrtc-sys/libwebrtc", + "webrtc-sys/test", + "webrtc-sys/src/vaapi", + "webrtc-sys/src/nvidia", + "livekit-protocol/protocol", + "examples", + ".github", + "*.toml" +] + +[mapping.DOUBLESLASH_STYLE] +extensions = ["proto"] + +[mapping.SLASHSTAR_STYLE] +extensions = ["mm"] + +[properties] +inceptionYear = 2025 +copyrightOwner = "LiveKit, Inc." +projectName = "LiveKit Rust SDKs" \ No newline at end of file From dda0d573f632507e1a323635b317840552cae3ba Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:39:54 +1100 Subject: [PATCH 2/6] License format --- download_ffi.py | 3 +-- imgproc/src/colorcvt/assert.rs | 14 ++++++++++++++ imgproc/src/colorcvt/mod.rs | 14 ++++++++++++++ imgproc/src/lib.rs | 14 ++++++++++++++ libwebrtc/src/audio_frame.rs | 2 +- libwebrtc/src/audio_source.rs | 2 +- libwebrtc/src/audio_stream.rs | 2 +- libwebrtc/src/audio_track.rs | 2 +- libwebrtc/src/data_channel.rs | 2 +- libwebrtc/src/ice_candidate.rs | 2 +- libwebrtc/src/lib.rs | 2 +- libwebrtc/src/media_stream.rs | 2 +- libwebrtc/src/media_stream_track.rs | 2 +- libwebrtc/src/native/android.rs | 2 +- libwebrtc/src/native/apm.rs | 2 +- libwebrtc/src/native/audio_resampler.rs | 2 +- libwebrtc/src/native/audio_source.rs | 2 +- libwebrtc/src/native/audio_stream.rs | 2 +- libwebrtc/src/native/audio_track.rs | 2 +- libwebrtc/src/native/data_channel.rs | 2 +- libwebrtc/src/native/frame_cryptor.rs | 14 ++++++++++++++ libwebrtc/src/native/ice_candidate.rs | 2 +- libwebrtc/src/native/media_stream.rs | 2 +- libwebrtc/src/native/media_stream_track.rs | 2 +- libwebrtc/src/native/mod.rs | 2 +- libwebrtc/src/native/peer_connection.rs | 2 +- libwebrtc/src/native/peer_connection_factory.rs | 2 +- libwebrtc/src/native/rtp_parameters.rs | 2 +- libwebrtc/src/native/rtp_receiver.rs | 2 +- libwebrtc/src/native/rtp_sender.rs | 2 +- libwebrtc/src/native/rtp_transceiver.rs | 2 +- libwebrtc/src/native/session_description.rs | 2 +- libwebrtc/src/native/video_frame.rs | 2 +- libwebrtc/src/native/video_source.rs | 2 +- libwebrtc/src/native/video_stream.rs | 2 +- libwebrtc/src/native/video_track.rs | 2 +- libwebrtc/src/native/yuv_helper.rs | 2 +- libwebrtc/src/peer_connection.rs | 2 +- libwebrtc/src/peer_connection_factory.rs | 2 +- libwebrtc/src/prelude.rs | 2 +- libwebrtc/src/rtp_parameters.rs | 2 +- libwebrtc/src/rtp_receiver.rs | 2 +- libwebrtc/src/rtp_sender.rs | 2 +- libwebrtc/src/rtp_transceiver.rs | 2 +- libwebrtc/src/session_description.rs | 2 +- libwebrtc/src/stats.rs | 14 ++++++++++++++ libwebrtc/src/video_frame.rs | 2 +- libwebrtc/src/video_source.rs | 2 +- libwebrtc/src/video_stream.rs | 2 +- libwebrtc/src/video_track.rs | 2 +- libwebrtc/src/web/data_channel.rs | 2 +- libwebrtc/src/web/media_stream.rs | 2 +- libwebrtc/src/web/mod.rs | 2 +- livekit-api/src/access_token.rs | 2 +- livekit-api/src/http_client.rs | 14 ++++++++++++++ livekit-api/src/lib.rs | 2 +- livekit-api/src/services/egress.rs | 2 +- livekit-api/src/services/ingress.rs | 2 +- livekit-api/src/services/mod.rs | 2 +- livekit-api/src/services/room.rs | 2 +- livekit-api/src/services/sip.rs | 2 +- livekit-api/src/services/twirp_client.rs | 2 +- livekit-api/src/signal_client/mod.rs | 2 +- livekit-api/src/signal_client/region.rs | 14 ++++++++++++++ livekit-api/src/signal_client/signal_stream.rs | 2 +- livekit-api/src/webhooks.rs | 2 +- livekit-ffi/build.rs | 2 +- livekit-ffi/include/livekit_ffi.h | 16 ++++++++++++++++ livekit-ffi/protocol/audio_frame.proto | 2 +- livekit-ffi/protocol/e2ee.proto | 2 +- livekit-ffi/protocol/ffi.proto | 2 +- livekit-ffi/protocol/handle.proto | 2 +- livekit-ffi/protocol/participant.proto | 2 +- livekit-ffi/protocol/room.proto | 2 +- livekit-ffi/protocol/rpc.proto | 2 +- livekit-ffi/protocol/stats.proto | 2 +- livekit-ffi/protocol/track.proto | 2 +- livekit-ffi/protocol/track_publication.proto | 2 +- livekit-ffi/protocol/video_frame.proto | 2 +- livekit-ffi/src/cabi.rs | 14 ++++++++++++++ livekit-ffi/src/conversion/audio_frame.rs | 2 +- livekit-ffi/src/conversion/mod.rs | 2 +- livekit-ffi/src/conversion/participant.rs | 2 +- livekit-ffi/src/conversion/resampler.rs | 13 +++++++++++++ livekit-ffi/src/conversion/room.rs | 2 +- livekit-ffi/src/conversion/stats.rs | 14 ++++++++++++++ livekit-ffi/src/conversion/track.rs | 2 +- livekit-ffi/src/conversion/video_frame.rs | 2 +- livekit-ffi/src/lib.rs | 2 +- livekit-ffi/src/proto.rs | 14 ++++++++++++++ livekit-ffi/src/server/audio_plugin.rs | 14 ++++++++++++++ livekit-ffi/src/server/audio_source.rs | 2 +- livekit-ffi/src/server/audio_stream.rs | 2 +- livekit-ffi/src/server/colorcvt/cvtimpl.rs | 14 ++++++++++++++ livekit-ffi/src/server/colorcvt/mod.rs | 14 ++++++++++++++ livekit-ffi/src/server/logger.rs | 14 ++++++++++++++ livekit-ffi/src/server/mod.rs | 2 +- livekit-ffi/src/server/participant.rs | 2 +- livekit-ffi/src/server/requests.rs | 2 +- livekit-ffi/src/server/resampler.rs | 14 ++++++++++++++ livekit-ffi/src/server/room.rs | 2 +- livekit-ffi/src/server/tests.rs | 2 +- livekit-ffi/src/server/utils.rs | 14 ++++++++++++++ livekit-ffi/src/server/video_source.rs | 2 +- livekit-ffi/src/server/video_stream.rs | 2 +- livekit-protocol/generate_proto.sh | 3 +-- livekit-protocol/src/debouncer.rs | 2 +- livekit-protocol/src/enum_dispatch.rs | 2 +- livekit-protocol/src/lib.rs | 2 +- livekit-protocol/src/livekit.rs | 14 ++++++++++++++ livekit-protocol/src/livekit.serde.rs | 14 ++++++++++++++ livekit-protocol/src/observer.rs | 2 +- livekit-protocol/src/promise.rs | 2 +- livekit-runtime/src/async_std.rs | 14 ++++++++++++++ livekit-runtime/src/dispatcher.rs | 14 ++++++++++++++ livekit-runtime/src/lib.rs | 14 ++++++++++++++ livekit-runtime/src/tokio.rs | 14 ++++++++++++++ livekit/src/lib.rs | 2 +- livekit/src/plugin.rs | 14 ++++++++++++++ livekit/src/prelude.rs | 2 +- livekit/src/proto.rs | 2 +- livekit/src/room/e2ee/key_provider.rs | 2 +- livekit/src/room/e2ee/manager.rs | 2 +- livekit/src/room/e2ee/mod.rs | 2 +- livekit/src/room/id.rs | 14 ++++++++++++++ livekit/src/room/mod.rs | 2 +- livekit/src/room/options.rs | 2 +- .../src/room/participant/local_participant.rs | 2 +- livekit/src/room/participant/mod.rs | 2 +- .../src/room/participant/remote_participant.rs | 2 +- livekit/src/room/participant/rpc.rs | 14 ++++++++++++-- livekit/src/room/publication/local.rs | 2 +- livekit/src/room/publication/mod.rs | 2 +- livekit/src/room/publication/remote.rs | 2 +- livekit/src/room/track/audio_track.rs | 2 +- livekit/src/room/track/local_audio_track.rs | 2 +- livekit/src/room/track/local_track.rs | 2 +- livekit/src/room/track/local_video_track.rs | 2 +- livekit/src/room/track/mod.rs | 2 +- livekit/src/room/track/remote_audio_track.rs | 2 +- livekit/src/room/track/remote_track.rs | 2 +- livekit/src/room/track/remote_video_track.rs | 2 +- livekit/src/room/track/video_track.rs | 2 +- livekit/src/room/utils/mod.rs | 14 ++++++++++++++ livekit/src/rtc_engine/lk_runtime.rs | 2 +- livekit/src/rtc_engine/mod.rs | 2 +- livekit/src/rtc_engine/peer_transport.rs | 2 +- livekit/src/rtc_engine/rtc_events.rs | 2 +- livekit/src/rtc_engine/rtc_session.rs | 2 +- livekit/tests/audio_test.rs | 14 ++++++++++++++ livekit/tests/common/e2e/audio.rs | 14 ++++++++++++++ livekit/tests/common/e2e/mod.rs | 14 ++++++++++++++ livekit/tests/common/mod.rs | 14 ++++++++++++++ livekit/tests/data_channel_encryption.rs | 14 ++++++++++++++ livekit/tests/data_channel_test.rs | 14 ++++++++++++++ livekit/tests/data_stream_test.rs | 14 ++++++++++++++ livekit/tests/room_test.rs | 14 ++++++++++++++ soxr-sys/build.rs | 14 ++++++++++++++ soxr-sys/generate_bindings.sh | 14 ++++++++++++++ webrtc-sys/build.rs | 2 +- webrtc-sys/build/src/lib.rs | 2 +- webrtc-sys/include/livekit/android.h | 6 +++--- webrtc-sys/include/livekit/apm.h | 6 +++--- webrtc-sys/include/livekit/audio_device.h | 6 +++--- webrtc-sys/include/livekit/audio_resampler.h | 6 +++--- webrtc-sys/include/livekit/audio_track.h | 6 +++--- webrtc-sys/include/livekit/candidate.h | 2 +- webrtc-sys/include/livekit/data_channel.h | 6 +++--- webrtc-sys/include/livekit/frame_cryptor.h | 6 +++--- webrtc-sys/include/livekit/global_task_queue.h | 16 ++++++++++++++++ webrtc-sys/include/livekit/helper.h | 6 +++--- webrtc-sys/include/livekit/jsep.h | 6 +++--- webrtc-sys/include/livekit/media_stream.h | 6 +++--- webrtc-sys/include/livekit/media_stream_track.h | 6 +++--- webrtc-sys/include/livekit/objc_video_factory.h | 6 +++--- webrtc-sys/include/livekit/peer_connection.h | 6 +++--- .../include/livekit/peer_connection_factory.h | 6 +++--- .../livekit/prohibit_libsrtp_initialization.h | 6 +++--- webrtc-sys/include/livekit/rtc_error.h | 6 +++--- webrtc-sys/include/livekit/rtp_parameters.h | 6 +++--- webrtc-sys/include/livekit/rtp_receiver.h | 6 +++--- webrtc-sys/include/livekit/rtp_sender.h | 6 +++--- webrtc-sys/include/livekit/rtp_transceiver.h | 6 +++--- .../include/livekit/video_decoder_factory.h | 6 +++--- .../include/livekit/video_encoder_factory.h | 6 +++--- webrtc-sys/include/livekit/video_frame.h | 6 +++--- webrtc-sys/include/livekit/video_frame_buffer.h | 6 +++--- webrtc-sys/include/livekit/video_track.h | 6 +++--- webrtc-sys/include/livekit/webrtc.h | 6 +++--- webrtc-sys/include/livekit/yuv_helper.h | 6 +++--- webrtc-sys/src/android.cpp | 6 +++--- webrtc-sys/src/android.rs | 2 +- webrtc-sys/src/apm.cpp | 16 ++++++++++++++++ webrtc-sys/src/apm.rs | 2 +- webrtc-sys/src/audio_device.cpp | 6 +++--- webrtc-sys/src/audio_resampler.cpp | 6 +++--- webrtc-sys/src/audio_resampler.rs | 2 +- webrtc-sys/src/audio_track.cpp | 6 +++--- webrtc-sys/src/audio_track.rs | 2 +- webrtc-sys/src/candidate.cpp | 6 +++--- webrtc-sys/src/candidate.rs | 2 +- webrtc-sys/src/data_channel.cpp | 6 +++--- webrtc-sys/src/data_channel.rs | 2 +- webrtc-sys/src/frame_cryptor.cpp | 6 +++--- webrtc-sys/src/frame_cryptor.rs | 2 +- webrtc-sys/src/global_task_queue.cpp | 16 ++++++++++++++++ webrtc-sys/src/helper.rs | 2 +- webrtc-sys/src/jsep.cpp | 6 +++--- webrtc-sys/src/jsep.rs | 2 +- webrtc-sys/src/lib.rs | 2 +- webrtc-sys/src/media_stream.cpp | 6 +++--- webrtc-sys/src/media_stream.rs | 2 +- webrtc-sys/src/media_stream_track.cpp | 6 +++--- webrtc-sys/src/media_stream_track.rs | 2 +- webrtc-sys/src/objc_video_factory.mm | 6 +++--- webrtc-sys/src/objc_video_frame_buffer.mm | 6 +++--- webrtc-sys/src/peer_connection.cpp | 6 +++--- webrtc-sys/src/peer_connection.rs | 2 +- webrtc-sys/src/peer_connection_factory.cpp | 6 +++--- webrtc-sys/src/peer_connection_factory.rs | 2 +- .../src/prohibit_libsrtp_initialization.cpp | 6 +++--- .../src/prohibit_libsrtp_initialization.rs | 2 +- webrtc-sys/src/rtc_error.cpp | 6 +++--- webrtc-sys/src/rtc_error.rs | 2 +- webrtc-sys/src/rtp_parameters.cpp | 6 +++--- webrtc-sys/src/rtp_parameters.rs | 2 +- webrtc-sys/src/rtp_receiver.cpp | 6 +++--- webrtc-sys/src/rtp_receiver.rs | 2 +- webrtc-sys/src/rtp_sender.cpp | 6 +++--- webrtc-sys/src/rtp_sender.rs | 2 +- webrtc-sys/src/rtp_transceiver.cpp | 6 +++--- webrtc-sys/src/rtp_transceiver.rs | 2 +- webrtc-sys/src/video_decoder_factory.cpp | 6 +++--- webrtc-sys/src/video_encoder_factory.cpp | 6 +++--- webrtc-sys/src/video_frame.cpp | 6 +++--- webrtc-sys/src/video_frame.rs | 2 +- webrtc-sys/src/video_frame_buffer.cpp | 6 +++--- webrtc-sys/src/video_frame_buffer.rs | 2 +- webrtc-sys/src/video_track.cpp | 6 +++--- webrtc-sys/src/video_track.rs | 2 +- webrtc-sys/src/webrtc.cpp | 6 +++--- webrtc-sys/src/webrtc.rs | 2 +- webrtc-sys/src/yuv_helper.rs | 2 +- yuv-sys/build.rs | 14 ++++++++++++++ yuv-sys/src/lib.rs | 14 ++++++++++++++ 245 files changed, 915 insertions(+), 312 deletions(-) diff --git a/download_ffi.py b/download_ffi.py index 0bb980067..3f2f43414 100755 --- a/download_ffi.py +++ b/download_ffi.py @@ -1,4 +1,4 @@ -# Copyright 2023 LiveKit, Inc. +# Copyright 2025 LiveKit, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - # This file is used to download prebuilt binaries of livekit-ffi from our GH releases. # It is mostly used by our bindings (e.g https://github.com/livekit/client-sdk-python) # By default, the script will try to autodetect the platform, useful to simplify the CI. diff --git a/imgproc/src/colorcvt/assert.rs b/imgproc/src/colorcvt/assert.rs index 0d184b442..8c77fc99c 100644 --- a/imgproc/src/colorcvt/assert.rs +++ b/imgproc/src/colorcvt/assert.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[inline] pub fn valid_420( src_y: &[u8], diff --git a/imgproc/src/colorcvt/mod.rs b/imgproc/src/colorcvt/mod.rs index 5c192ee8f..7c0c7f24d 100644 --- a/imgproc/src/colorcvt/mod.rs +++ b/imgproc/src/colorcvt/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + mod assert; macro_rules! x420_to_rgba { diff --git a/imgproc/src/lib.rs b/imgproc/src/lib.rs index 68b896203..56fbc934b 100644 --- a/imgproc/src/lib.rs +++ b/imgproc/src/lib.rs @@ -1 +1,15 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub mod colorcvt; diff --git a/libwebrtc/src/audio_frame.rs b/libwebrtc/src/audio_frame.rs index de0a39c59..728c36475 100644 --- a/libwebrtc/src/audio_frame.rs +++ b/libwebrtc/src/audio_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/audio_source.rs b/libwebrtc/src/audio_source.rs index 1df5c4878..248cc2d8c 100644 --- a/libwebrtc/src/audio_source.rs +++ b/libwebrtc/src/audio_source.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/audio_stream.rs b/libwebrtc/src/audio_stream.rs index cfd242125..ae7ed89d4 100644 --- a/libwebrtc/src/audio_stream.rs +++ b/libwebrtc/src/audio_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/audio_track.rs b/libwebrtc/src/audio_track.rs index 768df510c..911085aa8 100644 --- a/libwebrtc/src/audio_track.rs +++ b/libwebrtc/src/audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/data_channel.rs b/libwebrtc/src/data_channel.rs index 3b1629efa..ea9c06639 100644 --- a/libwebrtc/src/data_channel.rs +++ b/libwebrtc/src/data_channel.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/ice_candidate.rs b/libwebrtc/src/ice_candidate.rs index b237e0221..f2a531f78 100644 --- a/libwebrtc/src/ice_candidate.rs +++ b/libwebrtc/src/ice_candidate.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/lib.rs b/libwebrtc/src/lib.rs index f13be654d..8dc2e426c 100644 --- a/libwebrtc/src/lib.rs +++ b/libwebrtc/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/media_stream.rs b/libwebrtc/src/media_stream.rs index b74e716cf..e30d3cb9c 100644 --- a/libwebrtc/src/media_stream.rs +++ b/libwebrtc/src/media_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/media_stream_track.rs b/libwebrtc/src/media_stream_track.rs index f02676a78..490f22b44 100644 --- a/libwebrtc/src/media_stream_track.rs +++ b/libwebrtc/src/media_stream_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/android.rs b/libwebrtc/src/native/android.rs index 42d193aa2..4785b451f 100644 --- a/libwebrtc/src/native/android.rs +++ b/libwebrtc/src/native/android.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/apm.rs b/libwebrtc/src/native/apm.rs index 7f36405e2..7955c779b 100644 --- a/libwebrtc/src/native/apm.rs +++ b/libwebrtc/src/native/apm.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/audio_resampler.rs b/libwebrtc/src/native/audio_resampler.rs index 17913f974..4b4370785 100644 --- a/libwebrtc/src/native/audio_resampler.rs +++ b/libwebrtc/src/native/audio_resampler.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/audio_source.rs b/libwebrtc/src/native/audio_source.rs index 510279f52..2faf706a7 100644 --- a/libwebrtc/src/native/audio_source.rs +++ b/libwebrtc/src/native/audio_source.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/audio_stream.rs b/libwebrtc/src/native/audio_stream.rs index 297c7cf5a..7ab18ce81 100644 --- a/libwebrtc/src/native/audio_stream.rs +++ b/libwebrtc/src/native/audio_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/audio_track.rs b/libwebrtc/src/native/audio_track.rs index 8718b709c..41d9ed49b 100644 --- a/libwebrtc/src/native/audio_track.rs +++ b/libwebrtc/src/native/audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/data_channel.rs b/libwebrtc/src/native/data_channel.rs index fa5e6b75b..366ebf38a 100644 --- a/libwebrtc/src/native/data_channel.rs +++ b/libwebrtc/src/native/data_channel.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/frame_cryptor.rs b/libwebrtc/src/native/frame_cryptor.rs index 4fd0eed06..f6fdf33bf 100644 --- a/libwebrtc/src/native/frame_cryptor.rs +++ b/libwebrtc/src/native/frame_cryptor.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; use cxx::SharedPtr; diff --git a/libwebrtc/src/native/ice_candidate.rs b/libwebrtc/src/native/ice_candidate.rs index b26f10d34..752126ba8 100644 --- a/libwebrtc/src/native/ice_candidate.rs +++ b/libwebrtc/src/native/ice_candidate.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/media_stream.rs b/libwebrtc/src/native/media_stream.rs index c2259d121..10180d79a 100644 --- a/libwebrtc/src/native/media_stream.rs +++ b/libwebrtc/src/native/media_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/media_stream_track.rs b/libwebrtc/src/native/media_stream_track.rs index 4e96109af..36424986b 100644 --- a/libwebrtc/src/native/media_stream_track.rs +++ b/libwebrtc/src/native/media_stream_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/mod.rs b/libwebrtc/src/native/mod.rs index 8ad65145b..b91005f20 100644 --- a/libwebrtc/src/native/mod.rs +++ b/libwebrtc/src/native/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/peer_connection.rs b/libwebrtc/src/native/peer_connection.rs index 769df7491..cf053ed98 100644 --- a/libwebrtc/src/native/peer_connection.rs +++ b/libwebrtc/src/native/peer_connection.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/peer_connection_factory.rs b/libwebrtc/src/native/peer_connection_factory.rs index 97d2c5912..4edc63047 100644 --- a/libwebrtc/src/native/peer_connection_factory.rs +++ b/libwebrtc/src/native/peer_connection_factory.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/rtp_parameters.rs b/libwebrtc/src/native/rtp_parameters.rs index 30f206ae7..866447d93 100644 --- a/libwebrtc/src/native/rtp_parameters.rs +++ b/libwebrtc/src/native/rtp_parameters.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/rtp_receiver.rs b/libwebrtc/src/native/rtp_receiver.rs index 14fc2fecb..a39b4f9f5 100644 --- a/libwebrtc/src/native/rtp_receiver.rs +++ b/libwebrtc/src/native/rtp_receiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/rtp_sender.rs b/libwebrtc/src/native/rtp_sender.rs index dd5509bd5..80bcffc73 100644 --- a/libwebrtc/src/native/rtp_sender.rs +++ b/libwebrtc/src/native/rtp_sender.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/rtp_transceiver.rs b/libwebrtc/src/native/rtp_transceiver.rs index 128b66599..286eb0d7f 100644 --- a/libwebrtc/src/native/rtp_transceiver.rs +++ b/libwebrtc/src/native/rtp_transceiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/session_description.rs b/libwebrtc/src/native/session_description.rs index cb28d1088..743230e2a 100644 --- a/libwebrtc/src/native/session_description.rs +++ b/libwebrtc/src/native/session_description.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/video_frame.rs b/libwebrtc/src/native/video_frame.rs index 0f2250fb0..aaa5491ff 100644 --- a/libwebrtc/src/native/video_frame.rs +++ b/libwebrtc/src/native/video_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/video_source.rs b/libwebrtc/src/native/video_source.rs index aea801ecb..91a59df99 100644 --- a/libwebrtc/src/native/video_source.rs +++ b/libwebrtc/src/native/video_source.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/video_stream.rs b/libwebrtc/src/native/video_stream.rs index 675f8a881..07774f87b 100644 --- a/libwebrtc/src/native/video_stream.rs +++ b/libwebrtc/src/native/video_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/video_track.rs b/libwebrtc/src/native/video_track.rs index a8bb7e0ee..efc3937df 100644 --- a/libwebrtc/src/native/video_track.rs +++ b/libwebrtc/src/native/video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/native/yuv_helper.rs b/libwebrtc/src/native/yuv_helper.rs index 4295d57dd..ed90d27e6 100644 --- a/libwebrtc/src/native/yuv_helper.rs +++ b/libwebrtc/src/native/yuv_helper.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/peer_connection.rs b/libwebrtc/src/peer_connection.rs index 1e36de19d..d6503179d 100644 --- a/libwebrtc/src/peer_connection.rs +++ b/libwebrtc/src/peer_connection.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/peer_connection_factory.rs b/libwebrtc/src/peer_connection_factory.rs index 7d90ae975..12f6d24bc 100644 --- a/libwebrtc/src/peer_connection_factory.rs +++ b/libwebrtc/src/peer_connection_factory.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/prelude.rs b/libwebrtc/src/prelude.rs index 7c319389a..2b61aa1ce 100644 --- a/libwebrtc/src/prelude.rs +++ b/libwebrtc/src/prelude.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/rtp_parameters.rs b/libwebrtc/src/rtp_parameters.rs index 5737fc453..559b2d504 100644 --- a/libwebrtc/src/rtp_parameters.rs +++ b/libwebrtc/src/rtp_parameters.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/rtp_receiver.rs b/libwebrtc/src/rtp_receiver.rs index e8b297ffa..a5318b1ce 100644 --- a/libwebrtc/src/rtp_receiver.rs +++ b/libwebrtc/src/rtp_receiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/rtp_sender.rs b/libwebrtc/src/rtp_sender.rs index 0edb41323..cf9250947 100644 --- a/libwebrtc/src/rtp_sender.rs +++ b/libwebrtc/src/rtp_sender.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/rtp_transceiver.rs b/libwebrtc/src/rtp_transceiver.rs index ba270c56f..00a7a9199 100644 --- a/libwebrtc/src/rtp_transceiver.rs +++ b/libwebrtc/src/rtp_transceiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/session_description.rs b/libwebrtc/src/session_description.rs index 9b638368d..4da7156ca 100644 --- a/libwebrtc/src/session_description.rs +++ b/libwebrtc/src/session_description.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/stats.rs b/libwebrtc/src/stats.rs index 23a64edc1..a6da73449 100644 --- a/libwebrtc/src/stats.rs +++ b/libwebrtc/src/stats.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use serde::Deserialize; diff --git a/libwebrtc/src/video_frame.rs b/libwebrtc/src/video_frame.rs index 1b77c51d4..926b45572 100644 --- a/libwebrtc/src/video_frame.rs +++ b/libwebrtc/src/video_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/video_source.rs b/libwebrtc/src/video_source.rs index ff2d8826f..d73491748 100644 --- a/libwebrtc/src/video_source.rs +++ b/libwebrtc/src/video_source.rs @@ -1,4 +1,4 @@ -// Copyright 2024 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/video_stream.rs b/libwebrtc/src/video_stream.rs index 445dc6351..fbdd01abe 100644 --- a/libwebrtc/src/video_stream.rs +++ b/libwebrtc/src/video_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/video_track.rs b/libwebrtc/src/video_track.rs index 6f440e784..a223d4858 100644 --- a/libwebrtc/src/video_track.rs +++ b/libwebrtc/src/video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/web/data_channel.rs b/libwebrtc/src/web/data_channel.rs index 89c367436..7be72b43d 100644 --- a/libwebrtc/src/web/data_channel.rs +++ b/libwebrtc/src/web/data_channel.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/web/media_stream.rs b/libwebrtc/src/web/media_stream.rs index 23d4fd421..a2b5995ae 100644 --- a/libwebrtc/src/web/media_stream.rs +++ b/libwebrtc/src/web/media_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/libwebrtc/src/web/mod.rs b/libwebrtc/src/web/mod.rs index 77713ce4b..5deafe2b1 100644 --- a/libwebrtc/src/web/mod.rs +++ b/libwebrtc/src/web/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/access_token.rs b/livekit-api/src/access_token.rs index 1c9d18d0c..d05cdb8c5 100644 --- a/livekit-api/src/access_token.rs +++ b/livekit-api/src/access_token.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/http_client.rs b/livekit-api/src/http_client.rs index 757a71a37..1ab609f19 100644 --- a/livekit-api/src/http_client.rs +++ b/livekit-api/src/http_client.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(any(feature = "services-tokio", feature = "signal-client-tokio"))] mod tokio { #[cfg(feature = "signal-client-tokio")] diff --git a/livekit-api/src/lib.rs b/livekit-api/src/lib.rs index b73394bec..8674878a5 100644 --- a/livekit-api/src/lib.rs +++ b/livekit-api/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/egress.rs b/livekit-api/src/services/egress.rs index a3b9d954d..a647bf1d3 100644 --- a/livekit-api/src/services/egress.rs +++ b/livekit-api/src/services/egress.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/ingress.rs b/livekit-api/src/services/ingress.rs index 8e32fa334..49f01c128 100644 --- a/livekit-api/src/services/ingress.rs +++ b/livekit-api/src/services/ingress.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/mod.rs b/livekit-api/src/services/mod.rs index 88bbeeff0..b65676e9c 100644 --- a/livekit-api/src/services/mod.rs +++ b/livekit-api/src/services/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/room.rs b/livekit-api/src/services/room.rs index edf2ba8ff..f0ee382e9 100644 --- a/livekit-api/src/services/room.rs +++ b/livekit-api/src/services/room.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/sip.rs b/livekit-api/src/services/sip.rs index 317ec055a..a3547abda 100644 --- a/livekit-api/src/services/sip.rs +++ b/livekit-api/src/services/sip.rs @@ -1,4 +1,4 @@ -// Copyright 2024 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/services/twirp_client.rs b/livekit-api/src/services/twirp_client.rs index 9dd6c5b51..bf4bf8ffd 100644 --- a/livekit-api/src/services/twirp_client.rs +++ b/livekit-api/src/services/twirp_client.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/signal_client/mod.rs b/livekit-api/src/signal_client/mod.rs index e29a9d389..e677bc32d 100644 --- a/livekit-api/src/signal_client/mod.rs +++ b/livekit-api/src/signal_client/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/signal_client/region.rs b/livekit-api/src/signal_client/region.rs index e431a6771..aa02bfbe6 100644 --- a/livekit-api/src/signal_client/region.rs +++ b/livekit-api/src/signal_client/region.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use http::header::{HeaderMap, HeaderValue, AUTHORIZATION}; use serde::Deserialize; diff --git a/livekit-api/src/signal_client/signal_stream.rs b/livekit-api/src/signal_client/signal_stream.rs index 37742b7a9..1fa1a4329 100644 --- a/livekit-api/src/signal_client/signal_stream.rs +++ b/livekit-api/src/signal_client/signal_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-api/src/webhooks.rs b/livekit-api/src/webhooks.rs index d87c73025..407b4bfe9 100644 --- a/livekit-api/src/webhooks.rs +++ b/livekit-api/src/webhooks.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/build.rs b/livekit-ffi/build.rs index b8add70f2..2f0cf0f0b 100644 --- a/livekit-ffi/build.rs +++ b/livekit-ffi/build.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/include/livekit_ffi.h b/livekit-ffi/include/livekit_ffi.h index 1d2c86b96..15f64dfa5 100644 --- a/livekit-ffi/include/livekit_ffi.h +++ b/livekit-ffi/include/livekit_ffi.h @@ -1,3 +1,19 @@ +/* + * Copyright 2025 LiveKit, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef livekit_ffi #define livekit_ffi diff --git a/livekit-ffi/protocol/audio_frame.proto b/livekit-ffi/protocol/audio_frame.proto index e6d2fbd92..8998a455f 100644 --- a/livekit-ffi/protocol/audio_frame.proto +++ b/livekit-ffi/protocol/audio_frame.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/e2ee.proto b/livekit-ffi/protocol/e2ee.proto index bdc20140f..bb693341d 100644 --- a/livekit-ffi/protocol/e2ee.proto +++ b/livekit-ffi/protocol/e2ee.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/ffi.proto b/livekit-ffi/protocol/ffi.proto index f1bc8873a..880efc9ec 100644 --- a/livekit-ffi/protocol/ffi.proto +++ b/livekit-ffi/protocol/ffi.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/handle.proto b/livekit-ffi/protocol/handle.proto index 90c74671e..06a3fd871 100644 --- a/livekit-ffi/protocol/handle.proto +++ b/livekit-ffi/protocol/handle.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/participant.proto b/livekit-ffi/protocol/participant.proto index 5e7ab34ba..390deaa9c 100644 --- a/livekit-ffi/protocol/participant.proto +++ b/livekit-ffi/protocol/participant.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/room.proto b/livekit-ffi/protocol/room.proto index d1f25d669..168681da0 100644 --- a/livekit-ffi/protocol/room.proto +++ b/livekit-ffi/protocol/room.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/rpc.proto b/livekit-ffi/protocol/rpc.proto index 19fd75f11..528d9f14e 100644 --- a/livekit-ffi/protocol/rpc.proto +++ b/livekit-ffi/protocol/rpc.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/stats.proto b/livekit-ffi/protocol/stats.proto index 103981aed..97cb6073f 100644 --- a/livekit-ffi/protocol/stats.proto +++ b/livekit-ffi/protocol/stats.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/track.proto b/livekit-ffi/protocol/track.proto index 0e6889e2e..3732c64bf 100644 --- a/livekit-ffi/protocol/track.proto +++ b/livekit-ffi/protocol/track.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/track_publication.proto b/livekit-ffi/protocol/track_publication.proto index 44f0b681f..ae9abe92c 100644 --- a/livekit-ffi/protocol/track_publication.proto +++ b/livekit-ffi/protocol/track_publication.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/protocol/video_frame.proto b/livekit-ffi/protocol/video_frame.proto index 6d41dc824..0dd3390f5 100644 --- a/livekit-ffi/protocol/video_frame.proto +++ b/livekit-ffi/protocol/video_frame.proto @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/cabi.rs b/livekit-ffi/src/cabi.rs index 5cc630a76..2fe4b7e3b 100644 --- a/livekit-ffi/src/cabi.rs +++ b/livekit-ffi/src/cabi.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use prost::Message; use server::FfiDataBuffer; use std::ffi::CStr; diff --git a/livekit-ffi/src/conversion/audio_frame.rs b/livekit-ffi/src/conversion/audio_frame.rs index c25ff415f..da1d09d01 100644 --- a/livekit-ffi/src/conversion/audio_frame.rs +++ b/livekit-ffi/src/conversion/audio_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/conversion/mod.rs b/livekit-ffi/src/conversion/mod.rs index 0c9f9f061..fc641cfc9 100644 --- a/livekit-ffi/src/conversion/mod.rs +++ b/livekit-ffi/src/conversion/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/conversion/participant.rs b/livekit-ffi/src/conversion/participant.rs index c7cbc9b97..7a56dc2ff 100644 --- a/livekit-ffi/src/conversion/participant.rs +++ b/livekit-ffi/src/conversion/participant.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/conversion/resampler.rs b/livekit-ffi/src/conversion/resampler.rs index 8b1378917..ee6dbc111 100644 --- a/livekit-ffi/src/conversion/resampler.rs +++ b/livekit-ffi/src/conversion/resampler.rs @@ -1 +1,14 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. diff --git a/livekit-ffi/src/conversion/room.rs b/livekit-ffi/src/conversion/room.rs index fa1e3d55e..eca51c33e 100644 --- a/livekit-ffi/src/conversion/room.rs +++ b/livekit-ffi/src/conversion/room.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/conversion/stats.rs b/livekit-ffi/src/conversion/stats.rs index 4b2d56e5b..afbe2accf 100644 --- a/livekit-ffi/src/conversion/stats.rs +++ b/livekit-ffi/src/conversion/stats.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use livekit::webrtc::{ prelude::DataChannelState, stats::{ diff --git a/livekit-ffi/src/conversion/track.rs b/livekit-ffi/src/conversion/track.rs index 82da937dd..9c3418b6e 100644 --- a/livekit-ffi/src/conversion/track.rs +++ b/livekit-ffi/src/conversion/track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/conversion/video_frame.rs b/livekit-ffi/src/conversion/video_frame.rs index 5498c870e..8bf3e2996 100644 --- a/livekit-ffi/src/conversion/video_frame.rs +++ b/livekit-ffi/src/conversion/video_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/lib.rs b/livekit-ffi/src/lib.rs index 0e0426335..066956606 100644 --- a/livekit-ffi/src/lib.rs +++ b/livekit-ffi/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/proto.rs b/livekit-ffi/src/proto.rs index 9b3d540ba..a0927cd2b 100644 --- a/livekit-ffi/src/proto.rs +++ b/livekit-ffi/src/proto.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #![allow(non_snake_case)] #![allow(clippy::enum_variant_names)] diff --git a/livekit-ffi/src/server/audio_plugin.rs b/livekit-ffi/src/server/audio_plugin.rs index bfa1bf6c2..f448a0794 100644 --- a/livekit-ffi/src/server/audio_plugin.rs +++ b/livekit-ffi/src/server/audio_plugin.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::{ pin::Pin, task::{Context, Poll}, diff --git a/livekit-ffi/src/server/audio_source.rs b/livekit-ffi/src/server/audio_source.rs index 115792710..27b95af75 100644 --- a/livekit-ffi/src/server/audio_source.rs +++ b/livekit-ffi/src/server/audio_source.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/audio_stream.rs b/livekit-ffi/src/server/audio_stream.rs index d383158c2..f6d9e8724 100644 --- a/livekit-ffi/src/server/audio_stream.rs +++ b/livekit-ffi/src/server/audio_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/colorcvt/cvtimpl.rs b/livekit-ffi/src/server/colorcvt/cvtimpl.rs index 5540190aa..24bb0b4f0 100644 --- a/livekit-ffi/src/server/colorcvt/cvtimpl.rs +++ b/livekit-ffi/src/server/colorcvt/cvtimpl.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::*; use crate::proto; use crate::{FfiError, FfiResult}; diff --git a/livekit-ffi/src/server/colorcvt/mod.rs b/livekit-ffi/src/server/colorcvt/mod.rs index 29ac09ff0..67f1ad08c 100644 --- a/livekit-ffi/src/server/colorcvt/mod.rs +++ b/livekit-ffi/src/server/colorcvt/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::{proto, FfiResult}; use livekit::webrtc::{prelude::*, video_frame::BoxVideoBuffer}; use std::slice; diff --git a/livekit-ffi/src/server/logger.rs b/livekit-ffi/src/server/logger.rs index bed451ecd..ac3f4f792 100644 --- a/livekit-ffi/src/server/logger.rs +++ b/livekit-ffi/src/server/logger.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::{ sync::atomic::{AtomicBool, Ordering}, time::Duration, diff --git a/livekit-ffi/src/server/mod.rs b/livekit-ffi/src/server/mod.rs index 0913012b2..106e1447d 100644 --- a/livekit-ffi/src/server/mod.rs +++ b/livekit-ffi/src/server/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/participant.rs b/livekit-ffi/src/server/participant.rs index adadae88d..df626aab5 100644 --- a/livekit-ffi/src/server/participant.rs +++ b/livekit-ffi/src/server/participant.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/requests.rs b/livekit-ffi/src/server/requests.rs index 21d868b7a..74e79be79 100644 --- a/livekit-ffi/src/server/requests.rs +++ b/livekit-ffi/src/server/requests.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/resampler.rs b/livekit-ffi/src/server/resampler.rs index c8a1229a1..32ea49e54 100644 --- a/livekit-ffi/src/server/resampler.rs +++ b/livekit-ffi/src/server/resampler.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::{ ffi::c_char, os::raw::{c_ulong, c_void}, diff --git a/livekit-ffi/src/server/room.rs b/livekit-ffi/src/server/room.rs index b004eba01..1d5be73f7 100644 --- a/livekit-ffi/src/server/room.rs +++ b/livekit-ffi/src/server/room.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/tests.rs b/livekit-ffi/src/server/tests.rs index 09ae18b22..f6ad941f1 100644 --- a/livekit-ffi/src/server/tests.rs +++ b/livekit-ffi/src/server/tests.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/utils.rs b/livekit-ffi/src/server/utils.rs index 7e95cd5fd..d98e506d4 100644 --- a/livekit-ffi/src/server/utils.rs +++ b/livekit-ffi/src/server/utils.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use livekit::prelude::{RoomEvent, Track, TrackSource}; use tokio::sync::{broadcast, mpsc}; diff --git a/livekit-ffi/src/server/video_source.rs b/livekit-ffi/src/server/video_source.rs index 50327b3bd..5af7d9a38 100644 --- a/livekit-ffi/src/server/video_source.rs +++ b/livekit-ffi/src/server/video_source.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-ffi/src/server/video_stream.rs b/livekit-ffi/src/server/video_stream.rs index 4e9f2ceb4..94b0b3e25 100644 --- a/livekit-ffi/src/server/video_stream.rs +++ b/livekit-ffi/src/server/video_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-protocol/generate_proto.sh b/livekit-protocol/generate_proto.sh index d8b5c19c7..a1f6adc66 100755 --- a/livekit-protocol/generate_proto.sh +++ b/livekit-protocol/generate_proto.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2023 LiveKit, Inc. +# Copyright 2025 LiveKit, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - # dependencies: cargo install protoc-gen-prost@0.3.1 protoc-gen-prost-serde@0.3.1 diff --git a/livekit-protocol/src/debouncer.rs b/livekit-protocol/src/debouncer.rs index 9c5379eb7..09bf854a9 100644 --- a/livekit-protocol/src/debouncer.rs +++ b/livekit-protocol/src/debouncer.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-protocol/src/enum_dispatch.rs b/livekit-protocol/src/enum_dispatch.rs index 877027930..0268b2829 100644 --- a/livekit-protocol/src/enum_dispatch.rs +++ b/livekit-protocol/src/enum_dispatch.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-protocol/src/lib.rs b/livekit-protocol/src/lib.rs index 1af88acd3..f8ea61f9d 100644 --- a/livekit-protocol/src/lib.rs +++ b/livekit-protocol/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-protocol/src/livekit.rs b/livekit-protocol/src/livekit.rs index 676becb62..55cb2762f 100644 --- a/livekit-protocol/src/livekit.rs +++ b/livekit-protocol/src/livekit.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // @generated // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] diff --git a/livekit-protocol/src/livekit.serde.rs b/livekit-protocol/src/livekit.serde.rs index 3c79f6c7a..6191e61dc 100644 --- a/livekit-protocol/src/livekit.serde.rs +++ b/livekit-protocol/src/livekit.serde.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // @generated impl serde::Serialize for ActiveSpeakerUpdate { #[allow(deprecated)] diff --git a/livekit-protocol/src/observer.rs b/livekit-protocol/src/observer.rs index a736a8b09..4f4dcff0a 100644 --- a/livekit-protocol/src/observer.rs +++ b/livekit-protocol/src/observer.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-protocol/src/promise.rs b/livekit-protocol/src/promise.rs index 1736715da..fc4e74258 100644 --- a/livekit-protocol/src/promise.rs +++ b/livekit-protocol/src/promise.rs @@ -1,4 +1,4 @@ -// Copyright 2024 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit-runtime/src/async_std.rs b/livekit-runtime/src/async_std.rs index c3a04c84a..797052049 100644 --- a/livekit-runtime/src/async_std.rs +++ b/livekit-runtime/src/async_std.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use futures::{Future, FutureExt, StreamExt}; use std::time::Duration; diff --git a/livekit-runtime/src/dispatcher.rs b/livekit-runtime/src/dispatcher.rs index ee461e766..024a4e89f 100644 --- a/livekit-runtime/src/dispatcher.rs +++ b/livekit-runtime/src/dispatcher.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use futures::{channel::mpsc::UnboundedReceiver, select_biased, Future, FutureExt, StreamExt}; use std::{sync::OnceLock, task::Poll, time::Duration}; diff --git a/livekit-runtime/src/lib.rs b/livekit-runtime/src/lib.rs index e4e2c6f59..34597bff8 100644 --- a/livekit-runtime/src/lib.rs +++ b/livekit-runtime/src/lib.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(any( all(feature = "tokio", feature = "async"), all(feature = "tokio", feature = "dispatcher"), diff --git a/livekit-runtime/src/tokio.rs b/livekit-runtime/src/tokio.rs index e630486cb..2aac8fc97 100644 --- a/livekit-runtime/src/tokio.rs +++ b/livekit-runtime/src/tokio.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::future::Future; use std::pin::Pin; diff --git a/livekit/src/lib.rs b/livekit/src/lib.rs index 8171af92b..00abe5de8 100644 --- a/livekit/src/lib.rs +++ b/livekit/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/plugin.rs b/livekit/src/plugin.rs index 9ffb06090..1d843b91e 100644 --- a/livekit/src/plugin.rs +++ b/livekit/src/plugin.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::{ collections::HashMap, ffi::{c_char, c_void, CString}, diff --git a/livekit/src/prelude.rs b/livekit/src/prelude.rs index 505cf7e2a..3e6bda23b 100644 --- a/livekit/src/prelude.rs +++ b/livekit/src/prelude.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/proto.rs b/livekit/src/proto.rs index cd274f1ab..ee178b040 100644 --- a/livekit/src/proto.rs +++ b/livekit/src/proto.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/e2ee/key_provider.rs b/livekit/src/room/e2ee/key_provider.rs index f472c4ad9..5140a4168 100644 --- a/livekit/src/room/e2ee/key_provider.rs +++ b/livekit/src/room/e2ee/key_provider.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/e2ee/manager.rs b/livekit/src/room/e2ee/manager.rs index ae7ec1bab..1e583b9c4 100644 --- a/livekit/src/room/e2ee/manager.rs +++ b/livekit/src/room/e2ee/manager.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/e2ee/mod.rs b/livekit/src/room/e2ee/mod.rs index dab478461..8864dc421 100644 --- a/livekit/src/room/e2ee/mod.rs +++ b/livekit/src/room/e2ee/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/id.rs b/livekit/src/room/id.rs index bd0b42aa9..c98fcde92 100644 --- a/livekit/src/room/id.rs +++ b/livekit/src/room/id.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // https://doc.rust-lang.org/rust-by-example/generics/new_types.html use std::fmt::Display; diff --git a/livekit/src/room/mod.rs b/livekit/src/room/mod.rs index 3ee94088d..3103fcccf 100644 --- a/livekit/src/room/mod.rs +++ b/livekit/src/room/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/options.rs b/livekit/src/room/options.rs index 2bf69a2a1..887b2ffe7 100644 --- a/livekit/src/room/options.rs +++ b/livekit/src/room/options.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/participant/local_participant.rs b/livekit/src/room/participant/local_participant.rs index eb958a8cb..c533d7fdc 100644 --- a/livekit/src/room/participant/local_participant.rs +++ b/livekit/src/room/participant/local_participant.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/participant/mod.rs b/livekit/src/room/participant/mod.rs index d3105d5e8..cbe687776 100644 --- a/livekit/src/room/participant/mod.rs +++ b/livekit/src/room/participant/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/participant/remote_participant.rs b/livekit/src/room/participant/remote_participant.rs index 4122ab5b0..5abdfb235 100644 --- a/livekit/src/room/participant/remote_participant.rs +++ b/livekit/src/room/participant/remote_participant.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/participant/rpc.rs b/livekit/src/room/participant/rpc.rs index 5e1895d20..b04691dda 100644 --- a/livekit/src/room/participant/rpc.rs +++ b/livekit/src/room/participant/rpc.rs @@ -1,6 +1,16 @@ -// SPDX-FileCopyrightText: 2024 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // -// SPDX-License-Identifier: Apache-2.0 +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use crate::room::participant::ParticipantIdentity; use livekit_protocol::RpcError as RpcError_Proto; diff --git a/livekit/src/room/publication/local.rs b/livekit/src/room/publication/local.rs index 728177913..97e365537 100644 --- a/livekit/src/room/publication/local.rs +++ b/livekit/src/room/publication/local.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/publication/mod.rs b/livekit/src/room/publication/mod.rs index 530a9106c..54e86bd4c 100644 --- a/livekit/src/room/publication/mod.rs +++ b/livekit/src/room/publication/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/publication/remote.rs b/livekit/src/room/publication/remote.rs index 6e93fdeb7..03d39b2d8 100644 --- a/livekit/src/room/publication/remote.rs +++ b/livekit/src/room/publication/remote.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/audio_track.rs b/livekit/src/room/track/audio_track.rs index a864490ca..1c8f4c991 100644 --- a/livekit/src/room/track/audio_track.rs +++ b/livekit/src/room/track/audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/local_audio_track.rs b/livekit/src/room/track/local_audio_track.rs index 26f6705f3..7ac31adb4 100644 --- a/livekit/src/room/track/local_audio_track.rs +++ b/livekit/src/room/track/local_audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/local_track.rs b/livekit/src/room/track/local_track.rs index c154bca56..cfdf897b5 100644 --- a/livekit/src/room/track/local_track.rs +++ b/livekit/src/room/track/local_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/local_video_track.rs b/livekit/src/room/track/local_video_track.rs index 379105791..c7c26649b 100644 --- a/livekit/src/room/track/local_video_track.rs +++ b/livekit/src/room/track/local_video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/mod.rs b/livekit/src/room/track/mod.rs index 936b3fec0..3dbb90967 100644 --- a/livekit/src/room/track/mod.rs +++ b/livekit/src/room/track/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/remote_audio_track.rs b/livekit/src/room/track/remote_audio_track.rs index cb62fbf1b..c87634869 100644 --- a/livekit/src/room/track/remote_audio_track.rs +++ b/livekit/src/room/track/remote_audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/remote_track.rs b/livekit/src/room/track/remote_track.rs index f99737f73..f171cea12 100644 --- a/livekit/src/room/track/remote_track.rs +++ b/livekit/src/room/track/remote_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/remote_video_track.rs b/livekit/src/room/track/remote_video_track.rs index 7c845cff5..2076a3b1c 100644 --- a/livekit/src/room/track/remote_video_track.rs +++ b/livekit/src/room/track/remote_video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/track/video_track.rs b/livekit/src/room/track/video_track.rs index edd3e517e..0f5543096 100644 --- a/livekit/src/room/track/video_track.rs +++ b/livekit/src/room/track/video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/room/utils/mod.rs b/livekit/src/room/utils/mod.rs index e534425a0..3fc0ee15d 100644 --- a/livekit/src/room/utils/mod.rs +++ b/livekit/src/room/utils/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; pub mod take_cell; diff --git a/livekit/src/rtc_engine/lk_runtime.rs b/livekit/src/rtc_engine/lk_runtime.rs index 4f18c30f9..fe5318e84 100644 --- a/livekit/src/rtc_engine/lk_runtime.rs +++ b/livekit/src/rtc_engine/lk_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/rtc_engine/mod.rs b/livekit/src/rtc_engine/mod.rs index 184be0fcd..cc8da7ce2 100644 --- a/livekit/src/rtc_engine/mod.rs +++ b/livekit/src/rtc_engine/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/rtc_engine/peer_transport.rs b/livekit/src/rtc_engine/peer_transport.rs index 9546ba3ec..be301b505 100644 --- a/livekit/src/rtc_engine/peer_transport.rs +++ b/livekit/src/rtc_engine/peer_transport.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/rtc_engine/rtc_events.rs b/livekit/src/rtc_engine/rtc_events.rs index 8206a8bb0..d5f59f794 100644 --- a/livekit/src/rtc_engine/rtc_events.rs +++ b/livekit/src/rtc_engine/rtc_events.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/src/rtc_engine/rtc_session.rs b/livekit/src/rtc_engine/rtc_session.rs index 3be6d830e..d3dcb9056 100644 --- a/livekit/src/rtc_engine/rtc_session.rs +++ b/livekit/src/rtc_engine/rtc_session.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/livekit/tests/audio_test.rs b/livekit/tests/audio_test.rs index 197cf7fce..869f3ec64 100644 --- a/livekit/tests/audio_test.rs +++ b/livekit/tests/audio_test.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] use { anyhow::{anyhow, Ok, Result}, diff --git a/livekit/tests/common/e2e/audio.rs b/livekit/tests/common/e2e/audio.rs index 51c44314d..f01449c50 100644 --- a/livekit/tests/common/e2e/audio.rs +++ b/livekit/tests/common/e2e/audio.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use libwebrtc::{ audio_source::native::NativeAudioSource, prelude::{AudioFrame, AudioSourceOptions, RtcAudioSource}, diff --git a/livekit/tests/common/e2e/mod.rs b/livekit/tests/common/e2e/mod.rs index faf0082b9..44c27010c 100644 --- a/livekit/tests/common/e2e/mod.rs +++ b/livekit/tests/common/e2e/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use anyhow::{Context, Result}; use chrono::Utc; use futures_util::future::try_join_all; diff --git a/livekit/tests/common/mod.rs b/livekit/tests/common/mod.rs index 25c465db0..e6bb827c9 100644 --- a/livekit/tests/common/mod.rs +++ b/livekit/tests/common/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] /// Utilities for end-to-end testing with a LiveKit server. mod e2e; diff --git a/livekit/tests/data_channel_encryption.rs b/livekit/tests/data_channel_encryption.rs index 7fe46a4f5..2e1515423 100644 --- a/livekit/tests/data_channel_encryption.rs +++ b/livekit/tests/data_channel_encryption.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] use { crate::common::test_rooms_with_options, diff --git a/livekit/tests/data_channel_test.rs b/livekit/tests/data_channel_test.rs index ae0bf89b7..af38a551d 100644 --- a/livekit/tests/data_channel_test.rs +++ b/livekit/tests/data_channel_test.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] use { crate::common::test_rooms, diff --git a/livekit/tests/data_stream_test.rs b/livekit/tests/data_stream_test.rs index c15ba6af9..911a37548 100644 --- a/livekit/tests/data_stream_test.rs +++ b/livekit/tests/data_stream_test.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] use { crate::common::test_rooms, diff --git a/livekit/tests/room_test.rs b/livekit/tests/room_test.rs index 7f575fa5f..ea944046d 100644 --- a/livekit/tests/room_test.rs +++ b/livekit/tests/room_test.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(feature = "__lk-e2e-test")] use { anyhow::{Ok, Result}, diff --git a/soxr-sys/build.rs b/soxr-sys/build.rs index 17fef5ace..3edd66eb5 100644 --- a/soxr-sys/build.rs +++ b/soxr-sys/build.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::env; fn main() { diff --git a/soxr-sys/generate_bindings.sh b/soxr-sys/generate_bindings.sh index 62c7525bc..1fc70f0a8 100755 --- a/soxr-sys/generate_bindings.sh +++ b/soxr-sys/generate_bindings.sh @@ -1 +1,15 @@ +# Copyright 2025 LiveKit, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + bindgen src/soxr.h -o src/soxr.rs diff --git a/webrtc-sys/build.rs b/webrtc-sys/build.rs index 0f5d4d2bd..53df0a114 100644 --- a/webrtc-sys/build.rs +++ b/webrtc-sys/build.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/build/src/lib.rs b/webrtc-sys/build/src/lib.rs index ef5ed794a..7daedc3ef 100644 --- a/webrtc-sys/build/src/lib.rs +++ b/webrtc-sys/build/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/include/livekit/android.h b/webrtc-sys/include/livekit/android.h index 2826ea33f..6cac21cf1 100644 --- a/webrtc-sys/include/livekit/android.h +++ b/webrtc-sys/include/livekit/android.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/apm.h b/webrtc-sys/include/livekit/apm.h index 57cd6ea5c..8e357b106 100644 --- a/webrtc-sys/include/livekit/apm.h +++ b/webrtc-sys/include/livekit/apm.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/audio_device.h b/webrtc-sys/include/livekit/audio_device.h index d0ae2ded1..9586fb314 100644 --- a/webrtc-sys/include/livekit/audio_device.h +++ b/webrtc-sys/include/livekit/audio_device.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/audio_resampler.h b/webrtc-sys/include/livekit/audio_resampler.h index e0880449e..208edecec 100644 --- a/webrtc-sys/include/livekit/audio_resampler.h +++ b/webrtc-sys/include/livekit/audio_resampler.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/audio_track.h b/webrtc-sys/include/livekit/audio_track.h index 042cd44bb..2c812c1ff 100644 --- a/webrtc-sys/include/livekit/audio_track.h +++ b/webrtc-sys/include/livekit/audio_track.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/candidate.h b/webrtc-sys/include/livekit/candidate.h index 574ededc6..94c07bfd4 100644 --- a/webrtc-sys/include/livekit/candidate.h +++ b/webrtc-sys/include/livekit/candidate.h @@ -1,5 +1,5 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/webrtc-sys/include/livekit/data_channel.h b/webrtc-sys/include/livekit/data_channel.h index e511dc7e8..a82d7b1aa 100644 --- a/webrtc-sys/include/livekit/data_channel.h +++ b/webrtc-sys/include/livekit/data_channel.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/frame_cryptor.h b/webrtc-sys/include/livekit/frame_cryptor.h index 4664a40d5..633c4a6dc 100644 --- a/webrtc-sys/include/livekit/frame_cryptor.h +++ b/webrtc-sys/include/livekit/frame_cryptor.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/global_task_queue.h b/webrtc-sys/include/livekit/global_task_queue.h index 1cf9a7ac1..c5d9b420a 100644 --- a/webrtc-sys/include/livekit/global_task_queue.h +++ b/webrtc-sys/include/livekit/global_task_queue.h @@ -1,3 +1,19 @@ +/* + * Copyright 2025 LiveKit, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include "api/task_queue/task_queue_factory.h" diff --git a/webrtc-sys/include/livekit/helper.h b/webrtc-sys/include/livekit/helper.h index 629912605..6bb8dae8b 100644 --- a/webrtc-sys/include/livekit/helper.h +++ b/webrtc-sys/include/livekit/helper.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/jsep.h b/webrtc-sys/include/livekit/jsep.h index 62ec36669..15665f4ca 100644 --- a/webrtc-sys/include/livekit/jsep.h +++ b/webrtc-sys/include/livekit/jsep.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/media_stream.h b/webrtc-sys/include/livekit/media_stream.h index fcfd09762..c862041b8 100644 --- a/webrtc-sys/include/livekit/media_stream.h +++ b/webrtc-sys/include/livekit/media_stream.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/media_stream_track.h b/webrtc-sys/include/livekit/media_stream_track.h index 1b86c6165..c027d04c1 100644 --- a/webrtc-sys/include/livekit/media_stream_track.h +++ b/webrtc-sys/include/livekit/media_stream_track.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/objc_video_factory.h b/webrtc-sys/include/livekit/objc_video_factory.h index cbc2a0d95..c7763858a 100644 --- a/webrtc-sys/include/livekit/objc_video_factory.h +++ b/webrtc-sys/include/livekit/objc_video_factory.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/peer_connection.h b/webrtc-sys/include/livekit/peer_connection.h index 6e7587b50..e89959981 100644 --- a/webrtc-sys/include/livekit/peer_connection.h +++ b/webrtc-sys/include/livekit/peer_connection.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/peer_connection_factory.h b/webrtc-sys/include/livekit/peer_connection_factory.h index 2a4bf8539..6e787b2b7 100644 --- a/webrtc-sys/include/livekit/peer_connection_factory.h +++ b/webrtc-sys/include/livekit/peer_connection_factory.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/prohibit_libsrtp_initialization.h b/webrtc-sys/include/livekit/prohibit_libsrtp_initialization.h index 9670b161a..dbbe8962c 100644 --- a/webrtc-sys/include/livekit/prohibit_libsrtp_initialization.h +++ b/webrtc-sys/include/livekit/prohibit_libsrtp_initialization.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/rtc_error.h b/webrtc-sys/include/livekit/rtc_error.h index 1240642eb..7e4cf4430 100644 --- a/webrtc-sys/include/livekit/rtc_error.h +++ b/webrtc-sys/include/livekit/rtc_error.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/rtp_parameters.h b/webrtc-sys/include/livekit/rtp_parameters.h index 40cca4ff1..2838e1a4f 100644 --- a/webrtc-sys/include/livekit/rtp_parameters.h +++ b/webrtc-sys/include/livekit/rtp_parameters.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/rtp_receiver.h b/webrtc-sys/include/livekit/rtp_receiver.h index 25181680d..c242963d4 100644 --- a/webrtc-sys/include/livekit/rtp_receiver.h +++ b/webrtc-sys/include/livekit/rtp_receiver.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/rtp_sender.h b/webrtc-sys/include/livekit/rtp_sender.h index 80363942b..04ba3471f 100644 --- a/webrtc-sys/include/livekit/rtp_sender.h +++ b/webrtc-sys/include/livekit/rtp_sender.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/rtp_transceiver.h b/webrtc-sys/include/livekit/rtp_transceiver.h index 99a994ccc..041f33183 100644 --- a/webrtc-sys/include/livekit/rtp_transceiver.h +++ b/webrtc-sys/include/livekit/rtp_transceiver.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/video_decoder_factory.h b/webrtc-sys/include/livekit/video_decoder_factory.h index 9b2d7030d..5e6199400 100644 --- a/webrtc-sys/include/livekit/video_decoder_factory.h +++ b/webrtc-sys/include/livekit/video_decoder_factory.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/video_encoder_factory.h b/webrtc-sys/include/livekit/video_encoder_factory.h index 902049e3a..047c55681 100644 --- a/webrtc-sys/include/livekit/video_encoder_factory.h +++ b/webrtc-sys/include/livekit/video_encoder_factory.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/video_frame.h b/webrtc-sys/include/livekit/video_frame.h index 22e4b89eb..675024dea 100644 --- a/webrtc-sys/include/livekit/video_frame.h +++ b/webrtc-sys/include/livekit/video_frame.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/video_frame_buffer.h b/webrtc-sys/include/livekit/video_frame_buffer.h index dc79057b3..535d80a0a 100644 --- a/webrtc-sys/include/livekit/video_frame_buffer.h +++ b/webrtc-sys/include/livekit/video_frame_buffer.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/video_track.h b/webrtc-sys/include/livekit/video_track.h index ac74b79c9..06a6cf1ec 100644 --- a/webrtc-sys/include/livekit/video_track.h +++ b/webrtc-sys/include/livekit/video_track.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/webrtc.h b/webrtc-sys/include/livekit/webrtc.h index afa86e1fd..969138a3d 100644 --- a/webrtc-sys/include/livekit/webrtc.h +++ b/webrtc-sys/include/livekit/webrtc.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/include/livekit/yuv_helper.h b/webrtc-sys/include/livekit/yuv_helper.h index 10132273d..28bac072d 100644 --- a/webrtc-sys/include/livekit/yuv_helper.h +++ b/webrtc-sys/include/livekit/yuv_helper.h @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/android.cpp b/webrtc-sys/src/android.cpp index 30ca78dd5..9b509ef04 100644 --- a/webrtc-sys/src/android.cpp +++ b/webrtc-sys/src/android.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/android.rs b/webrtc-sys/src/android.rs index 493cccaf6..f84050fa4 100644 --- a/webrtc-sys/src/android.rs +++ b/webrtc-sys/src/android.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/apm.cpp b/webrtc-sys/src/apm.cpp index 4fe34d2be..0d24f57db 100644 --- a/webrtc-sys/src/apm.cpp +++ b/webrtc-sys/src/apm.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2025 LiveKit, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "livekit/apm.h" #include "api/audio/builtin_audio_processing_builder.h" diff --git a/webrtc-sys/src/apm.rs b/webrtc-sys/src/apm.rs index 30c804ee1..ab0ed82da 100644 --- a/webrtc-sys/src/apm.rs +++ b/webrtc-sys/src/apm.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/audio_device.cpp b/webrtc-sys/src/audio_device.cpp index 364ca01f7..0f2ed5f36 100644 --- a/webrtc-sys/src/audio_device.cpp +++ b/webrtc-sys/src/audio_device.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/audio_resampler.cpp b/webrtc-sys/src/audio_resampler.cpp index 8618018c8..e00f21651 100644 --- a/webrtc-sys/src/audio_resampler.cpp +++ b/webrtc-sys/src/audio_resampler.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/audio_resampler.rs b/webrtc-sys/src/audio_resampler.rs index 80dae06d0..c8e901734 100644 --- a/webrtc-sys/src/audio_resampler.rs +++ b/webrtc-sys/src/audio_resampler.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/audio_track.cpp b/webrtc-sys/src/audio_track.cpp index 24d3e444b..84c226a8a 100644 --- a/webrtc-sys/src/audio_track.cpp +++ b/webrtc-sys/src/audio_track.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/audio_track.rs b/webrtc-sys/src/audio_track.rs index d24f87520..3df020825 100644 --- a/webrtc-sys/src/audio_track.rs +++ b/webrtc-sys/src/audio_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/candidate.cpp b/webrtc-sys/src/candidate.cpp index aa7def776..59ed532d4 100644 --- a/webrtc-sys/src/candidate.cpp +++ b/webrtc-sys/src/candidate.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/candidate.rs b/webrtc-sys/src/candidate.rs index db33e525d..b115a0354 100644 --- a/webrtc-sys/src/candidate.rs +++ b/webrtc-sys/src/candidate.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/data_channel.cpp b/webrtc-sys/src/data_channel.cpp index 70d15122e..064275b0f 100644 --- a/webrtc-sys/src/data_channel.cpp +++ b/webrtc-sys/src/data_channel.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/data_channel.rs b/webrtc-sys/src/data_channel.rs index 1ae85bf7e..2ea060343 100644 --- a/webrtc-sys/src/data_channel.rs +++ b/webrtc-sys/src/data_channel.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/frame_cryptor.cpp b/webrtc-sys/src/frame_cryptor.cpp index 6e43212e2..bc9b79376 100644 --- a/webrtc-sys/src/frame_cryptor.cpp +++ b/webrtc-sys/src/frame_cryptor.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/frame_cryptor.rs b/webrtc-sys/src/frame_cryptor.rs index 5579e6119..b79833c0b 100644 --- a/webrtc-sys/src/frame_cryptor.rs +++ b/webrtc-sys/src/frame_cryptor.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/global_task_queue.cpp b/webrtc-sys/src/global_task_queue.cpp index 0f0cfc2b3..8d79e9199 100644 --- a/webrtc-sys/src/global_task_queue.cpp +++ b/webrtc-sys/src/global_task_queue.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2025 LiveKit, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "livekit/global_task_queue.h" #include "api/task_queue/default_task_queue_factory.h" diff --git a/webrtc-sys/src/helper.rs b/webrtc-sys/src/helper.rs index f77de2bee..56902178e 100644 --- a/webrtc-sys/src/helper.rs +++ b/webrtc-sys/src/helper.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/jsep.cpp b/webrtc-sys/src/jsep.cpp index a1283229e..35553e8d5 100644 --- a/webrtc-sys/src/jsep.cpp +++ b/webrtc-sys/src/jsep.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/jsep.rs b/webrtc-sys/src/jsep.rs index cdbb43664..5ba2d1a4f 100644 --- a/webrtc-sys/src/jsep.rs +++ b/webrtc-sys/src/jsep.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/lib.rs b/webrtc-sys/src/lib.rs index 6baf7e2f6..2c3c94faf 100644 --- a/webrtc-sys/src/lib.rs +++ b/webrtc-sys/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/media_stream.cpp b/webrtc-sys/src/media_stream.cpp index 3a4ad1275..7d28ee7ed 100644 --- a/webrtc-sys/src/media_stream.cpp +++ b/webrtc-sys/src/media_stream.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/media_stream.rs b/webrtc-sys/src/media_stream.rs index 97f26005f..fa55e96d6 100644 --- a/webrtc-sys/src/media_stream.rs +++ b/webrtc-sys/src/media_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/media_stream_track.cpp b/webrtc-sys/src/media_stream_track.cpp index 1f9fc1e3c..7d9deb179 100644 --- a/webrtc-sys/src/media_stream_track.cpp +++ b/webrtc-sys/src/media_stream_track.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/media_stream_track.rs b/webrtc-sys/src/media_stream_track.rs index 18e39ddf3..fe55162b1 100644 --- a/webrtc-sys/src/media_stream_track.rs +++ b/webrtc-sys/src/media_stream_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/objc_video_factory.mm b/webrtc-sys/src/objc_video_factory.mm index 1ad79a0e9..8839b15ef 100644 --- a/webrtc-sys/src/objc_video_factory.mm +++ b/webrtc-sys/src/objc_video_factory.mm @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/objc_video_frame_buffer.mm b/webrtc-sys/src/objc_video_frame_buffer.mm index 6621b0f8e..5415964c4 100644 --- a/webrtc-sys/src/objc_video_frame_buffer.mm +++ b/webrtc-sys/src/objc_video_frame_buffer.mm @@ -1,14 +1,14 @@ /* - * Copyright 2024 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/peer_connection.cpp b/webrtc-sys/src/peer_connection.cpp index 17944ebf9..bc7cc8b36 100644 --- a/webrtc-sys/src/peer_connection.cpp +++ b/webrtc-sys/src/peer_connection.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/peer_connection.rs b/webrtc-sys/src/peer_connection.rs index b81c89555..04c58f854 100644 --- a/webrtc-sys/src/peer_connection.rs +++ b/webrtc-sys/src/peer_connection.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/peer_connection_factory.cpp b/webrtc-sys/src/peer_connection_factory.cpp index 2980a36e5..8dc673d68 100644 --- a/webrtc-sys/src/peer_connection_factory.cpp +++ b/webrtc-sys/src/peer_connection_factory.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/peer_connection_factory.rs b/webrtc-sys/src/peer_connection_factory.rs index 1ae912848..f4516676d 100644 --- a/webrtc-sys/src/peer_connection_factory.rs +++ b/webrtc-sys/src/peer_connection_factory.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/prohibit_libsrtp_initialization.cpp b/webrtc-sys/src/prohibit_libsrtp_initialization.cpp index 9e26bd998..f14b6f4f5 100644 --- a/webrtc-sys/src/prohibit_libsrtp_initialization.cpp +++ b/webrtc-sys/src/prohibit_libsrtp_initialization.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/prohibit_libsrtp_initialization.rs b/webrtc-sys/src/prohibit_libsrtp_initialization.rs index 8fa9fcca4..828678230 100644 --- a/webrtc-sys/src/prohibit_libsrtp_initialization.rs +++ b/webrtc-sys/src/prohibit_libsrtp_initialization.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/rtc_error.cpp b/webrtc-sys/src/rtc_error.cpp index 363bb0233..d4a73db3e 100644 --- a/webrtc-sys/src/rtc_error.cpp +++ b/webrtc-sys/src/rtc_error.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/rtc_error.rs b/webrtc-sys/src/rtc_error.rs index 64c8642c3..ee0573e5a 100644 --- a/webrtc-sys/src/rtc_error.rs +++ b/webrtc-sys/src/rtc_error.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/rtp_parameters.cpp b/webrtc-sys/src/rtp_parameters.cpp index 66ffe0d99..f19fae5aa 100644 --- a/webrtc-sys/src/rtp_parameters.cpp +++ b/webrtc-sys/src/rtp_parameters.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/rtp_parameters.rs b/webrtc-sys/src/rtp_parameters.rs index 7d353bd57..cc4e39f2a 100644 --- a/webrtc-sys/src/rtp_parameters.rs +++ b/webrtc-sys/src/rtp_parameters.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/rtp_receiver.cpp b/webrtc-sys/src/rtp_receiver.cpp index 04524c0c9..b4a8cfc54 100644 --- a/webrtc-sys/src/rtp_receiver.cpp +++ b/webrtc-sys/src/rtp_receiver.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/rtp_receiver.rs b/webrtc-sys/src/rtp_receiver.rs index fb59e61c4..ed89dde25 100644 --- a/webrtc-sys/src/rtp_receiver.rs +++ b/webrtc-sys/src/rtp_receiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/rtp_sender.cpp b/webrtc-sys/src/rtp_sender.cpp index f56477466..c73874590 100644 --- a/webrtc-sys/src/rtp_sender.cpp +++ b/webrtc-sys/src/rtp_sender.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/rtp_sender.rs b/webrtc-sys/src/rtp_sender.rs index af5909a22..36c604d35 100644 --- a/webrtc-sys/src/rtp_sender.rs +++ b/webrtc-sys/src/rtp_sender.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/rtp_transceiver.cpp b/webrtc-sys/src/rtp_transceiver.cpp index 62c20dcb2..785ab6ef5 100644 --- a/webrtc-sys/src/rtp_transceiver.cpp +++ b/webrtc-sys/src/rtp_transceiver.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/rtp_transceiver.rs b/webrtc-sys/src/rtp_transceiver.rs index 0bb2d97d8..24c82aac4 100644 --- a/webrtc-sys/src/rtp_transceiver.rs +++ b/webrtc-sys/src/rtp_transceiver.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/video_decoder_factory.cpp b/webrtc-sys/src/video_decoder_factory.cpp index bd2dfbe1d..1471d26bb 100644 --- a/webrtc-sys/src/video_decoder_factory.cpp +++ b/webrtc-sys/src/video_decoder_factory.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/video_encoder_factory.cpp b/webrtc-sys/src/video_encoder_factory.cpp index 953c9be6d..f2d802578 100644 --- a/webrtc-sys/src/video_encoder_factory.cpp +++ b/webrtc-sys/src/video_encoder_factory.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/video_frame.cpp b/webrtc-sys/src/video_frame.cpp index e2dfc0a1c..aedde6e65 100644 --- a/webrtc-sys/src/video_frame.cpp +++ b/webrtc-sys/src/video_frame.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/video_frame.rs b/webrtc-sys/src/video_frame.rs index 4aee8873b..25a20d8e1 100644 --- a/webrtc-sys/src/video_frame.rs +++ b/webrtc-sys/src/video_frame.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/video_frame_buffer.cpp b/webrtc-sys/src/video_frame_buffer.cpp index c818f6d14..4a05de857 100644 --- a/webrtc-sys/src/video_frame_buffer.cpp +++ b/webrtc-sys/src/video_frame_buffer.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/video_frame_buffer.rs b/webrtc-sys/src/video_frame_buffer.rs index 8f0cadae1..e7233609e 100644 --- a/webrtc-sys/src/video_frame_buffer.rs +++ b/webrtc-sys/src/video_frame_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/video_track.cpp b/webrtc-sys/src/video_track.cpp index cd83a1640..46b2bd78d 100644 --- a/webrtc-sys/src/video_track.cpp +++ b/webrtc-sys/src/video_track.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/video_track.rs b/webrtc-sys/src/video_track.rs index 09fd22309..11071d56b 100644 --- a/webrtc-sys/src/video_track.rs +++ b/webrtc-sys/src/video_track.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/webrtc.cpp b/webrtc-sys/src/webrtc.cpp index 0b9491ff8..a09b65aed 100644 --- a/webrtc-sys/src/webrtc.cpp +++ b/webrtc-sys/src/webrtc.cpp @@ -1,14 +1,14 @@ /* - * Copyright 2023 LiveKit + * Copyright 2025 LiveKit, Inc. * - * Licensed under the Apache License, Version 2.0 (the “License”); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an “AS IS” BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. diff --git a/webrtc-sys/src/webrtc.rs b/webrtc-sys/src/webrtc.rs index 62ff24e99..32fbecb48 100644 --- a/webrtc-sys/src/webrtc.rs +++ b/webrtc-sys/src/webrtc.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/webrtc-sys/src/yuv_helper.rs b/webrtc-sys/src/yuv_helper.rs index abf55e9af..c24fafbc1 100644 --- a/webrtc-sys/src/yuv_helper.rs +++ b/webrtc-sys/src/yuv_helper.rs @@ -1,4 +1,4 @@ -// Copyright 2023 LiveKit, Inc. +// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/yuv-sys/build.rs b/yuv-sys/build.rs index 34a936108..4c5c503cb 100644 --- a/yuv-sys/build.rs +++ b/yuv-sys/build.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use cc; use rayon::prelude::*; use regex::Regex; diff --git a/yuv-sys/src/lib.rs b/yuv-sys/src/lib.rs index 6839d5eae..05fb62531 100644 --- a/yuv-sys/src/lib.rs +++ b/yuv-sys/src/lib.rs @@ -1,3 +1,17 @@ +// Copyright 2025 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] #![allow(non_snake_case)] From 566b2b7c615ff59c18105ff103e320057e297ee0 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 02:45:58 +0000 Subject: [PATCH 3/6] generated protobuf --- livekit-protocol/src/livekit.rs | 14 -------------- livekit-protocol/src/livekit.serde.rs | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/livekit-protocol/src/livekit.rs b/livekit-protocol/src/livekit.rs index 55cb2762f..676becb62 100644 --- a/livekit-protocol/src/livekit.rs +++ b/livekit-protocol/src/livekit.rs @@ -1,17 +1,3 @@ -// Copyright 2025 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // @generated // This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] diff --git a/livekit-protocol/src/livekit.serde.rs b/livekit-protocol/src/livekit.serde.rs index 6191e61dc..3c79f6c7a 100644 --- a/livekit-protocol/src/livekit.serde.rs +++ b/livekit-protocol/src/livekit.serde.rs @@ -1,17 +1,3 @@ -// Copyright 2025 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // @generated impl serde::Serialize for ActiveSpeakerUpdate { #[allow(deprecated)] From 2725d5917af810660acdd8df4f0e1130c504f8e3 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:46:44 +1100 Subject: [PATCH 4/6] Format --- livekit-ffi/src/conversion/resampler.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/livekit-ffi/src/conversion/resampler.rs b/livekit-ffi/src/conversion/resampler.rs index ee6dbc111..e0fbfd119 100644 --- a/livekit-ffi/src/conversion/resampler.rs +++ b/livekit-ffi/src/conversion/resampler.rs @@ -11,4 +11,3 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. - From d18d92a1571134e78143deb9bda85250e74a6eab Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:52:15 +1100 Subject: [PATCH 5/6] Exclude generated files --- licenserc.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/licenserc.toml b/licenserc.toml index 641ea5ec5..bd0291541 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -9,7 +9,10 @@ excludes = [ "livekit-protocol/protocol", "examples", ".github", - "*.toml" + "*.toml", + # Generated files + "livekit-protocol/src/livekit.rs", + "livekit-protocol/src/livekit.serde.rs", ] [mapping.DOUBLESLASH_STYLE] From 2307c26b4d48127447678d6716b8dca091ca7648 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:54:01 +1100 Subject: [PATCH 6/6] Exclude additional files --- licenserc.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/licenserc.toml b/licenserc.toml index bd0291541..07fc6de96 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -6,10 +6,14 @@ excludes = [ "webrtc-sys/test", "webrtc-sys/src/vaapi", "webrtc-sys/src/nvidia", + "webrtc-sys/.clang-format", "livekit-protocol/protocol", + "livekit-ffi/.cargo/config", "examples", + "NOTICE", ".github", "*.toml", + "*.txt", # Generated files "livekit-protocol/src/livekit.rs", "livekit-protocol/src/livekit.serde.rs",