Georgius, Stepko,
I would humbly ask assistance.
I have now done HTTP, but am having serious issues with InternetCrackUrl (MPIptvSourceStream::Load) - I've been debugging for this whole day unsuccessfully
If URL's are plain as in UDP version (IP addresses only), everything works as planned.
When I give it http://tv.x-lan.net.ua:8014/inter (the only HTTP that works for me - in VLC that is), it does a memory overrun and everything crashes. I'm pretty sure the problem is in the ::Load() function because I had to add logging to it to make things at least semi-working and to get even a few log lines before the entire ordeal crashed. I also disabled HTTP grabber, but that doesn't matter because the code never even reaches CMPIptvSourceStream:: DoBufferProcessingLoop.
My logging shows that InternetCrackUrl doesn't retrieve url.lpszUrlPath (it is set to NULL) even though the URL most clearly contains it. I'm assuming at this time something overwrote some of my memory already.
I have compared my Load() code with yours and found that you determine the protocol through dllPreAuth array which contains also pointers to some GetRealURL function. I must admit that I don't understand what this code even does.
Naturally I can't proceed with RTP until I resolve this problem
I'm sure I'm missing something obvious here, but what?
I would humbly ask assistance.
I have now done HTTP, but am having serious issues with InternetCrackUrl (MPIptvSourceStream::Load) - I've been debugging for this whole day unsuccessfully
If URL's are plain as in UDP version (IP addresses only), everything works as planned.
When I give it http://tv.x-lan.net.ua:8014/inter (the only HTTP that works for me - in VLC that is), it does a memory overrun and everything crashes. I'm pretty sure the problem is in the ::Load() function because I had to add logging to it to make things at least semi-working and to get even a few log lines before the entire ordeal crashed. I also disabled HTTP grabber, but that doesn't matter because the code never even reaches CMPIptvSourceStream:: DoBufferProcessingLoop.
My logging shows that InternetCrackUrl doesn't retrieve url.lpszUrlPath (it is set to NULL) even though the URL most clearly contains it. I'm assuming at this time something overwrote some of my memory already.
I have compared my Load() code with yours and found that you determine the protocol through dllPreAuth array which contains also pointers to some GetRealURL function. I must admit that I don't understand what this code even does.
Naturally I can't proceed with RTP until I resolve this problem
I'm sure I'm missing something obvious here, but what?
Slovenia