simplewebrtc / SimpleWebRTC

Simplest WebRTC ever
Other
4.66k stars 1.19k forks source link

update local state + sendDirectlyToAll #718

Open joshuar500 opened 6 years ago

joshuar500 commented 6 years ago

So I notice that when I call sentDirectlyToAll, anything that happens inside of that channel message is only executed on the receiver's side.

Is there any way to execute what's inside of the channel message for the person that makes this call without adding unnecessary duplicate code?

JakeTrock commented 6 years ago

This is most likely off-topic for this thread, but mods should make better docs for senddirectlytoall, and in general