The internal logic of the MSRPRelay is described as a series of message flow diagrams in a PDF file.
The corresponding class diagram can be found as PDF