Hello, I want to make an improvement to this piece of code, storing initPublisher() in a variable to save the publisher instance and place it in the publisher state instead of a boolean. I'm having difficulties using the library because I don't have the publisher instance, I need to use the getRtcStatsReport method.
https://github.com/opentok/opentok-react-native/blob/25b3d09e0da9a365fb1c5a1e68640343ae9cbe1a/src/OTPublisher.js#L162
Hello, I want to make an improvement to this piece of code, storing initPublisher() in a variable to save the publisher instance and place it in the publisher state instead of a boolean. I'm having difficulties using the library because I don't have the publisher instance, I need to use the getRtcStatsReport method.