disables seeking and pausing for udp live streams
disable seek for udp streams
This should have an interface class instead declaring those two functions. Look in DVDInputStream.h
Then the PVR code can be brought in line with that interface as well.
if(CDVDInputStream::ISeekabilty seekability = dynamic_cast<CDVDInputStream::ISeekabilty>(pInpustStream))
canseek = seekability->CanSeek();
Why not just ask ffmpeg? If it's going to be the one doing the seeking anyway, surely it'll know better than our hard-coded rules.
See poc (warning, I'm a virgin in dvdplayer land, so I'm sure this is needlessly circuitous): theuni@4f960e6
Works as expected for udp.
I put up a pull request with the interface changes in place. Asking ffmpeg is just about impossible at the moment, so that will have to wait.
Please give it a try and check that it works as expected.
@elupus Why impossible? My POC does that and seems to work fine.
@theuni Tried your POC and did not work for our udp streams.
@elupus tried your fix too and it worked as expected (also left a comment at the new pull-request)
nothing left here right? reopen if there is.