Video streaming on a cube

I am not able to get a video streaming on a cube done entirely in c++. I declare a media player object, media file source object, media texture object, and use the open source function of the media player. If someone has done something similar where they have created a static mesh in code and streamed a video on the mesh using entirely code and no blueprints, please share any sample projects or leave a message so that I could reach out directly.

Thanks!