pnwebrtc/src/main/java/me/kevingleason/pnwebrtc/PnRTCClient.java
public void transmitAll(JSONObject message){
        List<PnPeer> peerList = this.pcClient.getPeers();
        for(PnPeer p : peerList){
            transmit(p.getId(), message);
        }
    }
public void transmitAll(JSONObject message){
        List<PnPeer> peerList = this.pcClient.getPeers();
        for(PnPeer p : peerList){
            transmit(p.getId(), message);
        }
    }
public void transmitAll ( JSONObject message ) { List < PnPeer > peerList = this . pcClient . getPeers ( ) ; for ( PnPeer p : peerList ) { transmit ( p . getId ( ) , message ) ; } }
Send a custom JSONObject user message to all peers.
@param message the JSON message to pass to all peers.
Send a custom JSONObject user message to all peers .