ethand91 / mediasoup-ios-client-sample

Sample iOS mediasoup client sample
38 stars 13 forks source link

Class X is implemented in both mediasoup_client_ios and WebRTC. One of the two will be used. Which one is undefined. #8

Closed xplatsolutions closed 4 years ago

xplatsolutions commented 4 years ago

Hi,

I cloned the repo to start learning how to add the functionality in my project, started the sample-server, changed the webRtcTransport ip located in config.js and I received a lot of interesting output like the below.

objc[24770]: Class RTCAudioSession is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c108) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc1ee0). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCAudioSessionConfiguration is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c158) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc1f30). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCNativeAudioSessionDelegateAdapter is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c1a8) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc1f80). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCEncodedImage is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c220) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc1ff8). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCRtpFragmentationHeader is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c270) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc2048). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCVideoCapturer is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c298) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc2070). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCVideoCodecInfo is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c2e8) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc20c0). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCVideoEncoderQpThresholds is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c338) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc2110). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCVideoEncoderSettings is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c3b0) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc2188). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCVideoFrame is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c3d8) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc21b0). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCDispatcher is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c450) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc32b8). One of the two will be used. Which one is undefined.
objc[24770]: Class RTCCameraPreviewView is implemented in both /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/mediasoup_client_ios.framework/mediasoup_client_ios (0x10133c478) and /private/var/containers/Bundle/Application/5F08382E-32B9-4F06-B20A-7C9F2F72E50C/mediasoup-ios-cient-sample.app/Frameworks/WebRTC.framework/WebRTC (0x100cc32e0). One of the two will be used. Which one is undefined.

Local video view seems to be working fine but the remote video doesn't really show anything, is there any additional steps to take or the sample client assumes another instance will connect to the same room and remote video view will show the peer joined?

Here is the full output: Xcode: https://gist.github.com/xplatsolutions/21347e6d935d90329c070da8e5991ba3 Server: https://gist.github.com/xplatsolutions/f1dbf6a9b3eb8ccc62cad6de959a4b12

Happy to support and work with you improving the amazing work you have done! Thank you it is appreciated highly.

ethand91 commented 4 years ago

The framework duplicates are already reported here: https://github.com/ethand91/mediasoup-ios-client/issues/9

I'm not an expert in iOS so any help with the problem is appreciated.

Regarding the remote video not showing, it seems that the server is not throwing a new consumer request to the client, is the other end using the HTML page? Please check that the roomIds are the same.

xplatsolutions commented 4 years ago

I will investigate further this one, thank you for your responses.

I am eager to first integrate in a new project (solving this) and then continue debugging the client here.

ethand91 commented 4 years ago

Closed due to duplicate