Thank you Luis. I'll change the MediaStream API and add a mute() method. I would like to change the tutorial 3 in order to introduce the concept of "muting" the master. I think that it's better to mute than to dispose all WebRtcPeers and create then again.
I've changed the tutorial 3 in order to permit the viewer to join a session by ID. In this case, I can create the media pipeline when the viewer join a session, even when there is no master yet. When the master join the session by ID, I connect the master webrtcendpoint to viewers webrtsendpoints. It's working fine.
Question: how does Media Server garbage collector works? Suppose that the media pipeline is created in MS, and there is no media stream after a long time.