File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class RTCHeaderExtensionWeb {
7070class RTCRtpEncodingWeb {
7171 static RTCRtpEncoding fromJsObject (web.RTCRtpEncodingParameters object) {
7272 return RTCRtpEncoding .fromMap ({
73- 'rid' : object.getProperty <JSString ?>('rid' .toJS)? .toDart ,
73+ 'rid' : object.getProperty <JSString ?>('rid' .toJS). dartify () ,
7474 'active' : object.active,
7575 'maxBitrate' : object.getProperty <JSNumber ?>('maxBitrate' .toJS)? .toDartInt,
7676 'maxFramerate' :
@@ -81,7 +81,7 @@ class RTCRtpEncodingWeb {
8181 'scaleResolutionDownBy' : object
8282 .getProperty <JSNumber ?>('scaleResolutionDownBy' .toJS)
8383 ? .toDartDouble,
84- 'ssrc' : object.getProperty <JSString ?>('ssrc' .toJS)? .toDart
84+ 'ssrc' : object.getProperty <JSNumber ?>('ssrc' .toJS)? .toDartInt
8585 });
8686 }
8787}
You can’t perform that action at this time.
0 commit comments