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 {
70
70
class RTCRtpEncodingWeb {
71
71
static RTCRtpEncoding fromJsObject (web.RTCRtpEncodingParameters object) {
72
72
return RTCRtpEncoding .fromMap ({
73
- 'rid' : object.getProperty <JSString ?>('rid' .toJS)? .toDart ,
73
+ 'rid' : object.getProperty <JSString ?>('rid' .toJS). dartify () ,
74
74
'active' : object.active,
75
75
'maxBitrate' : object.getProperty <JSNumber ?>('maxBitrate' .toJS)? .toDartInt,
76
76
'maxFramerate' :
@@ -81,7 +81,7 @@ class RTCRtpEncodingWeb {
81
81
'scaleResolutionDownBy' : object
82
82
.getProperty <JSNumber ?>('scaleResolutionDownBy' .toJS)
83
83
? .toDartDouble,
84
- 'ssrc' : object.getProperty <JSString ?>('ssrc' .toJS)? .toDart
84
+ 'ssrc' : object.getProperty <JSNumber ?>('ssrc' .toJS)? .toDartInt
85
85
});
86
86
}
87
87
}
You can’t perform that action at this time.
0 commit comments