Coder Social home page Coder Social logo

Comments (10)

mekya avatar mekya commented on May 16, 2024

Hi @anhlt309 ,
There may be a couple of issues you need to check. Could you please write down to full address that you plan to play?

Secondly, ant Media Server supports UDP transportation, please uncheck TCP in RTSP streaming if it is checked. Do you know where to change this settings? I can send a screenshot if you need.

from ant-media-server.

anhlt309 avatar anhlt309 commented on May 16, 2024

Here my local address: rtsp://192.168.0.3:5554/vod/mu-mc-icc.mp4
I just paste this link to VLC Player and get error output at ant media server:
[DEBUG] [pool-11-thread-6] com.antstreaming.rtsp.RtspMinaIoHandler - RTSP Server Receive Message:
SETUP rtsp://192.168.0.3:5554/vod/mu-mc-icc.mp4/streamid=1 RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Transport: RTP/AVP;unicast;client_port=55476-55477

[DEBUG] [pool-11-thread-6] com.antstreaming.rtsp.RtspMinaIoHandler - sent message: RTSP/1.0 461 Unsupported transport
CSeq: 7

How to change TCP to UDP in RTSP streaming? Thank you!

from ant-media-server.

anhlt309 avatar anhlt309 commented on May 16, 2024

Another problem: When I was playing rtsp url at client, ant server output error and video was paused:

[rtp @ 0x7fd00c0180c0] Packet with invalid duration -9223372036854775808 in stream 0
[rtp @ 0x7fd00c0180c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 12635460 >= NOPTS
[WARN] [RTMPConnectionScheduler-13] com.antstreaming.rtsp.PacketSenderRunnable - Error muxing packet with error: -22

from ant-media-server.

mekya avatar mekya commented on May 16, 2024

Hi,
I have just sent a commit (8813987) to the repo, you can clone repo and compile project or
you can download and extract the attached file to Ant Media Server folder and then try again. Please let me know if you encounter any problem.

ant-media-server.jar.zip

from ant-media-server.

anhlt309 avatar anhlt309 commented on May 16, 2024

Thank you, now I can play by VLC player but when I was playing rtsp url at client, ant server output error and video was paused:

[rtp @ 0x7fd00c0180c0] Packet with invalid duration -9223372036854775808 in stream 0
[rtp @ 0x7fd00c0180c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 12635460 >= NOPTS
[WARN] [RTMPConnectionScheduler-13] com.antstreaming.rtsp.PacketSenderRunnable - Error muxing packet with error: -22

from ant-media-server.

anhlt309 avatar anhlt309 commented on May 16, 2024

I attach a log file from ant media server when start to play an url on VLC player. You can read for more details.
ant-rtsp-log.txt

from ant-media-server.

mekya avatar mekya commented on May 16, 2024

Hi @anhlt309 ,

Yeah "[rtp @ 0x7fd00c0180c0] Packet with invalid duration -9223372036854775808 in stream 0" is an issue on ffmpeg library. It gives this error when it does not find timestamp for the packet. Especially in rtsp streaming, it always gives this error for some initial packets even if you use ffmpeg in command prompt. Fourtunately, it is not a problem for streaming.

from ant-media-server.

anhlt309 avatar anhlt309 commented on May 16, 2024

Thank you. And Can I change path to local video files for rtsp streaming, not only /webapps/vod/streams ?

from ant-media-server.

mekya avatar mekya commented on May 16, 2024

You may need to create soft link on webapps/vod/streams directory to point to local video files.

It is a simple issue with a shell script. I can write a shell script for you ;) That you can give directory names as parameter.

from ant-media-server.

mekya avatar mekya commented on May 16, 2024

Closing issue. If you have any problem, please let know.

from ant-media-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.