Why "maxRetransmits" is "required" in Transport.produceData()?
Opened this issue · 2 comments
Raonshi commented
Hello.
I have a quesion when using Transport.produceData() function.
In this function, maxRetransmits
property is required.
However, In official mediasoup document, maxRetransmits
is optional property.
I just want to know why you use "required" keyword.
Official Document Link : https://mediasoup.org/documentation/v3/mediasoup-client/api/#DataProducerOptions
Blancduman commented
Hello.
Probably happened when I migrated it to null safety.
I should rewrite lib and make it lose type and depend on maps.
Raonshi commented
Thanks a lot!