mediasoup3-record-demo after start recording server dies

This is the server error I’m getting upon start recording:
return await router.createPlainRtpTransport(config.plainRtpTransport);

TypeError: router.createPlainRtpTransport is not a function

Any pointers as to how to remedy would be highly appreciated.

Read the API documentation about that method in the mediasoup website.

Is it that createPlainRtpTransport is deprecated and I should use method createPlainTransport?
This appears to fix it :slight_smile: