This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

label

Summary

Returns the label of the object’s corresponding track, if any. If the corresponding track has or had no label, it returns the empty string.

Property of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack

Syntax

Note: This property is read-only.

var result = track.label;

Return Value

Returns an object of type StringString