Skip to content

Commit

Permalink
関数の処理内容のコメントを追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
tnamao committed Oct 23, 2023
1 parent 6ce2919 commit 3e95d72
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,10 @@ export const setCameraDevice = (cameraDevice: boolean) => {
};
};

/**
* devtools のローカルにもっている MediaStream のうち Video Track と
* 映像処理を行っている MediaProcessor の停止を行う関数
*/
const stopLocalVideoTrack = (
dispatch: Dispatch,
{ soraContents, lightAdjustmentProcessor, virtualBackgroundProcessor }: SoraDevtoolsState,
Expand Down Expand Up @@ -1819,6 +1823,10 @@ const stopLocalVideoTrack = (
}
};

/**
* devtools のローカルにもっている MediaStream のうち Video Track と
* 映像処理を行っている MediaProcessor の停止を行う関数
*/
const stopLocalAudioTrack = (
dispatch: Dispatch,
{ soraContents, noiseSuppressionProcessor }: SoraDevtoolsState,
Expand Down

0 comments on commit 3e95d72

Please sign in to comment.