opentok / opentok-windows-sdk-samples

Sample applications illustrating best practices using OpenTok Windows SDK
MIT License
9 stars 29 forks source link

Session.ErrorEventArgs.ErrorCode is meaningless, and this has bad consequences. #12

Closed fidergo-stephane-gourichon closed 4 years ago

fidergo-stephane-gourichon commented 6 years ago

Hello,

TL;DR: Please fix the SDK so that Session.ErrorEventArgs.ErrorCode provides a meaningful value.

Example values observed in identical or near-identical situations, seconds or minutes apart:

226401872
229336616
230507208
221168832
178993368
295706272
227620720
227614944
225505720
225962952
92129144
307975640
201365880
289036712

This bug is has serious consequence.

TL;DR: Please fix the SDK so that e.ErrorCode provides a meaningful value.

michaeljolley commented 4 years ago

@fidergo-stephane-gourichon, this was great feedback. I'm starting to review our repos and found that no one responded to you. This was resolved some time in the past and now the ErrorEventArgs.ErrorCode is an enum that provides more details about the error that occurred. You can see details about the error codes at https://tokbox.com/developer/sdks/windows/reference/namespace_open_tok.html#a593c40ac342238827568a038ac099d94