This is somewhat easier than looking up the media type by iterating pc.getLocalStreams / pc.getRemoteStreams and all tracks. Temporary until stats get revamped to conform to the spec obviously. BUG=webrtc:4117 Review URL: https://codereview.webrtc.org/1307633007 Cr-Commit-Position: refs/heads/master@{#11412}