RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

Change Live555 stream transport settings #80

Closed berkantay closed 4 years ago

berkantay commented 4 years ago

My camera link is streaming via RTSP. Video plays succesfully for 1 min. however after about 1 minute display is freezing both on VLCPlayer itself and also on your QmlVlcDemo. When I change the Tools>Preferences>Input/Codecs>Network>Live555 stream from http to rtsp Vlc player does not freeze. How can I set this from my code (QmlVlcDemo).

cheers

berkantay commented 4 years ago

Sending request: OPTIONS rtsp://192.168.2.254/554 RTSP/1.0 CSeq: 6 User-Agent LibVLC/3.0.8 (LIVE5556 Streaming Media v2018.02.18) Session 69855

I get this error and video stucks.

RSATom commented 4 years ago

I'll investigate it a little bit later.

berkantay commented 4 years ago

Thanks a lot !

RSATom commented 4 years ago

@berkantay you can try add

opts.push_back( "--rtsp-tcp" );

before https://github.com/RSATom/QmlVlc/blob/master/QmlVlcConfig.cpp#L182

berkantay commented 4 years ago

Thank you so much for your support! If you visit Turkey RAKIs are on me!!! :DD