--- title: MediaStreamTrack slug: Web/API/MediaStreamTrack translation_of: Web/API/MediaStreamTrack ---
MediaStreamTrack接口在User Agent中表示一段媒体源,比如音轨或视频。
规范 | 状态 | 说明 |
---|---|---|
{{SpecName('Media Capture', '#mediastreamtrack', 'MediaStreamTrack')}} | {{Spec2('Media Capture')}} | Initial definition |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} |
stop() |
{{CompatUnknown}} | {{CompatGeckoDesktop(34)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |
muted , onmuted , onunmuted , readonly , readyState , remote , onstarted , onended , onoverconstrained , appendConstraint() , applyConstraints() , constraints() , getConstraints() |
{{CompatUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile | |
---|---|---|---|---|---|---|
Basic support | {{CompatUnknown}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} | |
|
{{CompatUnknown}} | {{CompatGeckoDesktop(34)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | |
muted , onmuted , onunmuted , readonly , readyState , remote , onstarted , onended , onoverconstrained , appendConstraint() , applyConstraints() , constraints() , getConstraints() |
{{CompatUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} |