fix: add NACK for opus offer #15
Annotations
9 errors and 10 warnings
src/adapters/WHEPAdapter.ts#L92
'opusCodecId' is never reassigned. Use 'const' instead
|
src/adapters/WHEPAdapter.ts#L94
Insert `·`
|
src/adapters/WHEPAdapter.ts#L95
Replace `"opus/48000/2\r\n",·"opus/48000/2\r\na=rtcp-fb:"+opusCodecId[1]+·"·nack\r\n")` with `⏎············'opus/48000/2\r\n',⏎············'opus/48000/2\r\na=rtcp-fb:'·+·opusCodecId[1]·+·'·nack\r\n'⏎··········);`
|
src/adapters/WHEPAdapter.ts#L98
Delete `······`
|
src/adapters/WHEPAdapter.ts#L264
Replace `response.status·===·406·&&·this.audio·&&·!this.mediaConstraints.audioOnly·&&·!this.mediaConstraints.videoOnly` with `⏎········response.status·===·406·&&⏎········this.audio·&&⏎········!this.mediaConstraints.audioOnly·&&⏎········!this.mediaConstraints.videoOnly⏎······`
|
src/adapters/WHEPAdapter.ts#L271
Replace `response.status·===·406·&&·this.video·&&·!this.mediaConstraints.audioOnly·&&·!this.mediaConstraints.videoOnly` with `⏎········response.status·===·406·&&⏎········this.video·&&⏎········!this.mediaConstraints.audioOnly·&&⏎········!this.mediaConstraints.videoOnly⏎······`
|
src/index.ts#L26
Insert `;`
|
src/index.ts#L65
Replace `·...MediaConstraintsDefaults,·...opts.mediaConstraints` with `⏎······...MediaConstraintsDefaults,⏎······...opts.mediaConstraints⏎···`
|
|
demo/demo.ts#L92
'_' is assigned a value but never used
|
src/adapters/Adapter.ts#L1
'DEFAULT_CONNECT_TIMEOUT' is assigned a value but never used
|
src/adapters/AdapterFactory.ts#L24
'mediaConstraints' is defined but never used
|
src/adapters/AdapterFactory.ts#L33
'mediaConstraints' is defined but never used
|
src/adapters/EyevinnAdapter.ts#L9
Unexpected any. Specify a different type
|
src/adapters/EyevinnAdapter.ts#L16
'onError' is defined but never used
|
src/adapters/EyevinnAdapter.ts#L67
Unexpected any. Specify a different type
|
src/adapters/EyevinnAdapter.ts#L73
Unexpected any. Specify a different type
|
src/adapters/EyevinnAdapter.ts#L77
'event' is defined but never used
|
src/adapters/WHEPAdapter.ts#L60
'opts' is defined but never used
|
The logs for this run have expired and are no longer available.
Loading