Skip to content

feature: publisher web component #118

feature: publisher web component

feature: publisher web component #118

Triggered via pull request May 2, 2025 21:04
Status Failure
Total duration 1m 7s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 warnings
check: lib/moq-publisher/index.ts#L47
Promise returned in function argument where a void return was expected
check
Promise returned in function argument where a void return was expected
check
Promise returned in function argument where a void return was expected
check
Promise returned in function argument where a void return was expected
check
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
check
Promise returned in function argument where a void return was expected
check
This assertion is unnecessary since it does not change the type of the expression
check
Unexpected `await` of a non-Promise (non-"Thenable") value
check
Process completed with exit code 1.
check
Delete `;`
check
Delete `;`
check
Replace `····=·settings.sampleRate····??·(await·new·AudioContext()).sampleRate;` with `·=·settings.sampleRate·??·(await·new·AudioContext()).sampleRate`
check
Replace `·=·settings.channelCount··??·2;` with `=·settings.channelCount·??·2`
check
Replace `codec:·"avc1.42E01E",·width:·this.previewVideo.videoWidth,·height:·this.previewVideo.videoHeight,·bitrate:1000000,·framerate:·60};` with `⏎↹↹↹↹codec:·"avc1.42E01E",⏎↹↹↹↹width:·this.previewVideo.videoWidth,⏎↹↹↹↹height:·this.previewVideo.videoHeight,⏎↹↹↹↹bitrate:·1000000,⏎↹↹↹↹framerate:·60,⏎↹↹↹}`
check
Replace `codec:·"opus",·sampleRate,·numberOfChannels,·bitrate:64000};⏎` with `·codec:·"opus",·sampleRate,·numberOfChannels,·bitrate:·64000·}`
check
Replace `⏎↹↹↹↹↹this.getAttribute("namespace")!·||·crypto.randomUUID()⏎↹↹↹↹··` with `this.getAttribute("namespace")!·||·crypto.randomUUID()`