File tree Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,10 @@ packages:
141141 dependency: "direct main"
142142 description:
143143 name: dart_webrtc
144- sha256: "8565f1f1f412b8a6fd862f3a157560811e61eeeac26741c735a5d2ff409a0202 "
144+ sha256: "5b76fd85ac95d6f5dee3e7d7de8d4b51bfbec1dc73804647c6aebb52d6297116 "
145145 url: "https://pub.dev"
146146 source: hosted
147- version: "1.5.3"
147+ version: "1.5.3+hotfix.2 "
148148 dbus:
149149 dependency: transitive
150150 description:
@@ -220,10 +220,10 @@ packages:
220220 dependency: "direct main"
221221 description:
222222 name: flutter_webrtc
223- sha256: "4f0d6e248f178e617f249b6a2f432b5981e3300c2896fc8d476fc2aa1f525547"
223+ sha256: e84ca404ef4b0d07a0fcd676b15814fabd5bc08e8d4b8dd8b634f76beab1bb50
224224 url: "https://pub.dev"
225225 source: hosted
226- version: "0.13.1 "
226+ version: "0.14.0 "
227227 glob:
228228 dependency: transitive
229229 description:
@@ -328,6 +328,14 @@ packages:
328328 url: "https://pub.dev"
329329 source: hosted
330330 version: "1.16.0"
331+ mime_type:
332+ dependency: "direct main"
333+ description:
334+ name: mime_type
335+ sha256: d652b613e84dac1af28030a9fba82c0999be05b98163f9e18a0849c6e63838bb
336+ url: "https://pub.dev"
337+ source: hosted
338+ version: "1.0.1"
331339 mockito:
332340 dependency: "direct dev"
333341 description:
@@ -353,7 +361,7 @@ packages:
353361 source: hosted
354362 version: "2.2.0"
355363 path:
356- dependency: transitive
364+ dependency: "direct main"
357365 description:
358366 name: path
359367 sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
@@ -593,10 +601,10 @@ packages:
593601 dependency: transitive
594602 description:
595603 name: webrtc_interface
596- sha256: e92afec11152a9ccb5c9f35482754edd99696e886ab6acaf90c06dd2d09f09eb
604+ sha256: "86fe3afc81a08481dfb25cf14a5a94e27062ecef25544783f352c914e0bbc1ca"
597605 url: "https://pub.dev"
598606 source: hosted
599- version: "1.2.2+hotfix.1 "
607+ version: "1.2.2+hotfix.2 "
600608 win32:
601609 dependency: transitive
602610 description:
Original file line number Diff line number Diff line change @@ -248,7 +248,8 @@ class FrameCryptor {
248248 this .codec = codec;
249249 }
250250 var transformer = web.TransformStream ({
251- 'transform' : operation == 'encode' ? encodeFunction : decodeFunction
251+ 'transform' :
252+ (operation == 'encode' ? encodeFunction.toJS : decodeFunction.toJS)
252253 }.jsify () as JSObject );
253254 try {
254255 readable
@@ -363,7 +364,7 @@ class FrameCryptor {
363364 controller.enqueue (frameObj);
364365 }
365366
366- Future < void > encodeFunction (
367+ void encodeFunction (
367368 JSObject frameObj,
368369 web.TransformStreamDefaultController controller,
369370 ) async {
@@ -471,7 +472,7 @@ class FrameCryptor {
471472 }
472473 }
473474
474- Future < void > decodeFunction (
475+ void decodeFunction (
475476 JSObject frameObj,
476477 web.TransformStreamDefaultController controller,
477478 ) async {
You can’t perform that action at this time.
0 commit comments