(Not a Teacher)
I don't really detect a difference in meaning between the past perfect and the progressive in your sentence.
However, in the context of a past narration, present perfect would suggest the action was completed, while the
progressive would suggest that the action was still ongoing.
- For Teachers