8000 Multiple peers? · Issue #245 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

Multiple peers? #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kbrmimbyl opened this issue May 1, 2020 · 9 comments
Closed

Multiple peers? #245

kbrmimbyl opened this issue May 1, 2020 · 9 comments
Labels

Comments

@kbrmimbyl
Copy link

Hi, is it possible to have multiple-peers talking to one another using flutter-webrtc and flutter-webrtc-server? I'm trying to build something like the now "hot" Clubhouse.

@darwin-morocho
Copy link

yes its posible you need create a peer for each users

@surveshoeb
Copy link

@darwin-morocho can elaborate it more?

@surveshoeb
Copy link

@darwin-morocho is it possible for you to share this flutter project?

@kbrmimbyl
Copy link
Author

Hey, @darwin-morocho, maybe a very stupid question... what's the widget to play only the audio? RTCVideoView renders both video and audio, but I don't want video....

@ycherniavskyi
Copy link
Member
ycherniavskyi commented May 12, 2020

@kbrmimbyl please do not mess unrelated questions in one issue - create a new one instead.

@OmarHassanT
Copy link

Hey, @darwin-morocho, maybe a very stupid question... what's the widget to play only the audio? RTCVideoView renders both video and audio, but I don't want video....
in signaling.dart you can edit mediaConstraints to be like this
final Map<String, dynamic> mediaConstraintsAudio = {
'audio': true,
'video':false
};

@jajangjayus
Copy link

Hi, I try implement multiple peers in my apps, but I'm facing error when created 5 or 6 pairs

Plugin version:
0.2.8

Describe the bug:
Some devices Force Close, tested on Xiaomi Redmi Note 4X(Android N, Version 7.0) and Xiaomi Redmi S (Android O, Version 8.0)

Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V10.2.3.0.NCFMIXM:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 6640, tid: 6858, name: DecodingQueue - >>> com.desktopip.dipwebrtc <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 00001aca r2 00000006 r3 00000008
r4 af4ad978 r5 00000006 r6 af4ad920 r7 0000010c
r8 af4ad57c r9 00000008 sl bf476174 fp b5965c00
ip 00000000 sp af4ad508 lr e8b062c7 pc e8b08b48 cpsr 200f0010

backtrace:
#00 pc 00049b48 /system/lib/libc.so (tgkill+12)
#1 pc 000472c3 /system/lib/libc.so (pthread_kill+34)
#2 pc 0001d565 /system/lib/libc.so (raise+10)
#3 pc 000190b1 /system/lib/libc.so (__libc_android_abort+34)
#4 pc 00017114 /system/lib/libc.so (abort+4)
#5 pc 000f9d35 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#6 pc 000f8017 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#7 pc 0023c879 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#8 pc 0023cba9 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#9 pc 0023ca31 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#10 pc 0024af4d /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#11 pc 0035a53f /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#12 pc 00361b97 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#13 pc 0036fa1f /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#14 pc 0036fd03 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#15 pc 0014d18d /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#16 pc 0030f7db /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#17 pc 0014d077 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#18 pc 000feb45 /data/app/com.desktopip.dipwebrtc-1/lib/arm/libjingle_peerconnection_so.so
#19 pc 00046d93 /system/lib/libc.so (ZL15_pthread_startPv+22)
#20 pc 00019afd /system/lib/libc.so (__start_thread+6)

Platform information:
[✓] Flutter (Channel dev, 1.20.0-3.0.pre, on Mac OS X 10.14.6 18G4032, locale en-US)
• Flutter version 1.20.0-3.0.pre at /Users/documentator/Desktop/DevFlutter/flutter
• Framework revision 0af027f805 (2 months ago), 2020-07-04 12:19:20 -0700
• Engine revision a751393804
• Dart version 2.9.0 (build 2.9.0-20.0.dev 22da8934ac)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
• Android SDK at /Users/documentator/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.1

[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.14.1

[✓] Connected device (1 available)
• RMX2020 (mobile) • 69855SAQTKK7PVVW • android-arm64 • Android 10 (API 29)

• No issues found!

Screenshot
image

@stale
Copy link
stale bot commented Feb 7, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 7, 2021
@stale stale bot closed this as completed Feb 14, 2021
@naveenbharadwaj19
Copy link

Any update ? #698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants
0