pedroSG94 / vlc-example-streamplayer

Example code how to play a stream with VLC
GNU General Public License v3.0
227 stars 93 forks source link

no data received in 10s. Switching to TCP #31

Open dmsherazi opened 5 years ago

dmsherazi commented 5 years ago

When I try to load a rtsp stream from one of my camera it will take long time and then play it after mentioning "switching to TCP". After this line its quick to load the video

2019-07-02 18:09:22.086 W/VLC: [c37681d0/52ce] libvlc demux: no data received in 10s. Switching to TCP
2019-07-02 18:09:22.102 W/VLC: [c37681d0/52ce] libvlc demux: Password in a URI is DEPRECATED
2019-07-02 18:09:23.913 E/VLC: [cd209430/52ce] libvlc decoder: buffer deadlock prevented
2019-07-02 18:09:24.460 W/VLC: [cd209430/52ff] libvlc decoder: Exception occurred in MediaCodecInfo.getCapabilitiesForType
2019-07-02 18:09:24.462 W/VLC: [cd209430/52ff] libvlc decoder: Exception occurred in MediaCodecInfo.getCapabilitiesForType
2019-07-02 18:09:24.464 W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
2019-07-02 18:09:24.464 W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
2019-07-02 18:09:24.528 E/VLC: [949fd330/5305] libvlc window: request 1 not implemented
2019-07-02 18:09:24.528 E/VLC: [949fd330/5305] libvlc window: request 1 not implemented
2019-07-02 18:09:24.566 E/VLC: [949fd330/5305] libvlc window: request 0 not implemented
2019-07-02 18:09:24.566 E/VLC: [949fd330/5305] libvlc window: request 0 not implemented
2019-07-02 18:09:24.566 E/VLC: [949fd330/5305] libvlc window: request 1 not implemented
2019-07-02 18:09:24.617 E/VLC: [949fd330/5305] libvlc window: request 1 not implemented
2019-07-02 18:09:24.636 E/VLC: [949fd330/5305] libvlc window: request 0 not implemented
2019-07-02 18:09:24.636 E/VLC: [949fd330/5305] libvlc window: request 0 not implemented
2019-07-02 18:09:24.636 E/VLC: [949fd330/5305] libvlc window: request 0 not implemented
2019-07-02 18:09:24.667 E/VLC: [949fd330/5305] libvlc window: request 1 not implemented
2019-07-02 18:09:25.642 E/VLC: [949fd330/5305] libvlc window: request 3 not implemented
2019-07-02 18:09:27.503 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 97 ms)
2019-07-02 18:09:27.503 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 28 ms)
2019-07-02 18:09:33.782 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 23 ms)
2019-07-02 18:09:34.470 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 665 ms)
2019-07-02 18:09:34.509 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 634 ms)
2019-07-02 18:09:34.575 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 640 ms)
2019-07-02 18:09:34.644 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 651 ms)
2019-07-02 18:09:34.710 W/VLC: [cd59d730/5305] libvlc video output: picture is too late to be displayed (missing 644 ms)
pedroSG94 commented 5 years ago

Try add this to options array: “:rtsp-tcp”