I'm working on the same and it's available on github where someone else has posted a link.
This github has some problems, and for those parts, you need to set the log (k4abt.log) and look at the log to proceed with the modification.
I am also in the process of doing such work... It seems that the camera connection has been completed, but I am currently struggling because I cannot solve the error in the bodytracking part.