AudioTrack: sourceBuffer property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Media Source Extensions")}}

The read-only {{domxref("AudioTrack")}} property **sourceBuffer** returns the {{domxref("SourceBuffer")}} that created the track, or null if the track was not created by a {{domxref("SourceBuffer")}} or the {{domxref("SourceBuffer")}} has been removed from the {{domxref("MediaSource.sourceBuffers")}} attribute of its parent media source.

Value

A {{domxref("SourceBuffer")}} or null.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}