How to integrate the decompressing jpg data of a camera into a ue4 media player asset?

Hi, I’m using Canon EDSDK for an application in UE4 C++. I managed to start a live view of the camera in which the obtained data will be decompressed in jpg images that will be the input of a media player asset. Since I’m using composure, I need to stick to a media player asset because any other texture will not work. So, is it possible to include these generated jpg images to a media player asset in c++ code?