Pause rtsp for change android screen orientation. Android

This forum is about all development around libVLC.
ge0graff
New Cone
New Cone
Posts: 1
Joined: 31 Mar 2023 17:32

Pause rtsp for change android screen orientation. Android

Postby ge0graff » 31 Mar 2023 17:35

I get the URL of the rtsp video stream and start playing the video on TextureView. Next, when flipping the phone, I would like to recreate the VIew and continue watching the video from the place of interruption. To do this, I use pause() detachView() - setView... attachView() play(). But in this case I get: libvlc demux: SETUP of' video/H264' failed This computer has an invalid IP address: 0.0.0.0. What could be the error? Is it my fault or is it the server's fault? When using HLS, everything is fine! Thanks for the answer!

Expected behavior
The video continues from the stop point after changing the View.

Actual behavior
The video does not play.
Error: libvlc demux: SETUP of' video/H264' failed This computer has an invalid IP address: 0.0.0.0.
or libvlc demux: SETUP of'video/H264' failed 500 Internal Server Error
logs:
https://gist.github.com/ge0graff/ace9de ... 858a2ec5dc

Steps to reproduce
1.Get a link of the form rtsp://....:8080/rtsp/58779179/szODmfJsevzyXMOJ2aEF
2.Display video on TextureView
3.Perform a screen flip.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests