VideoTrackGenerator: muted property

Khả dụng hạn chế

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Thuộc tính Boolean muted của giao diện VideoTrackGenerator có thể được sử dụng để tạm thời dừng hoặc tiếp tục tạo khung hình video trong track đầu ra.

Giá trị

Một giá trị boolean.

Ví dụ

Để tạm dừng tạo khung hình video:

js
videoTrackGenerator.muted = true;

Để tiếp tục tạo khung hình video:

js
videoTrackGenerator.muted = false;

Thông số kỹ thuật

Thông số kỹ thuật
MediaStreamTrack Insertable Media Processing using Streams
# dom-videotrackgenerator-muted

Tương thích trình duyệt