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

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.



  • 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.

Sign In or Register to comment.