LIBRTMP Delphi: use dll

倖福魔咒の 提交于 2019-12-24 14:28:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!