DEV Community

Discussion on: [Idea] Screen Sharing application using electronjs and pusher

Collapse
 
akshatbhargava123 profile image
Akshat

Thank you, will there be high delays if both parties are at good internet?

Collapse
 
kayis profile image
K

It's one TCP package to the Pushe servers and one back to your other client.

If both have a ping of 50, which I'd consider good, the delay would at least be 100, but Pusher says you should only send 10 client events per second, so this should fit.

But I guess you're stuck with max 10fps, most of the time even less.

Thread Thread
 
defman profile image
Sergey Kislyakov

You don't have to send frames, you can send chunks. That, of course, will add a delay = time length of a chunk.