-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is:issue is:open Can't using VLC player to view rtsp streaming #1
Comments
Hi @anhlt309 , 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. |
Here my local address: rtsp://192.168.0.3:5554/vod/mu-mc-icc.mp4 [DEBUG] [pool-11-thread-6] com.antstreaming.rtsp.RtspMinaIoHandler - sent message: RTSP/1.0 461 Unsupported transport How to change TCP to UDP in RTSP streaming? Thank you! |
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 |
Hi, |
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 |
I attach a log file from ant media server when start to play an url on VLC player. You can read for more details. |
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. |
Thank you. And Can I change path to local video files for rtsp streaming, not only /webapps/vod/streams ? |
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. |
Closing issue. If you have any problem, please let know. |
I have some video .mp4 at /webapps/vod/streams/. The server started successful, but when using VLC player to view streaming, I had got debug:
[DEBUG] [pool-11-thread-4] com.antstreaming.rtsp.RtspMinaIoHandler - sent message: RTSP/1.0 461 Unsupported transport
And Vlc player inform Your input can't be opened.
So, how can i use vlc player to view streaming and how to enable unicast stream from server or enable TCP stream.?
Thank you!
The text was updated successfully, but these errors were encountered: