Home delivery of marijuana and the idea of establishments where adults could use marijuana together in a social setting cleared their final regulatory hurdles Tuesday, though it will be months or more until either activity gets underway in Massachusetts.

The Cannabis Control Commission approved its latest regulations for the medical marijuana world as well as the adult-use or recreational industry and addressed one of the more controversial parts of the new rules — the requirement that people delivering marijuana record the transactions on body cameras and retain that footage — with compromise language.

The requirement that drivers wear a body camera any time they are outside their delivery vehicle — which is also required to have cameras — and record all transactions caught significant flak at public hearings on the proposed regulations this summer and commissioners have wrestled to find a balance between public safety and individual privacy rights.

"We depend on a good relationship with law enforcement. Our regulations, particularly our security regulations, reflect this," Commissioner Britte McBride said Tuesday. She added, "Here, we are faced with the challenge of balancing public safety concerns like robberies, which the use of body cameras are intended to deter, with individual privacy."

McBride and Commissioner Shaleen Title worked together to draft the new language, which McBride said "does not constrain law enforcement from responding to obtain video in emergency situations while also responding to constituencies we heard from that are apprehensive about infringement on their privacy."

Under the regulations approved Tuesday, body camera video of delivery transactions will be stored for at least 30 days and must be made available to law enforcement under certain circumstances. Licensees will be prohibited from sharing video with "any third party not explicitly authorized by these regulations to have access to that video footage except that a licensee ... shall make video footage available to a law enforcement officer acting in his or her official capacity pursuant to a validly issued court order or search warrant demonstrating probable cause."

Title said the compromise language strikes a balance between the concerns that police have about marijuana delivery — vehicles loaded with marijuana and up to $10,000 cash could be prime targets for robberies — and the worry that video of a state-legal transaction could be used against a consumer.

"There are very heavy security requirements for all of our businesses ... there are certain special concerns when you are delivering to consumers at home so we talked about body cameras. There was some concern raised by law enforcement that because of the potential for robberies that we would need to have body cameras," Title said. "What we decided is that if we are going to have body cameras, that footage is going to be protected ... no one will be able to go in and fish through that footage, and consumers should know that about their privacy."

CCC Chairman Steven Hoffman pointed out that the commission has made "substantive changes" to its plan for home delivery and social consumption since it first contemplated authorizing those activities in 2017 based on conversations with law enforcement. When it was putting its first set of regulations in place, the CCC initially included allowances for delivery and social consumption, but put those on hold as the governor and others said they were moving too quickly.

"We feel our feet are wet, it is the right thing to do," Hoffman said. "We feel like we have a good balance between trying to meet the will of the voters but recognizing that there are concerns from a public health and public safety standpoint, so we feel very strongly that we've tried to find the right balance around those issues."

The new recreational marijuana regulations were adopted with a handful of mostly minor changes by a 4-1 vote on Tuesday, with Commissioner Jennifer Flanagan casting the lone dissenting vote.

"I don't oppose the regulations, I think it's too early for social consumption and delivery," Flanagan, a former state senator, said. She added, "It's not that I have anything against it. I think that in time it's going to be appropriate to be in Massachusetts, but I think given, right now, two years after we began this agency, one year after we started licensing, it's early to do that."

The CCC on Tuesday also approved a new set of regulations for the medical marijuana industry by a unanimous vote.

Though the new regulations were approved Tuesday and will be officially published by the secretary of state's office in the coming weeks, Hoffman said it will take some time for the CCC to develop an application for delivery licenses and to begin approving those licenses.

"I think delivery is still going to take a while," he said. "But you'll see more action sooner on delivery than you will on social consumption."

The new CCC regulations authorize a pilot program for on-site consumption, but Hoffman said state lawmakers have to act before it can launch. Legislation to facilitate the pilot has been filed and is pending before the Committee on Cannabis Policy.

"It's going to take a while for social consumption," Hoffman said.

Cash As A 'Huge Problem'

On Monday, Gov. Charlie Baker weighed in on the idea of marijuana delivery drivers being required to wear body cameras, saying that he thought the CCC was "probably responding to the circumstance and the situation that they and the rest of the industry and the commission find themselves in" by building protections into its regulations.

But, the governor said, he would rather see the federal government ease banking restrictions for state-legal marijuana companies so consumers could pay for their delivery of marijuana by some electronic means, reducing the risk of robbery for the delivery person.

"I still think the first thing we need to do is — and we've had conversations with both Republicans and Democrats in Washington about this — is to take the cash, to the extent that we can, out of the system and have this treated the same way other industries deal with financial transactions," Baker told reporters Monday. He later added, "So I would much rather have this get fixed at the federal level so we don't have to worry about people walking around with $10,000 in cash, that's a huge problem."

Because marijuana remains wholly illegal at the federal level, businesses have struggled to find banks, most of which operate under federal regulations and with federal insurance, willing to accept them as customers.

The Republican governor, who opposed marijuana legalization but has been mostly hands-off as the CCC has implemented the law, said he has talked to Democrats and Republicans in Washington about the issue, as well as other governors who share his concern. Baker said he thinks Congress has the votes necessary to pass legislation that would allow marijuana companies to accept other forms of payment, like the Secure and Fair Enforcement (SAFE) Banking Act.

"I believe there are enough votes, Republicans and Democrats, in Congress and in the U.S. Senate that if that bill got to the floor it would pass and the president has said he would sign it," Baker said, though he did not specify which bill he was speaking about.

On Tuesday, Hoffman said he "completely agree[s]" with the governor.

"I am very hopeful that the federal government will approve banking for this industry," Hoffman, who has made banking for the marijuana industry a priority, said. "It will make it dramatically safer for all of us."

U.S. House Rules Committee chairman Rep. Jim McGovern of Worcester has previously predicted that the SAFE Act would pass the U.S. House "with an overwhelming vote, Democrats and a lot of Republicans as well."

Under the bill, federal banking regulators could not "prohibit, penalize, or otherwise discourage a depository institution from providing financial services to a cannabis-related legitimate business or service provider" and could not terminate or limit deposit insurance.

On Bloomberg Radio on Monday, McGovern predicted that the bill will come before the U.S. House "within the next few weeks and we will have a vote on it."