jchavanton commented on this pull request.
- ms_connection_helper_start(&h);
+ ms_connection_helper_link(&h, m1->ms_rtprecv, -1, 0); + ms_connection_helper_link(&h, m2->ms_rtpsend, 0, -1); + + // direction 2 + ms_connection_helper_start(&h); + ms_connection_helper_link(&h, m2->ms_rtprecv, -1, 0); + ms_connection_helper_link(&h, m1->ms_rtpsend, 0, -1); + + ms_ticker_attach_multiple( + m1->ms_ticker, m1->ms_rtprecv, m2->ms_rtprecv, NULL); + + return 1; +} + +#define MS_UNUSED(x) ((void)(x))
I modified the includes for mediastreamer2 and included the file that was defining this macro instead.