The trackIdentifier property of the RTCAudioSourceStats dictionary contains the id attribute of the associated MediaStreamTrack.
trackIdentifier
RTCAudioSourceStats
id
MediaStreamTrack
A string containing the value of the associated MediaStreamTrack.id.
MediaStreamTrack.id