100mslive / 100ms-flutter

Flutter Live Streaming, Video Conferencing SDK & Sample App
https://www.100ms.live/
MIT License
137 stars 68 forks source link

How can I use flutter_webrtc and hmssdk_flutter package together❓ #1775

Closed vaishnavijlk closed 3 months ago

vaishnavijlk commented 3 months ago

I have a requirement which I need to use these two packages together. I get this error when I try to run my application.

build.gradle: dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.22" implementation 'com.android.support:multidex:2.0.1' compileOnly 'com.github.jiangdongguo.AndroidUSBCamera:libausbc:3.3.3' implementation 'io.github.webrtc-sdk:android:114.5735.10' }

pubspec.yaml: flutter_webrtc: ^0.10.6 hmssdk_flutter: ^1.10.2

Screenshot 2024-05-30 at 2 44 01 PM
github-actions[bot] commented 3 months ago

Hello! Thank you for filing an issue.

Please include relevant logs or detailed description for faster resolutions.

We really appreciate your contribution!

Decoder07 commented 3 months ago

Hi @vaishnavijlk this is not possible since hmssdk_flutter internally uses native webrtc libraries. Can you please explain why do you need both the dependencies ?

vaishnavijlk commented 3 months ago

@Decoder07 , I have a requirement to stream stethoscope audio and usb camera (UVC camera) through webRTC, also want to use hmssdk_flutter for the video call feature. Any assistance would be greatly appreciated. Thank you!

ygit commented 3 months ago

@vaishnavijlk Using both hmssdk & WebRTC is not possible. Have you tried to send the stethoscope audio and usb camera inputs via a 100ms Room? We can get over a call to discuss more about this. Book a slot here: https://calendly.com/yogesh-singh-100ms/30min