Is there a way to disable insights logging for the SDK?

mpodsiadlo
edited June 7 in Video & WebRTC

This would be useful especially for P2P use cases where a developer wants to completely cut off data that's stored in our logs, as insights logging stores client browser information ,including IP address.

Tagged:

Answers

  • dtoomey
    dtoomey admin
    edited May 28

    Yes it is possible to disable the Twilio insights logging on the client SDKs. Obviously by disabling the logging it will make it harder for Twilio to troubleshoot video client SDK issues. The JavaScript SDK has an insights boolean in the ConnectOptions, see here.

    const { connect } = require('twilio-video'); 
    connect('$TOKEN', { name:'my-new-room', insights: false }).then(room => {...});
    

    A similar setting for the iOS SDK is documented here and for the Android SDK here.

If this is an emergency, please contact Twilio Support. This is not an official Support channel. https://support.twilio.com/
Have an urgent question?
Please contact Twilio Support. This is not an official Support channel.
Contact Support