Cannot Play Dash

64 views
Skip to first unread message

ejgp...@gmail.com

unread,
Jul 23, 2021, 9:58:04 PM7/23/21
to Ant Media Server
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)

Ant Media Support

unread,
Jul 24, 2021, 12:54:08 AM7/24/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
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.


--
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 https://groups.google.com/d/msgid/ant-media-server/f7cce443-f67f-457a-bf99-ad80c9e3e175n%40googlegroups.com.
44772:1264838

ejgp...@gmail.com

unread,
Jul 24, 2021, 8:26:03 AM7/24/21
to Ant Media Server
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,

Emmanuel Joseph Perion

unread,
Jul 24, 2021, 3:09:02 PM7/24/21
to Ant Media Support, ant-medi...@googlegroups.com
Yes, of course I did.

On Sun, Jul 25, 2021 at 2:00 AM Ant Media Support <sup...@antmedia.io> wrote:
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

ejgp...@gmail.com

unread,
Jul 24, 2021, 3:45:25 PM7/24/21
to Ant Media Server
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,

Ant Media Support

unread,
Jul 26, 2021, 2:42:43 PM7/26/21
to ejgp...@gmail.com, ant-medi...@googlegroups.com
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.

Reply all
Reply to author
Forward
0 new messages