AntMedia Live Stream And Mevo RTMP

326 views
Skip to first unread message

Nathan Curtis

unread,
Feb 11, 2022, 10:22:51 AM2/11/22
to Ant Media Server
I am currently working with using some mevo cameras and their android app (have tried the ios app as well) to stream a live feed using rtmp. I have verified and tried multiple times and receive an error stating that there was an error connecting to the rtmp server.

From the same device I am able to use Larix broadcaster to connect to the same rtmp server and there are no issues.

Here are the logs that I see on the server when I try to connect using the Mevo app ( I have removed the stream id and replaced with an x) - any help would be great.

2022-02-11 15:11:57,770 [NioProcessor-16] INFO  o.r.s.n.r.codec.RTMPProtocolDecoder - Stream send: @setJunkData
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] ERROR io.antmedia.muxer.MuxAdaptor - Total max time(3000) is spent to determine video and audio existence for stream:x. It's skipped waiting
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  io.antmedia.muxer.MuxAdaptor - Streams for x enableVideo:false enableAudio:false total spend time: 3001 elapsed frame timestamp:0 stop request exists: false
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] ERROR io.antmedia.muxer.MuxAdaptor - There is no video and audio in the incoming stream: x closing rtmp connection
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  o.r.s.stream.ClientBroadcastStream - Stream stop: x
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  io.antmedia.muxer.MuxAdaptor - Calling stop for x input queue size:3002
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  o.r.s.stream.ClientBroadcastStream - Stream close: x
2022-02-11 15:11:57,770 [NioProcessor-16] INFO  o.r.s.n.r.codec.RTMPProtocolDecoder - Stream send: @setJunkData
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  o.r.s.stream.ClientBroadcastStream - Checking mux adaptor to stop x
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  o.r.s.stream.ClientBroadcastStream - Mux Adaptor stop called x
2022-02-11 15:11:57,770 [vert.x-worker-thread-61] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:stream x-event:unpublish c-ip:66.172.221.146 cs-bytes:6223091 sc-bytes:3792 x-sname:ff015bb3-5c6f-473c-95f3-931150616f6f x-file-length:3 x-name:x
2022-02-11 15:11:57,771 [NioProcessor-16] INFO  o.r.s.n.r.codec.RTMPProtocolDecoder - Stream send: @setJunkData
2022-02-11 15:11:57,771 [vert.x-worker-thread-61] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:session x-event:disconnect c-ip:66.172.221.146 c-client-id:57
2022-02-11 15:11:57,771 [NioProcessor-16] INFO  o.r.s.net.rtmp.RTMPMinaConnection - Connection is closed: BFSPPJV6HQGZN
2022-02-11 15:11:57,771 [NioProcessor-16] WARN  o.r.s.net.rtmp.RTMPMinaIoHandler - Connection was not found for BFSPPJV6HQGZN
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - Stop request exists for stream:x
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] WARN  io.antmedia.muxer.MuxAdaptor - closing adaptor for x
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - close resources for streamId -> x
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - Cancelling packet poller task(id:19259) for streamId: x
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] WARN  io.antmedia.muxer.HLSMuxer - HLSMuxer trailer is returning because it's not correct state. Isrunning: false, outputformatContext: null
2022-02-11 15:11:57,779 [vert.x-worker-thread-28] WARN  io.antmedia.muxer.MuxAdaptor - closed adaptor for x
2022-02-11 15:11:57,779 [vert.x-worker-thread-4] INFO  i.a.AntMediaApplicationAdapter - Closing broadcast stream id: x
2022-02-11 15:11:57,780 [vert.x-worker-thread-4] INFO  i.antmedia.statistic.HlsViewerStats - Reset HLS Stream ID: x remove failed or null

Yash Tandon

unread,
Feb 11, 2022, 10:31:14 AM2/11/22
to Ant Media Server
Hi Nathan,
Hope you are fine.
Please try by increasing the max analyze duration in app settings. For LiveApp or other application, just add the following property to the /usr/local/antmedia/webapps/LiveApp/WEB-INF/red5-web.properties file
settings.rtmp.maxAnalyzeDurationMS=5000

Please let me know if it works for you.

Regards,
Yash

Nathan Curtis

unread,
Feb 11, 2022, 11:01:17 AM2/11/22
to Yash Tandon, Ant Media Server
that did it, thank you so much.

--
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/88ae6123-2133-4f4b-b727-2a0bdf2f09b5n%40googlegroups.com.


--
Nathan J Curtis
Technology Director
Sergeant Bluff - Luton School District
 Image result for sblschools

Students, parents, employees, applicants for employment, and others doing business with or performing services for the Sergeant Bluff-Luton Community School District are hereby notified that this school district does not discriminate on the basis of race, color, national origin, sex, disability, religion, creed, age (for employment), genetic information (for employment) marital status (for programs), sexual orientation, gender identity, geographic location (for programs), and socioeconomic status (for programs) in its educational programs and activities and its hiring and employment practices, in accordance with federal and state law.    Any person having inquiries concerning the school district's compliance with federal and state nondiscrimination laws, including the regulations implementing Title VI, Title VII, Title IX, the Age Discrimination Act of 1975, Americans with Disabilities Act (ADA), § 504 or Iowa Code § 280.3 is directed to contact: Dr. Jenni McCrory, Elementary Principal, 202 Port Neal Rd. Sergeant Bluff, IA 51054. 712-943-5563mccrojen@sblschools.com  
Reply all
Reply to author
Forward
0 new messages