treamType} stream`, 'info');
        };

        client.onBatonSent = (value, streamType) => {
          log(`Sent baton ${value} on ${streamType} stream`, 'info');
        };

        client.onDatagramReceived = (value) => {
          log(`Received datagram with baton ${value}`, 'info');
        };

        client.onDatagramSent = (value) => {
          log(`Sent datagram with baton ${value}`, 'info');
        };

        client.onComplete = () => {
          log('Protocol complete!', 'success');
         