Skip to content

Commit

Permalink
Add {{AvailableInWorkers("window_and_dedicated")}} for Web Codes API (#…
Browse files Browse the repository at this point in the history
…33477)

add {{AvailableInWorkers("window_and_dedicated")}}
  • Loading branch information
skyclouds2001 authored May 8, 2024
1 parent 81e8c28 commit 3789de6
Show file tree
Hide file tree
Showing 114 changed files with 114 additions and 114 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/allocationsize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.allocationSize
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`allocationSize()`** method of the {{domxref("AudioData")}} interface returns the size in bytes required to hold the current sample as filtered by options passed into the method.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/audiodata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.AudioData
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`AudioData()`** constructor creates a new {{domxref("AudioData")}} object which represents an individual audio sample.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/clone/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.clone
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`clone()`** method of the {{domxref("AudioData")}} interface creates a new `AudioData` object with reference to the same media resource as the original.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/close/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.close
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`close()`** method of the {{domxref("AudioData")}} interface clears all states and releases the reference to the media resource.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/copyto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.copyTo
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`copyTo()`** method of the {{domxref("AudioData")}} interface copies a plane of an `AudioData` object to a destination buffer.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/duration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.duration
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`duration`** read-only property of the {{domxref("AudioData")}} interface returns the duration in microseconds of this `AudioData` object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/format/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.format
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`format`** read-only property of the {{domxref("AudioData")}} interface returns the sample format of the `AudioData` object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ status:
browser-compat: api.AudioData
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`AudioData`** interface of the [WebCodecs API](/en-US/docs/Web/API/WebCodecs_API) represents an audio sample.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/numberofchannels/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.numberOfChannels
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`numberOfChannels`** read-only property of the {{domxref("AudioData")}} interface returns the number of channels in the `AudioData` object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/numberofframes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.numberOfFrames
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`numberOfFrames`** read-only property of the {{domxref("AudioData")}} interface returns the number of frames in the `AudioData` object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/samplerate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.sampleRate
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`sampleRate`** read-only property of the {{domxref("AudioData")}} interface returns the sample rate in Hz.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodata/timestamp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioData.timestamp
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`duration`** read-only property of the {{domxref("AudioData")}} interface returns the timestamp of this `AudioData` object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/audiodecoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.AudioDecoder
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`AudioDecoder()`** constructor creates a new {{domxref("AudioDecoder")}} object with the provided `init.output` callback assigned as the output callback, the provided `init.error` callback as the error callback, and the {{domxref("AudioDecoder.state")}} set to `"unconfigured"`.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/close/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.close
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`close()`** method of the {{domxref("AudioDecoder")}} interface ends all pending work and releases system resources.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/configure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.configure
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`configure()`** method of the {{domxref("AudioDecoder")}} interface enqueues a control message to configure the audio decoder for decoding chunks.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/decode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.decode
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`decode()`** method of the {{domxref("AudioDecoder")}} interface enqueues a control message to decode a given chunk of audio.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/decodequeuesize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.decodeQueueSize
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`decodeQueueSize`** read-only property of the {{domxref("AudioDecoder")}} interface returns the number of pending decode requests in the queue.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/dequeue_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.dequeue_event
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`dequeue`** event of the {{domxref("AudioDecoder")}} interface fires to signal a decrease in {{domxref("AudioDecoder.decodeQueueSize")}}.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/flush/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.flush
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`flush()`** method of the {{domxref("AudioDecoder")}} interface returns a Promise that resolves once all pending messages in the queue have been completed.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ status:
browser-compat: api.AudioDecoder
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`AudioDecoder`** interface of the {{domxref('WebCodecs API','','',' ')}} decodes chunks of audio.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.isConfigSupported_static
---

{{APIRef("WebCodecs API")}}{{SecureContext_Header}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SecureContext_Header}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`isConfigSupported()`** static method of the {{domxref("AudioDecoder")}} interface checks if the given config is supported (that is, if {{domxref("AudioDecoder")}} objects can be successfully configured with the given config).

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/reset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.reset
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`reset()`** method of the {{domxref("AudioDecoder")}} interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audiodecoder/state/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioDecoder.state
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The **`state`** read-only property of the {{domxref("AudioDecoder")}} interface returns the current state of the underlying codec.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/audioencoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.AudioEncoder
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`AudioEncoder()`** constructor creates a new {{domxref("AudioEncoder")}} object with the provided `init.output` callback assigned as the output callback, the provided `init.error` callback as the error callback, and the {{domxref("AudioEncoder.state")}} set to `"unconfigured"`.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/close/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.close
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`close()`** method of the {{domxref("AudioEncoder")}} interface ends all pending work and releases system resources.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/configure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.configure
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`configure()`** method of the {{domxref("AudioEncoder")}} interface enqueues a control message to configure the audio encoder for encoding chunks.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/dequeue_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.dequeue_event
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`dequeue`** event of the {{domxref("AudioEncoder")}} interface fires to signal a decrease in {{domxref("AudioEncoder.encodeQueueSize")}}.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/encode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.encode
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`encode()`** method of the {{domxref("AudioEncoder")}} interface enqueues a control message to encode a given {{domxref("AudioData")}} object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/encodequeuesize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.encodeQueueSize
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`encodeQueueSize`** read-only property of the {{domxref("AudioEncoder")}} interface returns the number of pending encode requests in the queue.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/flush/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.flush
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`flush()`** method of the {{domxref("AudioEncoder")}} interface returns a Promise that resolves once all pending messages in the queue have been completed.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ status:
browser-compat: api.AudioEncoder
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{SecureContext_Header}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers("window_and_dedicated")}}

The **`AudioEncoder`** interface of the [WebCodecs API](/en-US/docs/Web/API/WebCodecs_API) encodes {{domxref("AudioData")}} objects.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.isConfigSupported_static
---

{{APIRef("WebCodecs API")}}{{SecureContext_Header}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SecureContext_Header}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`isConfigSupported()`** static method of the {{domxref("AudioEncoder")}} interface checks if the given config is supported (that is, if {{domxref("AudioEncoder")}} objects can be successfully configured with the given config).

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/reset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.reset
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`reset()`** method of the {{domxref("AudioEncoder")}} interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioencoder/state/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.AudioEncoder.state
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`state`** read-only property of the {{domxref("AudioEncoder")}} interface returns the current state of the underlying codec.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/bytelength/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.byteLength
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`byteLength`** read-only property of the {{domxref("EncodedAudioChunk")}} interface returns the length in bytes of the encoded audio data.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/copyto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.copyTo
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`copyTo()`** method of the {{domxref("EncodedAudioChunk")}} interface copies the encoded chunk of audio data.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/duration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.duration
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`duration`** read-only property of the {{domxref("EncodedAudioChunk")}} interface returns an integer indicating the duration of the audio in microseconds.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.EncodedAudioChunk
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`EncodedAudioChunk()`** constructor creates a new {{domxref("EncodedAudioChunk")}} object representing a chunk of encoded audio.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ status:
browser-compat: api.EncodedAudioChunk
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`EncodedAudioChunk`** interface of the {{domxref('WebCodecs API','','',' ')}} represents a chunk of encoded audio data.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/timestamp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.timestamp
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`timestamp`** read-only property of the {{domxref("EncodedAudioChunk")}} interface returns an integer indicating the timestamp of the audio in microseconds.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedaudiochunk/type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.EncodedAudioChunk.type
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}

The **`type`** read-only property of the {{domxref("EncodedAudioChunk")}} interface returns a value indicating whether the audio chunk is a key chunk, which does not relying on other frames for decoding.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedvideochunk/bytelength/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-property
browser-compat: api.EncodedVideoChunk.byteLength
---

{{APIRef("WebCodecs API")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`byteLength`** read-only property of the {{domxref("EncodedVideoChunk")}} interface returns the length in bytes of the encoded video data.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedvideochunk/copyto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.EncodedVideoChunk.copyTo
---

{{APIRef("WebCodecs API")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`copyTo()`** method of the {{domxref("EncodedVideoChunk")}} interface copies the encoded chunk of video data.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/encodedvideochunk/duration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-property
browser-compat: api.EncodedVideoChunk.duration
---

{{APIRef("WebCodecs API")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`duration`** read-only property of the {{domxref("EncodedVideoChunk")}} interface returns an integer indicating the duration of the video in microseconds.

Expand Down
Loading

0 comments on commit 3789de6

Please sign in to comment.