message: fix: handle empty stream
  cherry pick and close
diff: @@ -297,6 +297,12 @@ export class VideoDialog {
  }
  private static stopStream(stream) {
  +
  + if (!stream) {
  + Log.warn('Could not stop stream. Stream is null.');
  + return;
  + }
  +
  if (typeof stream.getTracks === 'function') {
  let tracks = stream.getTracks();
  tracks.forEach(function(track) {
  