ethand91 / mediasoup3-record-demo

Simple Record Demo using Mediasoup 3 and GStreamer
197 stars 93 forks source link

Unhandle Promise Rejection: #79

Closed abhinavsy closed 2 years ago

abhinavsy commented 2 years ago

UnhandledPromiseRejectionWarning: TypeError: router.createPlainRtpTransport is not a function; The video not recording the video because of this error.

ansix commented 2 years ago

change to router.createPlainTransport then it works

ethand91 commented 2 years ago

If mediasoup is newer than version 3.5.0, you may need to use this: https://mediasoup.org/documentation/v3/mediasoup/api/#PlainTransport