Skip to content

Commit

Permalink
feat: add helper for retrieving all encoding sources (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 authored Sep 6, 2024
1 parent a10f88d commit ed357e9
Show file tree
Hide file tree
Showing 3 changed files with 516 additions and 330 deletions.
1 change: 1 addition & 0 deletions lib/SDPInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ class SDPInfo
//Add candidates to media info
for (let i = 0; params.candidates && i<params.candidates.length; ++i)
if (params.candidates[i] instanceof CandidateInfo)
//@ts-expect-error
answer.addCandidate(params.candidates[i].clone());
else
answer.addCandidate(CandidateInfo.expand(params.candidates[i]));
Expand Down
Loading

0 comments on commit ed357e9

Please sign in to comment.