Duplicated lines in local SDP
Duplicate consecutive lines were detected in the local SDP description. This may indicate an issue with SDP generation or parsing.
Description
Although modern WebRTC APIs provide higher-level controls, SDP sometimes still needs to be modified manually (SDP munging) to force specific behaviors, such as enabling Opus DTX. However, this practice, while still tolerated by browsers, is fragile and error-prone. Manual SDP modifications can easily lead to inconsistencies, unexpected behavior, or compatibility issues, and may ultimately cause connection failures or problems when establishing or maintaining the application’s media sessions.
What do we do here?
We check the content of the generated local description and we mark an observation if we detect a line that is repeated several times consecutively.