EmbeddedMediaPlayer Not Displaying Warning Dialogs
Posted: 22 Feb 2021 16:44
I am currently using the latest VLCJ(4.7)/VLC(3.0.12) to play multiple network video streams inside of a Java application on Windows. I am using HTTPS/TLS to create the initial video streams, and have the certificates working well to create the connections. Everything is mostly working as expected.
However, when I need to swap/renew one of the SSL certificates for one of the out put streams, my embeddedMediaPlayer instance that was playing that stream would not play the stream. I then opened a VLC window using the VLC GUI, and attempted to connect to the same stream When I did that, I received a warning message telling me that the certificate for the host had changed, and that I would have to accept the certificate. That was fine, since I replaced the certificate myself, but the issue Is that I was not able to receive that message, or accept the new cert when using an embeddedMediaPlayer instance inside of my Java application.
Is there a setting/parameter/option that I might be missing that would allow those messages to be displayed when using embeddedMediaPlayer?
Thanks!
Dan Y
However, when I need to swap/renew one of the SSL certificates for one of the out put streams, my embeddedMediaPlayer instance that was playing that stream would not play the stream. I then opened a VLC window using the VLC GUI, and attempted to connect to the same stream When I did that, I received a warning message telling me that the certificate for the host had changed, and that I would have to accept the certificate. That was fine, since I replaced the certificate myself, but the issue Is that I was not able to receive that message, or accept the new cert when using an embeddedMediaPlayer instance inside of my Java application.
Is there a setting/parameter/option that I might be missing that would allow those messages to be displayed when using embeddedMediaPlayer?
Thanks!
Dan Y