Jump to content
  • 0

Cannot Play Dash


ejgperiongmail.com
 Share

Question

Hello,

I cannot make dash work,
I already made the following changes:

settings.dashMuxingEnabled=true

and restarted the server, but it seems to be still not working.

Console:

Server Log:
2021-07-24 01:52:52,502 [vert.x-eventloop-thread-5] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:21.386537643555933
2021-07-24 01:52:53,532 [vert.x-eventloop-thread-6] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:19.379373142911913
2021-07-24 01:52:53,536 [http-nio2-0.0.0.0-5080-exec-9] INFO  i.a.servlet.ChunkedTransferServlet - doPut done key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00006.m4s
2021-07-24 01:52:53,538 [http-nio2-0.0.0.0-5080-exec-7] INFO  i.a.servlet.ChunkedTransferServlet - doPut key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00007.m4s
2021-07-24 01:52:53,539 [http-nio2-0.0.0.0-5080-exec-1] ERROR o.a.c.c.C.[.[.0.0.0.[.[chunked-transfer-servlet] - Servlet.service() for servlet [chunked-transfer-servlet] in context with path [/LiveApp] threw exception
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at io.antmedia.filter.TokenFilterManager.getStreamId(TokenFilterManager.java:186)
        at io.antmedia.filter.TokenFilterManager.doFilter(TokenFilterManager.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
        at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1620)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1082)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:565)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:543)
        at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
        at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
        at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:829)

 

 

Screenshot_2.png.8ff9c951c9a488b7a473a51a6906691b.png

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0
Hello Emman,
Hope you are doing well.
​Please follow the following steps
open the application settings:
/usr/local/antmedia/webapps/WebRTCAppEE/WEB-INF/red5-web.properties

Enable Dash via
settings.dashMuxingEnabled=true

Save the new settings
Restart the ant media server
Open the publishing page and publish the stream:

Play Dash

Let me know how it goes.

--
Best Regards,
Mohit Dubey




 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Sat, 24 Jul at 4:58 AM , ejgperion@gmail.com <ejgperion@gmail.com> wrote:
Hello,

I cannot make dash work,
I already made the following changes:

settings.dashMuxingEnabled=true

and restarted the server, but it seems to be still not working.

Console:
Screenshot_2.png

Server Log:
2021-07-24 01:52:52,502 [vert.x-eventloop-thread-5] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:21.386537643555933
2021-07-24 01:52:53,532 [vert.x-eventloop-thread-6] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:19.379373142911913
2021-07-24 01:52:53,536 [http-nio2-0.0.0.0-5080-exec-9] INFO  i.a.servlet.ChunkedTransferServlet - doPut done key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00006.m4s
2021-07-24 01:52:53,538 [http-nio2-0.0.0.0-5080-exec-7] INFO  i.a.servlet.ChunkedTransferServlet - doPut key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00007.m4s
2021-07-24 01:52:53,539 [http-nio2-0.0.0.0-5080-exec-1] ERROR o.a.c.c.C.[.[.0.0.0.[.[chunked-transfer-servlet] - Servlet.service() for servlet [chunked-transfer-servlet] in context with path [/LiveApp] threw exception
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at io.antmedia.filter.TokenFilterManager.getStreamId(TokenFilterManager.java:186)
        at io.antmedia.filter.TokenFilterManager.doFilter(TokenFilterManager.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
        at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1620)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1082)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:565)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:543)
        at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
        at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
        at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:829)
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f7cce443-f67f-457a-bf99-ad80c9e3e175n%40googlegroups.com.
44772:1264838
Link to comment
Share on other sites

  • 0
Hi Emman,
Just to check it, did you play the Dash stream in the same application (LiveApp/WebRTCAppEE) in which you changed and saved the settings!
--
Best Regards,
Mohit Dubey 



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Sat, 24 Jul at 3:26 PM , ejgperion@gmail.com <ejgperion@gmail.com> wrote:
Hello,

I already followed the instructions here but to no avail:

I restarted the server also many times.

I posted the log above on what I get on the browser and server log.

Regards,

On Saturday, July 24, 2021 at 12:54:08 PM UTC+8 support wrote:
Hello Emman,
Hope you are doing well.
​Please follow the following steps
open the application settings:
/usr/local/antmedia/webapps/WebRTCAppEE/WEB-INF/red5-web.properties

Enable Dash via
settings.dashMuxingEnabled=true

Save the new settings
Restart the ant media server
Open the publishing page and publish the stream:

Play Dash

Let me know how it goes.

--
Best Regards,
Mohit Dubey




 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Sat, 24 Jul at 4:58 AM

Hello,

I cannot make dash work,
I already made the following changes:

settings.dashMuxingEnabled=true


and restarted the server, but it seems to be still not working.

Console:
Screenshot_2.png

Server Log:
2021-07-24 01:52:52,502 [vert.x-eventloop-thread-5] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:21.386537643555933
2021-07-24 01:52:53,532 [vert.x-eventloop-thread-6] INFO  i.a.AntMediaApplicationAdapter - update source quality for stream: 872286486638508586185025 quality:null speed:19.379373142911913
2021-07-24 01:52:53,536 [http-nio2-0.0.0.0-5080-exec-9] INFO  i.a.servlet.ChunkedTransferServlet - doPut done key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00006.m4s
2021-07-24 01:52:53,538 [http-nio2-0.0.0.0-5080-exec-7] INFO  i.a.servlet.ChunkedTransferServlet - doPut key:/usr/local/antmedia/webapps/LiveApp/streams/872286486638508586185025/872286486638508586185025_0segment00007.m4s
2021-07-24 01:52:53,539 [http-nio2-0.0.0.0-5080-exec-1] ERROR o.a.c.c.C.[.[.0.0.0.[.[chunked-transfer-servlet] - Servlet.service() for servlet [chunked-transfer-servlet] in context with path [/LiveApp] threw exception
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at io.antmedia.filter.TokenFilterManager.getStreamId(TokenFilterManager.java:186)
        at io.antmedia.filter.TokenFilterManager.doFilter(TokenFilterManager.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
        at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1620)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1082)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:565)
        at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:543)
        at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
        at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
        at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:829)

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.

To view this discussion on the web visit
.

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/e5c79255-a738-44d0-85ec-18dc4bb6c559n%40googlegroups.com.
44772:1264838
Link to comment
Share on other sites

  • 0

Hello,

For some reason, dash is working now. But latency is very big. 8 seconds.
Would you know what is the reason?

 

You can test using the URL I sent on the separate email, Application is LiveApp. 
We use the play.html to test hls and dash (&playOrder=dash). And we compare to webrtc on the dashboard stream list play button to check latency.

Regards,

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...