voxeet / comms-sdk-react-native

Dolby.io Communications SDK for React Native
https://www.npmjs.com/package/@dolbyio/comms-sdk-react-native
MIT License
8 stars 0 forks source link

Unable to use @dolbyio/comms-sdk-react-native, @millicast/sdk and react-native-webrtc together #61

Open DannyBiezen opened 1 year ago

DannyBiezen commented 1 year ago

I am using the following packages in an Expo managed project:

When trying to create an expo - EAS build I get a lot of Duplicate class errors: image

I need to use both SDK's in my app, is this supported? If yes, what tweaks to the native code do I need to make to get this working?

FabienLavocat commented 1 year ago

Hi @DannyBiezen, today, both SDKs (Communications and Real-Time Streaming) are using the same dependency (webrtc) with different versions, so it creates a conflict. You will not be able to load the two SDKs in the same application unfortunately.

On the Millicast side, are you trying to publish or subscribe to a stream?

DannyBiezen commented 1 year ago

Thanks for your reply!

Currently we only need to use Millicast to subscribe to a stream. Having the ability to watch a real time stream and being able to join a video call is crucial to our app. Do you know if this issue will be worked on in the near-future?

FabienLavocat commented 1 year ago

Yes, this is something we are working on at the moment, I just don't have an ETA, but I'd be happy to discuss with you regarding your project and see if there is anything we can do in the meantime. Don't hesitate to reach out and we can discuss this on a call: fabien.lavocat @ dolby . com

DannyBiezen commented 1 year ago

That's great to hear! I'll only need to integrate with Dolby in a couple of weeks/months so will definitely reach out when I start to integrate the Dolby SDK. Thanks

FabienLavocat commented 1 year ago

Sounds good, if you want to discuss your project before starting the integration, send an email my way.

Drengel1990 commented 1 year ago

I have the same problem!!!

wt-mcare commented 1 year ago

Same problem for me on Expo with @dolbyio/comms-sdk-react-native 3.7.0 and react-native-webrtc 106.0.4 Dolbyio solution is working great but can't build with webrtc lib installed.