Real Time screen sharing

Hi everyone. Hope all are well.

I’m interested in making and app where two (or more) app users can collaborate, kind of like a shared screen. For example, person A draws on his own screen, and his motions and drawings show up realtime on person B’s screen.

I’m playing around with canvas, and wondered if there is a way to share in this manner.

Thanks!

Doug

That would be super difficult and require A LOT of Firebase read/writes. But if you wanted to try it, have the person drawings device send the position data to firebase and the other persons device could receive it and update to their canvas. It wouldnt be 100% realtime, but as close as possible. I would say do an update every 10 seconds.

2 Likes

You may be able to use realtime db add listener function and do this.

3 Likes

Thanks, that’s what I’m trying now.