Players use /stream to allow spectators; others use /spectate <player>. /endstream or disconnect ends the stream.