Rename otherEnd to getOtherEnd

This commit is contained in:
dominik-korsa 2025-07-19 13:26:30 +02:00
parent 8f94f0f142
commit b99c302c75
No known key found for this signature in database
GPG Key ID: 5A24D76EE0A30974

View File

@ -3,7 +3,7 @@ export const TrackConnectionEnd = {
END: Symbol('TrackConnectionEnd.END'),
};
export function otherEnd(end) {
export function getOtherEnd(end) {
return {
[TrackConnectionEnd.START]: TrackConnectionEnd.END,
[TrackConnectionEnd.END]: TrackConnectionEnd.START,