From e34bfc6b110df3ee076381ac6f34bbf8297d2fcf Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Thu, 23 Nov 2023 14:09:50 +0200 Subject: [PATCH] Update copyright in all files. --- pkg/config/config.go | 3 ++- pkg/errors/errors.go | 2 +- pkg/media/media.go | 14 ++++++++++++++ pkg/media/opus/opus.go | 14 ++++++++++++++ pkg/media/pcm.go | 14 ++++++++++++++ pkg/media/rtp/rtp.go | 14 ++++++++++++++ pkg/media/ulaw/ulaw.go | 14 ++++++++++++++ pkg/mixer/mixer.go | 2 +- pkg/mixer/mixer_test.go | 14 ++++++++++++++ pkg/service/service.go | 2 +- pkg/sip/config.go | 2 +- pkg/sip/inbound.go | 14 ++++++++++++++ pkg/sip/media.go | 2 +- pkg/sip/media_file.go | 14 ++++++++++++++ pkg/sip/media_sip.go | 14 ++++++++++++++ pkg/sip/room.go | 14 ++++++++++++++ pkg/sip/server.go | 2 +- pkg/sip/signaling.go | 2 +- 18 files changed, 149 insertions(+), 8 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 250e52b6..9a858946 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -4,7 +4,7 @@ // 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 +// 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, @@ -26,6 +26,7 @@ import ( "github.com/livekit/protocol/utils" "github.com/livekit/psrpc" lksdk "github.com/livekit/server-sdk-go" + "github.com/livekit/sip/pkg/errors" ) diff --git a/pkg/errors/errors.go b/pkg/errors/errors.go index 4d4f2b78..a795d087 100644 --- a/pkg/errors/errors.go +++ b/pkg/errors/errors.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/media/media.go b/pkg/media/media.go index e090e48f..6063cbf9 100644 --- a/pkg/media/media.go +++ b/pkg/media/media.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package media type Writer[T any] interface { diff --git a/pkg/media/opus/opus.go b/pkg/media/opus/opus.go index c0cd3be6..d76736fc 100644 --- a/pkg/media/opus/opus.go +++ b/pkg/media/opus/opus.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package opus import ( diff --git a/pkg/media/pcm.go b/pkg/media/pcm.go index 2d46f8ce..cf46585d 100644 --- a/pkg/media/pcm.go +++ b/pkg/media/pcm.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package media import ( diff --git a/pkg/media/rtp/rtp.go b/pkg/media/rtp/rtp.go index 423df183..72ac403a 100644 --- a/pkg/media/rtp/rtp.go +++ b/pkg/media/rtp/rtp.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package rtp import ( diff --git a/pkg/media/ulaw/ulaw.go b/pkg/media/ulaw/ulaw.go index a288bb14..787150ae 100644 --- a/pkg/media/ulaw/ulaw.go +++ b/pkg/media/ulaw/ulaw.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package ulaw import ( diff --git a/pkg/mixer/mixer.go b/pkg/mixer/mixer.go index 3feeb4fe..e158422f 100644 --- a/pkg/mixer/mixer.go +++ b/pkg/mixer/mixer.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/mixer/mixer_test.go b/pkg/mixer/mixer_test.go index d766ade9..ac40bafb 100644 --- a/pkg/mixer/mixer_test.go +++ b/pkg/mixer/mixer_test.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package mixer import ( diff --git a/pkg/service/service.go b/pkg/service/service.go index 5698254f..bbc99a96 100644 --- a/pkg/service/service.go +++ b/pkg/service/service.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/sip/config.go b/pkg/sip/config.go index 037c4d75..6a7e0439 100644 --- a/pkg/sip/config.go +++ b/pkg/sip/config.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/sip/inbound.go b/pkg/sip/inbound.go index 01666144..4d043159 100644 --- a/pkg/sip/inbound.go +++ b/pkg/sip/inbound.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package sip import ( diff --git a/pkg/sip/media.go b/pkg/sip/media.go index 12225509..a0271733 100644 --- a/pkg/sip/media.go +++ b/pkg/sip/media.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/sip/media_file.go b/pkg/sip/media_file.go index c5ce522b..55a2edfc 100644 --- a/pkg/sip/media_file.go +++ b/pkg/sip/media_file.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package sip import ( diff --git a/pkg/sip/media_sip.go b/pkg/sip/media_sip.go index 4b1a16e9..f5d31197 100644 --- a/pkg/sip/media_sip.go +++ b/pkg/sip/media_sip.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package sip import ( diff --git a/pkg/sip/room.go b/pkg/sip/room.go index 0eb11543..a5625045 100644 --- a/pkg/sip/room.go +++ b/pkg/sip/room.go @@ -1,3 +1,17 @@ +// Copyright 2023 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. + package sip import ( diff --git a/pkg/sip/server.go b/pkg/sip/server.go index e029d470..82c6c875 100644 --- a/pkg/sip/server.go +++ b/pkg/sip/server.go @@ -4,7 +4,7 @@ // 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 +// 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, diff --git a/pkg/sip/signaling.go b/pkg/sip/signaling.go index 13b0a932..c6ef3483 100644 --- a/pkg/sip/signaling.go +++ b/pkg/sip/signaling.go @@ -4,7 +4,7 @@ // 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 +// 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,