Skip to content

Commit

Permalink
Move sdpICEDetails to sdp.go
Browse files Browse the repository at this point in the history
  • Loading branch information
joeturki committed Jan 5, 2025
1 parent 20194b5 commit 6e14eab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
9 changes: 9 additions & 0 deletions sdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,15 @@ func extractICEDetailsFromMedia(media *sdp.MediaDescription, log logging.Leveled
return remoteUfrag, remotePwd, candidates, nil
}

type sdpICEDetails struct {
Ufrag string
Password string
Candidates []ICECandidate
SDPMid string
SDPMLineIndex uint16
}


func extractICEDetails(desc *sdp.SessionDescription, log logging.LeveledLogger) (*sdpICEDetails, error) { // nolint:gocognit
details := &sdpICEDetails{
Candidates: []ICECandidate{},
Expand Down
15 changes: 0 additions & 15 deletions sdpicedetails.go

This file was deleted.

0 comments on commit 6e14eab

Please sign in to comment.