IDecodedPcmInterceptor Java 9+ support

Hello, we are able to use Java 17 with IDecodedFrameInterceptor however, we are not able to use the same Java version with IDecodedPcmInterceptor due to lack of module support and we are obliged to use only Java 8 with the "com.flashphoner.sdk.media" package. Is there a way to enable support of Java 9+for IDecodedPcmInterceptor? Current WCS version we are using is 5.2.1948.

Thanks,
P
 

Max

Administrator
Staff member
Good day.
We tested IDecodedPcmInterceptor building on Java 14+ as described here: Server audio processing. The example is built and run successfully. But the code cannot use Java 9+ language features because the server code is built with JDK 8.
So if you do not use a new language features and your code does not work please modify the example code minimally to reproduce the issue and send us the code using this form.
 
Good day.
We tested IDecodedPcmInterceptor building on Java 14+ as described here: Server audio processing. The example is built and run successfully. But the code cannot use Java 9+ language features because the server code is built with JDK 8.
So if you do not use a new language features and your code does not work please modify the example code minimally to reproduce the issue and send us the code using this form.
Thanks for an update. The thing is that we do use Java 9+ features hence will have to revert back to older code. What is baffling though, is that for some reason we are able to use Java 9+ features with the "com.flashphoner.frameInterceptor" package but we fail with the "com.flashphoner.sdk.media" package as was shown in the video.
 

Max

Administrator
Staff member
We raised the ticket WCS-4113 to investigate if IDecodedPcmInterceptor implementation can be placed to a separate package like IDecodedFrameInterceptor. Will let you know about progress here.
 

Max

Administrator
Staff member
We placed IDecodedPcmInterceptor implementation to a separate package com.flashphoner.pcmInterceptor, tested on JDK 12, 14, 17, 18. It seems to be working.
So we updated the example in documentation: Server audio processing. Please try to build it as described.
 
Top