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
I used Wowza video to test this library but the result returned null. Please help me resolve this error
connection error
java.io.IOException: Unimplemented message type: null
at com.pedro.rtmp.rtmp.message.RtmpMessage$Companion.getRtmpMessage(RtmpMessage.kt:68)
at com.pedro.rtmp.rtmp.CommandsManager.readMessageResponse(CommandsManager.kt:129)
at com.pedro.rtmp.rtmp.RtmpClient.handleMessages(RtmpClient.kt:331)
at com.pedro.rtmp.rtmp.RtmpClient.access$handleMessages(RtmpClient.kt:52)
at com.pedro.rtmp.rtmp.RtmpClient$connect$1.invokeSuspend(RtmpClient.kt:236)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
This is my code
binding.openGLView.getHolder().addCallback(new SurfaceHolder.Callback() { @OverRide
public void surfaceCreated(@nonnull SurfaceHolder holder) {
rtmpCamera1 = new RtmpCamera1(binding.openGLView, connectChecker);
if (rtmpCamera1.prepareAudio() && rtmpCamera1.prepareVideo()) {
rtmpCamera1.startStream("rtmp://34e9e8b0b30e.entrypoint.cloud.wowza.com/app-3499l84G");
} else {
}
}
@Override
public void surfaceChanged(@NonNull SurfaceHolder holder, int format, int width, int height) {
}
@Override
public void surfaceDestroyed(@NonNull SurfaceHolder holder) {
if (rtmpCamera1 != null) {
rtmpCamera1.stopStream();
rtmpCamera1.stopPreview();
}
}
});
The text was updated successfully, but these errors were encountered:
Are you sure that the URL is correct?
You normally need indicate a stream name like:
rtmp://34e9e8b0b30e.entrypoint.cloud.wowza.com/app-3499l84G/stream name
If the problem is not solved you can share me info to connect to your server by email and I can test it
I used Wowza video to test this library but the result returned null. Please help me resolve this error
connection error
java.io.IOException: Unimplemented message type: null
at com.pedro.rtmp.rtmp.message.RtmpMessage$Companion.getRtmpMessage(RtmpMessage.kt:68)
at com.pedro.rtmp.rtmp.CommandsManager.readMessageResponse(CommandsManager.kt:129)
at com.pedro.rtmp.rtmp.RtmpClient.handleMessages(RtmpClient.kt:331)
at com.pedro.rtmp.rtmp.RtmpClient.access$handleMessages(RtmpClient.kt:52)
at com.pedro.rtmp.rtmp.RtmpClient$connect$1.invokeSuspend(RtmpClient.kt:236)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
This is my code
binding.openGLView.getHolder().addCallback(new SurfaceHolder.Callback() {
@OverRide
public void surfaceCreated(@nonnull SurfaceHolder holder) {
rtmpCamera1 = new RtmpCamera1(binding.openGLView, connectChecker);
if (rtmpCamera1.prepareAudio() && rtmpCamera1.prepareVideo()) {
rtmpCamera1.startStream("rtmp://34e9e8b0b30e.entrypoint.cloud.wowza.com/app-3499l84G");
} else {
}
}
The text was updated successfully, but these errors were encountered: