Skip to content

Commit

Permalink
Fix android
Browse files Browse the repository at this point in the history
  • Loading branch information
logist322 committed Sep 29, 2023
1 parent 20a3b8a commit 62db576
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data class RtpTransceiverInit(
fun fromMap(map: Map<String, Any>): RtpTransceiverInit {
return RtpTransceiverInit(
RtpTransceiverDirection.fromInt(map["direction"] as Int),
(map["sendEncodings"] as Map<String, Map<String, Any>>).map { encoding ->
(map["sendEncodings"] as List<Map<String, Map<String, Any>>>).map { encoding ->
Encoding.fromMap(encoding.value)
})
}
Expand Down

0 comments on commit 62db576

Please sign in to comment.