* My Mac went to sleeping while streaming, and the video/audio playback stopped. How do I fix that?

To fix this very problem, please go to System Preferences first.

Then select Energy Saver, and make sure these two options are selected: "Prevent computer from sleeping automatically when the display is off" and "Wake for Wi-Fi network access". And the option "Put hard disks to sleep when possible" is off.