Using still image for a media stream track

I’d like to transmit a users avatar (png image) as the video track if they have turned-off their camera.
I can’t work out how to do it - in theory, I need to create a new MediaStream Track and add the image data as the source but I’ve not found a way of doing this.

Has anyone got any ideas?
Thanks

Without alterations to the module or without something like insertable streams being implemented, don’t think it would be possible currently :thinking:

Would be easier to just implement an image view which you give a url.
If the user avatars aren’t stored online then you could transfer the data via data channels.

Thanks @8BallBomBom. No problem at all - I’ll investigate other solutions using the data channel.