Skip to content

Commit

Permalink
stopVideoTrack に console.warn を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Feb 27, 2024
1 parent 169e331 commit f1ea5e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sdk/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ export default class ConnectionBase {
* @public
*/
stopVideoTrack(stream: MediaStream): Promise<void> {
console.warn(
// @deprecated message
'@deprecated stopVideoTrack will be removed in a future version. Use removeVideoTrack instead.',
)
return this.removeVideoTrack(stream)
}

Expand Down

0 comments on commit f1ea5e1

Please sign in to comment.