Why platforms cut music during a live stream
Both big platforms scan live video automatically. Neither one knows or cares that the song is playing in a church in Folsom or a ballroom in Roseville; the system only hears a match.
YouTube. Its help page on live stream copyright says that when a stream contains third-party content, "a placeholder image may replace your live stream" and you get a warning. If the content keeps playing, the stream can be "temporarily interrupted or terminated," and your channel's live features can be restricted. YouTube also says a stream "can be interrupted even if you've licensed the third-party content," unless the rights owner has added your channel to an allowlist.
Facebook. Meta's music guidelines, as summarized by No Depression and Castr, permit "traditional live music performances" but recommend "shorter clips and fewer full-length recorded tracks." When Facebook detects copyrighted music it can mute it, and repeat problems can lead to videos being blocked or a page being removed.
How often does this happen? One streaming app maker, EventLive, reported that in its own test 7 of 8 songs were flagged and blocked on YouTube. That is one company's test, not a platform statistic, but it matches what most event streamers expect: popular recordings get caught.