Closed mjkimloan closed 3 years ago
After changing the kotlin version it works fine.
Hi, @mjkimloan I'm having the same issue, what Kotlin version are you using to solve this issue?
@ronbarrera Hi !! We are using Kotlin version 1.4.32 and it has been confirmed that it does not work in later versions.
@mjkimloan thanks. I'm using 1.4.32 and it works.
@mjkimloan I was looking at the code and I was afraid to be stuck in 1.4.32. I was able to make it work kotlin_version: 1.5.30
Interesting enough, the code in SignalingListerner is as follow:
val messageHandler: MessageHandler = Whole<String> { message ->}
I changed to:
val messageHandler: object: Whole<string> { override fun onMessage(msg: String?) {msg?.let{}}}
and it worked. Hopefully, this helps.
@ronbarrera Thank You and it worked.
this problem in webrtcClient
In onError, session is null and the reason for Throwable is Cannot cast java.lang.ClassCastException: java.lang.Boolean to java.lang.String. Is there a solution? also, Is there any effect on org.glassfish.tyrus.bundles:tyrus-standalone-client version?