What are the laws when it comes to recording police confrontations?

What are the laws when it comes to recording police confrontations?