You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue only occurs if you are using this library to play a wav audio in a webview of jdk1.8 javafx via js audio API. like:
var audio = new Audio();
audio.src = "http://127.0.0.1:8080/ld45happy.mp3";
audio.play();
//and in the java server side :
return newFixedLengthResponse(Status.OK,"audio/x-wav", new ByteArrayInputStream(WavData), WavData.length);
In the webview of jdk1.8 javafx , no audio will be played :
This issue only occurs if you are using this library to play a wav audio in a webview of jdk1.8 javafx via js audio API. like:
In the webview of jdk1.8 javafx , no audio will be played :
To solve this, I just need to add a line in Response.java,line#313:
The if-check had been there before a45eb0e . And after the introduce of gzip support , it was gone.
Although this little issue does not seem to occur in other browsers , I think it's better to and the if-check back.
The text was updated successfully, but these errors were encountered: