Skip to content

Commit 5c489db

Browse files
committed
Use toJS in RTCRtp receiver and sender
1 parent ddddf4d commit 5c489db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/rtc_rtp_receiver_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RTCRtpReceiverWeb extends RTCRtpReceiver {
3030
value.getProperty<JSString>('type'.toJS).toDart,
3131
value.getProperty<JSNumber>('timestamp'.toJS).toDartDouble,
3232
stats));
33-
}.jsify()
33+
}.toJS,
3434
]);
3535
return report;
3636
}

lib/src/rtc_rtp_sender_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class RTCRtpSenderWeb extends RTCRtpSender {
9898
value.getProperty<JSString>('type'.toJS).toDart,
9999
value.getProperty<JSNumber>('timestamp'.toJS).toDartDouble,
100100
stats));
101-
}.jsify()
101+
}.toJS,
102102
]);
103103
return report;
104104
}

0 commit comments

Comments
 (0)