Is there a way to capture audio when its played on headphones by using cordova


#1

i’m trying to capture audio when its played on headphones for my ionic application.i have tried cordova media pluggin,cordova media-capture.but audio only captured through microphone(unable to capture the audio played in phone’s headphones),is there way to solve this problem ?