Looking for phone to phone video sharing code

Hello.  I’m looking for open source code to share video from one phone to another remotely.  Kind of like the Haven app but a bit more flexible and mature.  Anyone have a suggestion?