• Philip Withnall's avatar
    agent: Integrate TcpUserData into Component · 68a9632e
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    It was allocated separately and always set, which is a wasted
    allocation. Instead, pull the NiceAgent and Stream pointers into the
    Component directly, and eliminate the redundant allocation.
    This also means the NiceAgent and Stream are available for use elsewhere
    in the Component code (not just with TCP stuff).
agent.c 95.3 KB