The black screen you're seeing in the built-in Camera app with H.264 video streams is likely due to a decoder issue.
- Make sure your Windows 10 is fully updated. Newer updates might include fixes for H.264 decoding issues in the Camera app. Go to Settings > Update & Security > Windows Update and check for updates.
- Outdated camera drivers can cause compatibility problems. Try updating your camera drivers.
- Installing third-party codec packs might seem like a solution, but they can introduce compatibility issues and security risks.