Category : java

I’m trying to delete a folder in a spring application. The method deleteRecursively() returns true, however, the folder still shows up on the disk, when I click it, it says it’s not accessible. The folder disappears only when I turn off the spring application. Is there anyway to solve this problem without turning the app ..

Read more

I’m using java kurento and generating offer like: WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).recvonly().build(); String kmsOffer = webRtcEndpoint.generateOffer(); sendToNativeWebrtcOffer( kmsOffer ). On webrtc c++ side I got error: No video codecs supported. (peer_connection.cc:5920): Failed to set remote video description send parameters for m-section with mid=’video0′. (INVALID_PARAMETER) (peer_connection.cc:3019): Failed to set remote offer sdp: Failed to set ..

Read more

I need to determine if the Windows version my java application is running on supports TLS v1.2. If this was plain java I could do something like Arrays.stream(SSLContext.getDefault().getSupportedSSLParameters().getProtocols()).anyMatch(e -> e.equals("TLSv1.2")), but I need to know what the OS supports, not what the JVM supports. I could install OpenSSL but I’d rather not rely on external ..

Read more