Last year, I worked well with Antmedia Community version 1.2.x, I built android and iOS app to publish/play livestream as well.
Now, when i upgrade to version 1.6.1, I have some error:
(1). the android application request to server to publish new stream not successful: the first and second time of request (the third request from android app is OK), i receive error message: "Failed to start. Please check server url and security credentials.". In Antmedia-error.log, i see message:
org.apache.coyote.http11.Http11Processor service
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:421)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:667)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1690)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:936)
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:619)
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:597)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
(2) In Antmedia Webapp (port 5080), when I play livestream[ing], the page request to streamname_adaptive.m3u8, so that i can not play streaming (vod is okay) -> i think adaptive is for Enterprise Edtion only.
Question
Q1øBÜtP¹à6²PAó
Link to comment
Share on other sites
Top Posters For This Question
2
1
Popular Days
Mar 22
2
Mar 25
1
Top Posters For This Question
Q1øBÜtP¹à6²PAó 2 posts
Selim Emre 1 post
Popular Days
Mar 22 2019
2 posts
Mar 25 2019
1 post
2 answers to this question
Recommended Posts