         if container.contains(.configuration) {
             configuration = try container.decode(Configuration.self,
                                                  forKey: .configuration)
+        } else {
+            configuration = nil
         }
     }
     


public struct SignalingNotifyMessage {
    
    public var eventType: SignalingEventType
    public var role: SignalingRole
    public var connectionTime: Int
    public var connectionCount: Int
    public var publisherCount: Int
    public var subscriberCount: Int
    
}


public struct SignalingOfferMessage {
    
    public struct Configuration {
        public let iceServerInfos: [ICEServerInfo]
        public let iceTransportPolicy: ICETransportPolicy
    }
    
    public let clientId: String
    public let sdp: String
    public let configuration: Configuration?
    
}

