Gun mounted camera

Gun mounted camera would be cool for hunting and/or Law enforcement use. The options out there are rather expensive.