         
     }
     
-    private func socketConnect(serverUrl: String, roomId: String){
+    private func socketConnect(serverUrl: String, roomId: String, params:[String: String]?){
         
         guard delegate != nil else {
             assertionFailure("RTCClient:Not initialized, please call rtcClient.initialize(delegate)")

                        localMediaStream?.addVideoTrack(localVideoTrack!)
                        
                        delegate.rtcClientDidSetLocalMediaStream(client: self, authorized: true, audioOnly: RTCClientConfig.audioOnly)
                        self.socketConnect(serverUrl: serverUrl, roomId: roomId)
                    }else{
                        print("RTCClient:Initialize:Camera unavailable on this device");
                        delegate.rtcClientDidSetLocalMediaStream(client: self, authorized: false, audioOnly: RTCClientConfig.audioOnly)

    // Utility properties
    // fileprivate var peerConnections:[RTCPeerConnection] = []
    
    public func connect(serverUrl:String, roomId: String, delegate: RTCClientDelegate, params: [String: String]?){
        
        if !sessionReady {
            reset()
