Open hrxiang opened 3 years ago
_sfu?.publish(localStream1); localStream1.unpublish(); _sfu?.publish(localStream2);
_sfu?.publish(localStream1);
localStream1.unpublish();
_sfu?.publish(localStream2);
27416): [ion-sdk-flutter] ERROR: onnegotiationneeded: e => Bad state: Too many elements #0 ListMixin.singleWhere (dart:collection/list.dart:191:11) I/flutter (27416): #1 CodecCapabilitySelector._mline (package:flutter_ion/src/utils.dart:97:18) I/flutter (27416): #2 CodecCapabilitySelector.getCapabilities (package:flutter_ion/src/utils.dart:69:17) I/flutter (27416): #3 Client.setPreferredCodec (package:flutter_ion/src/client.dart:231:24) I/flutter (27416): #4 Client.onnegotiationneeded (package:flutter_ion/src/client.dart:217:9) I/flutter (27416): I/flutter (27416): #5 Client.publish (package:flutter_ion/src/client.dart:127:5) I/flutter (27416): I/flutter (27416): #6 RoomController.join. (package:room/pages/room_page.dart:208:11) I/flutter (27416): I/flutter (27416): v=0 I/flutter (27416): o=- 4428287673785843710 5 IN IP4 127.0.0.1 I/flutter (27416): s=- I/flutter (27416): t=0 0 I/flutter (27416): a=group:BUNDLE 0 1 3
_sfu?.publish(localStream1);
localStream1.unpublish();
_sfu?.publish(localStream2);
27416): [ion-sdk-flutter] ERROR: onnegotiationneeded: e => Bad state: Too many elements #0 ListMixin.singleWhere (dart:collection/list.dart:191:11) I/flutter (27416): #1 CodecCapabilitySelector._mline (package:flutter_ion/src/utils.dart:97:18) I/flutter (27416): #2 CodecCapabilitySelector.getCapabilities (package:flutter_ion/src/utils.dart:69:17) I/flutter (27416): #3 Client.setPreferredCodec (package:flutter_ion/src/client.dart:231:24) I/flutter (27416): #4 Client.onnegotiationneeded (package:flutter_ion/src/client.dart:217:9) I/flutter (27416):
I/flutter (27416): #5 Client.publish (package:flutter_ion/src/client.dart:127:5)
I/flutter (27416):
I/flutter (27416): #6 RoomController.join. (package:room/pages/room_page.dart:208:11)
I/flutter (27416):
I/flutter (27416): v=0
I/flutter (27416): o=- 4428287673785843710 5 IN IP4 127.0.0.1
I/flutter (27416): s=-
I/flutter (27416): t=0 0
I/flutter (27416): a=group:BUNDLE 0 1 3