-
|
Hi, I’m currently exploring SRT usage on Android and have a couple of questions:
Any guidance or examples would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hi @pedroSG94 , Could you please take a look at this? Here is the code: private var srtUrl: String = "srt://192.168.1.8:9991?latency=100&mode=listener"
try {
genericStream.startStream(srtUrl)
} catch (ex: Exception) {
Log.e(TAG, "startStream: Exception during startStream with endpoint: ${getMainServer()}", ex)
Toast.makeText(
baseContext,
baseContext.getString(com.nabiapp.overlay.R.string.error_start_stream),
Toast.LENGTH_SHORT
).show()
}And this is the error: Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Hello, This library can't do it. Only push is supported. |
Beta Was this translation helpful? Give feedback.
Hello,
Currently it is not supported and I don't know a library to do it.
I recommend you migrate to webRTC if you want do video calls because SRT is not designed for it.
webRTC can be used in all platforms and is specially designed for it. It is the library used by apps like Google Meet or Discord