Skip to content

[dom-mediacapture-transform] Add discardedFrames and totalFrames to MediaStreamTrackProcessor.#75192

Open
markuslindroth wants to merge 2 commits into
DefinitelyTyped:masterfrom
markuslindroth:patch-1
Open

[dom-mediacapture-transform] Add discardedFrames and totalFrames to MediaStreamTrackProcessor.#75192
markuslindroth wants to merge 2 commits into
DefinitelyTyped:masterfrom
markuslindroth:patch-1

Conversation

@markuslindroth

Copy link
Copy Markdown

Adds totalFrames and discardedFrames properties to the MediaStreamTrackProcessor interface to align with the official specification (https://www.w3.org/TR/mediacapture-transform/#track-processor-interface).

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-automation

typescript-automation Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@markuslindroth Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by a DT maintainer

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 75192,
  "author": "markuslindroth",
  "headCommitOid": "32e4553444bdecc18ff0f39d5409831acb1e4b64",
  "mergeBaseOid": "e186cd854fef1fbd5152877e78f9ab05743c226e",
  "lastPushDate": "2026-07-01T16:06:07.000Z",
  "lastActivityDate": "2026-07-01T16:06:07.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "tooManyCommits": false,
  "tooManyReviews": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "dom-mediacapture-transform",
      "kind": "edit",
      "files": [
        {
          "path": "types/dom-mediacapture-transform/dom-mediacapture-transform-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/dom-mediacapture-transform/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "dogben"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 4857440430,
  "ciResult": "pass"
}

@typescript-automation

Copy link
Copy Markdown
Contributor

🔔 @dogben — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-automation typescript-automation Bot moved this to Waiting for Code Reviews in Pull Request Status Board Jul 1, 2026
@typescript-automation typescript-automation Bot moved this from Waiting for Code Reviews to Needs Maintainer Review in Pull Request Status Board Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Needs Maintainer Review

Development

Successfully merging this pull request may close these issues.

1 participant