问题
I have before me the task of loading and saving rtmp stream from the server to your computer. Exploring the internet, I came to the conclusion that it is necessary to use the library LIBRTMP. I work in Delphi XE2 and the only appropriate code I found on this page and sales on Pascal page.
I am having difficulties with the translation of this code into a usable form for delphi, because types cint
, pcchar
and etc I did not recognize.
I do not work with C or C + +, could you give me directions to work, or it's easier to solve this problem?
回答1:
You can map those types in Delphi using following code:
Type
cint = longint;
cchar = shortint;
pcchar = ^cchar;
And try to recompile your code.
来源:https://stackoverflow.com/questions/12798181/librtmp-delphi-use-dll