diff --git a/src/file2rtc/File2RTC.cc b/src/file2rtc/File2RTC.cc index 129ced4..c287fd4 100644 --- a/src/file2rtc/File2RTC.cc +++ b/src/file2rtc/File2RTC.cc @@ -32,7 +32,7 @@ int main() LOG_DEBUG << "RTCContext init failed"; return -1; } - if (!RTCContext::instance().initSend(destRoomId, destChannelIndex)) { + if (!RTCContext::instance().initSend(srcRoomId, destRoomId, destChannelIndex, 1)) { LOG_DEBUG << "RTCContext initSend failed"; return -1; }