A chroma key relies on good color sampling for a discussion of sampling types (4:1:1, 4:2:2, 4:2:0, 4:4:4 etc) see:
https://en.wikipedia.org/wiki/Chroma_subsampling
It may be possible to pull a good key from those cameras, but the specifications don’t indicate the video color sampling capabilities of either camera.
Any compressed video format or one with a long GOP would need to be transcoded before pulling a key in After Effects.
I’ve had some success with chroma keys using AVCHD footage from a Panasonic GH1 but I paid careful attention to lighting and did several tests before proceeding.