Ethan
Ethan
The OnProduce listener already returns a promise https://github.com/ethand91/mediasoup-ios-client/blob/master/mediasoup-client-ios/include/wrapper/TransportWrapper.h#L80 You would need to make it so that the callback is only called once. I'm assuming AlomaFire sends requests on a background...
>background thread is created and callback future is passed in another delegate Ok, now I understand. Thanks for the explanation. I'm assuming the below also fails? ``` func onProduce(_ transport:...
That's a lot of instances. Are you leaving the room only once or are you entering/exiting the room multiple times? Also on entering the room how many streams are you...
Thanks will look into when I get the time.
Can reproduce, will look into it.
Reduced quite a few of the leaks. However I am not able to reduce the leaks coming from the WebRTC framework. Will try to reduce the mediasoup leaks.
@MartinP7r Hello could you try version 1.5.4 and see if it reduces some of the leaks?
>First thing I realized with 1.5.4 I'm getting a Thread 1: EXC_BAD_ACCESS (code=1, address=0x1) error when trying to close the local producer with producer?.close() as the first action when leaving...
Since simulator doesn't support camera, at some point I would like to remove the simulator archs from the library. Yes xcframework does need to be supported... I just wish the...
>I think if you can create a serial queue to avoid blocking the main thread? As long as the method cannot be called twice at the same time it may...