Skip to content

Commit 683fc83

Browse files
stv0gSean-Der
authored andcommitted
Make repo REUSE compliant
1 parent efffef2 commit 683fc83

File tree

289 files changed

+937
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+937
-67
lines changed

.codacy.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
---
2+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
3+
# SPDX-License-Identifier: MIT
4+
25
exclude_paths:
36
- examples/examples.json

.github/.ci.conf

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
3+
14
GO_JS_WASM_EXEC=${PWD}/test-wasm/go_js_wasm_exec
25
TEST_EXTRA_ARGS="-tags quic"
36
GOLANGCI_LINT_EXRA_ARGS="--build-tags quic"
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
SPDX-License-Identifier: MIT

.github/workflows/browser-e2e.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
13
name: Browser E2E
24
on:
35
pull_request:

.github/workflows/examples-tests.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
13
name: Examples Tests
24
on:
35
pull_request:
@@ -16,4 +18,3 @@ jobs:
1618
uses: actions/checkout@v3
1719
- name: test
1820
run: cd examples/pion-to-pion && ./test.sh
19-

.github/workflows/standardjs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
13
name: StandardJS
24
on:
35
pull_request:

.reuse/dep5

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
22
Upstream-Name: Pion
33
Source: https://github.com/pion/
44

5-
Files: README.md AUTHORS.txt renovate.json
5+
Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum package.json examples/examples.json .eslintrc.json
66
Copyright: 2023 The Pion community <https://pion.ly>
77
License: MIT
8+
9+
Files: testdata/fuzz/* **/testdata/fuzz/* api/*.txt
10+
Copyright: 2023 The Pion community <https://pion.ly>
11+
License: CC0-1.0

LICENSE

-21
This file was deleted.

LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
LICENSES/MIT.txt

LICENSES/MIT.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) <year> <copyright holders>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

api.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

api_js.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build js && wasm
25
// +build js,wasm
36

api_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

atomicbool.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import "sync/atomic"

bundlepolicy.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

bundlepolicy_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

certificate.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

certificate_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

configuration.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

configuration_common.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import "strings"

configuration_js.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build js && wasm
25
// +build js,wasm
36

configuration_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

constants.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import "github.com/pion/dtls/v2"

datachannel.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

datachannel_go_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

datachannel_js.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build js && wasm
25
// +build js,wasm
36

datachannel_js_detach.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build js && wasm
25
// +build js,wasm
36

datachannel_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

datachannelinit.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DataChannelInit can be used to configure properties of the underlying

datachannelmessage.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DataChannelMessage represents a message received from the

datachannelparameters.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DataChannelParameters describes the configuration of the DataChannel.

datachannelstate.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DataChannelState indicates the state of a data channel.

datachannelstate_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

dtlsfingerprint.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DTLSFingerprint specifies the hash function algorithm and certificate

dtlsparameters.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DTLSParameters holds information relating to DTLS configuration.

dtlsrole.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

dtlsrole_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

dtlstransport.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

dtlstransport_js.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build js && wasm
25
// +build js,wasm
36

dtlstransport_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

dtlstransportstate.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
// DTLSTransportState indicates the DTLS transport establishment state.

dtlstransportstate_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

e2e/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
3+
14
FROM golang:1.17-alpine3.13
25

36
RUN apk add --no-cache \

e2e/e2e_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build e2e
25
// +build e2e
36

e2e/test.html

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
3+
SPDX-License-Identifier: MIT
4+
-->
15
<div id="media"></div>
26

37
<script>

errors.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
package webrtc
25

36
import (

examples/bandwidth-estimation-from-disk/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

examples/broadcast/jsfiddle/demo.css

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
3+
SPDX-License-Identifier: MIT
4+
*/
15
textarea {
26
width: 500px;
37
min-height: 75px;
+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
2-
name: broadcast
3-
description: Example of a broadcast using Pion WebRTC
4-
authors:
5-
- Sean DuBois
2+
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
3+
# SPDX-License-Identifier: MIT
4+
5+
name: broadcast
6+
description: Example of a broadcast using Pion WebRTC
7+
authors:
8+
- Sean DuBois

examples/broadcast/jsfiddle/demo.html

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
3+
SPDX-License-Identifier: MIT
4+
-->
15
<div id="signalingContainer" style="display: none">
26
Browser base64 Session Description<br />
37
<textarea id="localSessionDescription" readonly="true"></textarea> <br />

examples/broadcast/jsfiddle/demo.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/* eslint-env browser */
2+
3+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
4+
// SPDX-License-Identifier: MIT
5+
26
const log = msg => {
37
document.getElementById('logs').innerHTML += msg + '<br>'
48
}

examples/broadcast/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

examples/custom-logger/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
14
//go:build !js
25
// +build !js
36

0 commit comments

Comments
 (0)