[API] Deprecate srt_rejectreason_msg array #2285
Labels
[API]
Area: Changes in SRT library API
Type: Maintenance
Work required to maintain or clean up the code
Milestone
The array
srt_rejectreason_msg
is present in the SRT API (added in v1.3.4 in PR #720).It is quite unsafe because someone may access it out of bounds by mistake.
The API function
srt_rejectreason_str()
should be used instead.The array
srt_rejectreason_msg
should be marked as deprecated.The text was updated successfully, but these errors were encountered: