Can I record a video while my iPhone is connected to Apple CarPlay?

I have iPhone XS (IOS12.1.2, the latest), and I found out that I can't record a video while my phone is connected to my car to use Apple CarPlay. Recording screen was just blinking. Anyone has a same problem or is it just because of safety issue?

Watsbgrw

Myieafvv

Qqatlesg

Igbhesgk

More than likely CarPlay use disabled the camera use. The intent is to prevent interaction with the phone while driving.