--- title: MediaStreamTrack.id slug: Web/API/MediaStreamTrack/id tags: - Media Capture and Streams - MediaStreamTrack - Property - Read-only - Reference - WebRTC translation_of: Web/API/MediaStreamTrack/id ---
MediaStreamTrack.id
읽기 전용 속성은 {{glossary("user agent", "사용자 에이전트")}}가 생성하는, 트랙의 전역 고유 식별자(GUID)를 담은 {{domxref("DOMString")}}을 반환합니다.
const id = track.id
Specification | Status | Comment |
---|---|---|
{{ SpecName('Media Capture', '#dom-mediastreamtrack-id', 'MediaStreamTrack.id') }} | {{ Spec2('Media Capture') }} | Initial specification. |
{{Compat("api.MediaStreamTrack.id")}}