1

I'm seeing this error and I'm not sure where it's coming from. I am using cast v3 sdk in Chrome, the call stack includes cast_sender.js onMessage function. I believe it is happening after the receiver issues a broadcastStatus media message.

Has anyone seen this error message in the web console: "The map has changed since the iterator was created"?

Liam Schauerman
  • 851
  • 5
  • 10
  • This happens to me when trying to requestSessionById after the being notified that receiver is available. I've still havent figured it out. – Shai Kimchi Feb 18 '18 at 05:51
  • If you can reproduce, file an issue: https://issuetracker.google.com/issues?q=componentid:190205%20status:open&s=modified_time:desc – Leon Nicholls Feb 27 '18 at 19:34
  • @Leon Nicholls I filed 2 issues. (Sorry) https://issuetracker.google.com/issues/141903675 https://issuetracker.google.com/issues/143015206 (Wanted to include some extra info, but couldn't comment, so I created another issue, and found out I can't delete either. Sorry.) – Lindsay-Needs-Sleep Oct 20 '19 at 19:33

1 Answers1

0

Happens to me in the following code:

session.addUpdateListener(function listener (isAlive) { 
    // This is what causes the error
    session.removeUpdateListener(listener);
});

It only happens when I have session.removeUpdateListener(listener);
I guess it's unhappy that I removed the listener.

Maybe it is the same kind of thing for you?

Lindsay-Needs-Sleep
  • 1,304
  • 1
  • 15
  • 26