Skip to main content

isSameStream

function isSameStream(stream1?, stream2?): undefined | boolean;

Compare the provided 2 streams to check if they are the same

Parameters

ParameterTypeDescription
stream1?MediaStreamthe stream to compare
stream2?MediaStreamthe stream to compare

Returns

undefined | boolean