Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Nov 21, 2024
1 parent 7a19a53 commit 8b052fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/decoders/h264.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class H264Context {
}

_handleFrame(frame) {
console.log("Got frame");

Check failure on line 125 in core/decoders/h264.js

View workflow job for this annotation

GitHub Actions / eslint

Unexpected console statement
let pending = this._pendingFrames.shift();
if (pending === undefined) {
throw new Error("Pending frame queue empty when receiving frame from decoder");
Expand Down Expand Up @@ -156,6 +157,7 @@ export class H264Context {
profileIdc.toString(16).padStart(2, '0') +
constraintSet.toString(16).padStart(2, '0') +
levelIdc.toString(16).padStart(2, '0');
console.log(codec);

Check failure on line 160 in core/decoders/h264.js

View workflow job for this annotation

GitHub Actions / eslint

Unexpected console statement
this._decoder.configure({
codec: codec,
codedWidth: this._width,
Expand Down Expand Up @@ -216,6 +218,8 @@ export class H264Context {

result = this._preparePendingFrame(timestamp);

console.log(timestamp);

Check failure on line 221 in core/decoders/h264.js

View workflow job for this annotation

GitHub Actions / eslint

Unexpected console statement
console.log(encodedFrame.key);

Check failure on line 222 in core/decoders/h264.js

View workflow job for this annotation

GitHub Actions / eslint

Unexpected console statement
const chunk = new EncodedVideoChunk({
timestamp: timestamp,
type: encodedFrame.key ? 'key' : 'delta',
Expand Down

0 comments on commit 8b052fc

Please sign in to comment.