var peerIds = [String]()
var peersInfos: NSMutableDictionary!
self.peersInfos.addEntries(from: [peerId: ["videoView": NSNull(), "videoSize": NSNull(), "isAudioMuted": NSNull(), "isVideoMuted": NSNull()]])
let videoView = (self.peersInfos[peerId]?["videoView"])!
let videoSize = (self.peersInfos[peerId]?["videoSize"])!
let isAudioMuted = (self.peersInfos[peerId]?["isAudioMuted"])!
这是用 Swift 1 编写的应用程序的语法,Xcode 8 已将其转换为 Swift 3。它抛出一个错误,说“类型 Any 没有下标值”。我不知道如何解决这个问题,请帮助我!!!