applyContentHint
function applyContentHint<T>(hint?): (track) => void;
Apply the content hint to the track
Type Parameters
| Type Parameter |
|---|
T extends | "" | "speech" | "speech-recognition" | "music" | "motion" | "detail" | "text" |
Parameters
| Parameter | Type | Description |
|---|---|---|
hint? | T | Content hint |
Returns
(track): void;
Parameters
| Parameter | Type |
|---|---|
track | MediaStreamTrack |
Returns
void