Jump to content
  • 0

Reliable streaming


Dipesh Dulal
 Share

Question

Hello community, 

With a single streaming server instance. I have seen the server crash and all the stream viewers and streamers are interrupted. How can I maintain reliable streaming setup ? 

Do we require ant media cluster to make it reliable ? Or are there some settings that need to be used for the server ?  
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

Thank for the reply. 

This is a general question. For instance;

Exception in thread "vert.x-eventloop-thread-3" java.lang.NullPointerException
at org.webrtc.JniHelper.getStringBytes(JniHelper.java:25)
at org.webrtc.PeerConnection.nativeSetRemoteDescription(Native Method)
at org.webrtc.PeerConnection.setRemoteDescription(PeerConnection.java:927)
at io.antmedia.enterprise.adaptive.WebRTCEncoderAdaptor.lambda$setRemoteDescription$12(WebRTCEncoderAdaptor.java:1535)
at io.antmedia.enterprise.adaptive.WebRTCEncoderAdaptor.lambda$executeOnSignallingThread$17(WebRTCEncoderAdaptor.java:1951)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)

#
# Fatal error in: gen/sdk/android/generated_external_classes_jni/../../../../../../sdk/android/src/jni/jni_generator_helper.h, line 85
# last system error: 0
# Check failed: !env->ExceptionCheck()

I have been receiving this error that crashes the ant media server instance Enterprise Edition 2.3.2 20210422_0456. In previous version it was some other problem. 

So I am not talking about exact problem but to improve availability of the system and make it work even in case of crashes. Eg; 
Publisher A is publishing the stream, Viewers are watching the stream suddenly server crashes all of them are disconnected and provides bad user experience.

We want to prevent disconnection in case server crashes. (Or improve availability of the server)  ‍♂️ 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...