MediaStreamTrack.id

MediaStreamTrack.id 읽기 전용 속성은 사용자 에이전트가 생성하는, 트랙의 전역 고유 식별자(GUID)를 담은 DOMString을 반환합니다.

구문

const id = track.id

명세

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrack.id' in that specification.
Candidate Recommendation Initial specification.

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
idChrome Full support YesEdge Full support 12Firefox Full support YesIE No support NoOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
No support  
No support

같이 보기