Skip to content

Commit

Permalink
Add contentHint to MediaStreamTrack annotations.
Browse files Browse the repository at this point in the history
This is an experimental property to guide MediaStreamTrack consumers in
how to treat/encode content.

Chromium feature development is tracked in https://crbug.com/653531.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=141228156
  • Loading branch information
pbos authored and blickly committed Dec 7, 2016
1 parent f21c592 commit 720b9bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions externs/browser/w3c_rtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ MediaStreamTrack.prototype.enabled;
*/
MediaStreamTrack.prototype.muted;

/**
* @type {string}
* @see https://crbug.com/653531
* @see https://wicg.github.io/mst-content-hint/
*/
MediaStreamTrack.prototype.contentHint;

/**
* @type {boolean}
* @const
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit 720b9bf

Please sign in to comment.