Blancduman/mediasoup-client-flutter

Why "maxRetransmits" is "required" in Transport.produceData()?

Opened this issue · 2 comments

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

Hello.

Probably happened when I migrated it to null safety.

I should rewrite lib and make it lose type and depend on maps.

@Blancduman

Thanks a lot!