Best to look at the actual statute (and I'll emphasize that
what's being discussed has little relevance to the situation the OP described), but I agree that the nonconsensual publication of a recording to a site like YouTube would be a separate violation of the statute.
"Except as otherwise specifically provided in this subtitle it is unlawful for any person to:
(1) Willfully intercept, endeavor to intercept, or procure any other person to intercept or endeavor to intercept, any wire, oral, or electronic communication;
(2) Willfully disclose, or endeavor to disclose, to any other person the contents of any wire, oral, or electronic communication, knowing or having reason to know that the information was obtained through the interception of a wire, oral, or electronic communication in violation of this subtitle; or
(3) Willfully use, or endeavor to use, the contents of any wire, oral, or electronic communication, knowing or having reason to know that the information was obtained through the interception of a wire, oral, or electronic communication in violation of this subtitle."
Maryland Courts & Judicial Proceedings Code section 10-402(a).
"It is lawful under this subtitle for a person to intercept a wire, oral, or electronic communication where the person is a party to the communication and where all of the parties to the communication have given prior consent to the interception unless the communication is intercepted for the purpose of committing any criminal or tortious act in violation of the Constitution or laws of the United States or of this State."
Section 10-402(c)(3).