Skip to content

Commit

Permalink
Merge commit '5e6356583cbb7a2e240558141b58a3d83b3df8d1' into feature/…
Browse files Browse the repository at this point in the history
…ulpfec
  • Loading branch information
shinyoshiaki committed Oct 21, 2023
2 parents fce7b93 + 5e63565 commit 47830c1
Show file tree
Hide file tree
Showing 266 changed files with 18,068 additions and 27,306 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
- name: prepare
run: |
sudo apt-get update
sudo apt-get install libavdevice-dev libavfilter-dev libopus-dev libvpx-dev pkg-config libsrtp2-dev libasound2-dev -y
sudo apt-get -y install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-pulseaudio
sudo apt-get -y install libavdevice-dev libavfilter-dev libopus-dev libvpx-dev pkg-config libsrtp2-dev libasound2-dev libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-pulseaudio
npm i
cd e2e
npm i
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ coverage
dist
*.webm
*.log
*.key
*.mpd
*.mp3
credential.env
22 changes: 16 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"${workspaceRoot}/tsconfig.json",
"${workspaceRoot}/examples/mediachannel/ulpfec/recv.ts"
],
"env": { "DEBUG": "werift*" },
"env": {
"DEBUG": "werift*"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -48,7 +50,9 @@
"${workspaceRoot}/tsconfig.json",
"${workspaceRoot}/examples/interop/client.ts"
],
"env": { "DEBUG": "*" },
"env": {
"DEBUG": "*"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -65,7 +69,9 @@
"-t",
"1"
],
"env": { "DEBUG": "*" },
"env": {
"DEBUG": "*"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -80,7 +86,9 @@
"${workspaceRoot}/tsconfig.json",
"${workspaceRoot}/examples/interop/server.ts"
],
"env": { "DEBUG": "werift*" },
"env": {
"DEBUG": "werift*"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -96,9 +104,11 @@
"${workspaceRoot}/tsconfig.json",
"${workspaceRoot}/e2e/server/main.ts"
],
"env": { "DEBUG": "werift*" },
"env": {
"DEBUG": "werift*"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
}
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"ebml",
"examples",
"extmap",
"ffffffn",
"files",
"hdrext",
"howdee",
Expand Down Expand Up @@ -70,5 +71,6 @@
"liveServer.settings.port": 5501,
"liveServer.settings.ignoreFiles": ["**"],
"typescript.tsdk": "node_modules/typescript/lib",
"python.formatting.provider": "black"
"python.formatting.provider": "black",
"commentTranslate.source": "intellsmi.deepl-translate-deepl"
}
38 changes: 38 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,41 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
```

# https://github.com/austinleroy/webm-encrypt

```
MIT License

Copyright (c) [year] [fullname]

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.
```

# https://github.com/ryiwamoto/simple-ebml-builder-js/blob/master/LICENSE

```
Copyright 2017 ryiwamoto

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.
```
5 changes: 5 additions & 0 deletions credential.template.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLIENT_ID=redacted
CLIENT_SECRET=redacted
PROJECT_ID=redacted
REFRESH_TOKEN=redacted
DEVICE_ID=redacted
47 changes: 36 additions & 11 deletions doc/classes/Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
### Accessors

- [nominatedKeys](Connection.md#nominatedkeys)
- [remoteAddr](Connection.md#remoteaddr)
- [remoteCandidates](Connection.md#remotecandidates)

### Methods
Expand All @@ -49,7 +48,9 @@
- [gatherCandidates](Connection.md#gathercandidates)
- [getDefaultCandidate](Connection.md#getdefaultcandidate)
- [requestReceived](Connection.md#requestreceived)
- [resetNominatedPair](Connection.md#resetnominatedpair)
- [send](Connection.md#send)
- [setRemoteParams](Connection.md#setremoteparams)

## Constructors

Expand All @@ -70,6 +71,11 @@

**\_components**: `Set`<`number`\>

コンポーネントはデータストリームの一部です. データストリームには複数のコンポーネントが必要な場合があり、
データストリーム全体が機能するには、それぞれが機能する必要があります.
RTP / RTCPデータストリームの場合、RTPとRTCPが同じポートで多重化されていない限り、データストリームごとに2つのコンポーネントがあります.
1つはRTP用、もう1つはRTCP用です. コンポーネントには候補ペアがあり、他のコンポーネントでは使用できません.

___

### \_localCandidatesEnd
Expand Down Expand Up @@ -202,16 +208,6 @@ ___

___

### remoteAddr

`get` **remoteAddr**(): readonly [`string`, `number`]

#### Returns

readonly [`string`, `number`]

___

### remoteCandidates

`get` **remoteCandidates**(): [`Candidate`](Candidate.md)[]
Expand Down Expand Up @@ -372,6 +368,16 @@ ___

___

### resetNominatedPair

**resetNominatedPair**(): `void`

#### Returns

`void`

___

### send

**send**(`data`): `Promise`<`void`\>
Expand All @@ -385,3 +391,22 @@ ___
#### Returns

`Promise`<`void`\>

___

### setRemoteParams

**setRemoteParams**(`«destructured»`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `«destructured»` | `Object` |
| › `iceLite` | `boolean` |
| › `password` | `string` |
| › `usernameFragment` | `string` |

#### Returns

`void`
67 changes: 67 additions & 0 deletions doc/classes/DepacketizeBase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[werift](../README.md) / [Exports](../modules.md) / DepacketizeBase

# Class: DepacketizeBase

## Hierarchy

- **`DepacketizeBase`**

[`DepacketizeCallback`](DepacketizeCallback.md)

## Implements

- `Processor`<[`DepacketizerInput`](../modules.md#depacketizerinput), [`DepacketizerOutput`](../interfaces/DepacketizerOutput.md)\>

## Table of contents

### Constructors

- [constructor](DepacketizeBase.md#constructor)

### Properties

- [sequence](DepacketizeBase.md#sequence)

### Methods

- [processInput](DepacketizeBase.md#processinput)

## Constructors

### constructor

**new DepacketizeBase**(`codec`, `options?`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `codec` | `string` |
| `options` | `Object` |
| `options.isFinalPacketInSequence?` | (`header`: [`RtpHeader`](RtpHeader.md)) => `boolean` |

## Properties

### sequence

**sequence**: `number` = `0`

## Methods

### processInput

**processInput**(`input`): [`DepacketizerOutput`](../interfaces/DepacketizerOutput.md)[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [`DepacketizerInput`](../modules.md#depacketizerinput) |

#### Returns

[`DepacketizerOutput`](../interfaces/DepacketizerOutput.md)[]

#### Implementation of

Processor.processInput
Loading

0 comments on commit 47830c1

Please sign in to comment.