v2.1.1: "selectFirst" and "selectAll" added over "connection.streams"

var videoStream = connection.streams.selectFirst({ isVideo: true, local:
true });

var allRemoteStreams = connection.streams.selectAll({ remote: true });

connection.streams.selectAll({ userid: 'someone'
}).forEach(function(stream) {
connection.stopMediaStream(stream.stream);
});

"selectFirst" method allows you get first stream of specific kind or
userid.

"selectAll" method allows you get array-of-streams of specific kind or
userid.