private boolean isWebRTC ( String transport , String userAgent ) { return "ws" . equalsIgnoreCase ( transport ) || "wss" . equalsIgnoreCase ( transport ) || userAgent . toLowerCase ( ) . contains ( "restcomm" ) ; }
Checks whether the client is WebRTC or not .