Comments (10)
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.
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.
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.
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.
from ant-media-server.
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.
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.
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.
Thank you. And Can I change path to local video files for rtsp streaming, not only /webapps/vod/streams ?
from ant-media-server.
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.
Closing issue. If you have any problem, please let know.
from ant-media-server.
Related Issues (20)
- Failed to stop thread HOT 1
- Multiaccess to the applications HOT 2
- Configure GCP Cloud CDN and write blog post HOT 2
- Adaptive bitrate m3u8 file missing from the subfolder while uploading HLS files to the bucket in real time
- Support auto upgrade in cloud marketplace instances
- Null Pointer Exception
- Can't pick UDP stream from gstreamer HOT 3
- The modified m3u8 file is not correct when using the HLS modifier
- Errors during observation: HOT 3
- POC - Origin Failover scenario HOT 2
- Provide a solution to add VoD items to playlist easily
- Conference room related GET API calls are not working as expected HOT 3
- Adding multitrack play into iOS SDK
- Implement bidirectional communication into the Python Wrapper Plugin
- Messages sent to data channel via REST API are delivered twice HOT 2
- Feature to Add logo to a a LIVE EVENT HOT 2
- Play H265 Streams in iOS/MacOS
- Google - GKE blogpost review HOT 1
- Make SSL Install Easily in Auto-Managed Solution
- Not able to upload VoD files using REST API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-media-server.