getSenders method

  1. @override
Future<List<RTCRtpSender>> getSenders()
override

Unified-Plan.

Implementation

@override
Future<List<RTCRtpSender>> getSenders() async {
  var senders = jsutil.callMethod(_jsPc, 'getSenders', []);
  var list = <RTCRtpSender>[];
  senders.forEach((e) {
    list.add(RTCRtpSenderWeb.fromJsSender(e));
  });
  return list;
}