Skip to content

Commit

Permalink
[AUTO] Update dependencies (#1115)
Browse files Browse the repository at this point in the history
* [AUTO] Update dependencies

* chore: wip

* chore: wip

---------

Co-authored-by: LichKing-2234 <[email protected]>
Co-authored-by: HUI <[email protected]>
  • Loading branch information
3 people authored Nov 17, 2023
1 parent 9b12f9e commit d6a1629
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ jobs:
needs: [ build-windows, build-mac ]
steps:
- run: |
curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${{ secrets.WECHAT_KEY }}" -d '{"msgtype":"text","text":{"content":"Electron Example:\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}}'
curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${{ secrets.WECHAT_KEY }}" -d '{"msgtype":"text","text":{"content":"Electron Example:\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nDownload Link:\nhttps://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}"}}'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"yuv-canvas": "1.2.6"
},
"agora_electron": {
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.2.2.139-build.1_DCG_Windows_Video_20231026_1149.zip",
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.2.2.140-build.1_DCG_Windows_Video_20231117_1043.zip",
"iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.2.2.136-build.1_DCG_Mac_Video_20230922_0351.zip"
}
}
16 changes: 12 additions & 4 deletions ts/Renderer/RendererManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,17 @@ export class RendererManager extends IRendererManager {
}
}

/**
* @ignore
*/
private getRender({
videoSourceType,
channelId,
uid,
}: VideoFrameCacheConfig) {
return this.renderers.get(videoSourceType)?.get(channelId)?.get(uid);
}

/**
* @ignore
*/
Expand All @@ -445,10 +456,7 @@ export class RendererManager extends IRendererManager {
channelId,
uid,
}: VideoFrameCacheConfig): IRenderer[] {
return (
this.renderers.get(videoSourceType)?.get(channelId)?.get(uid)?.renders ||
[]
);
return this.getRender({ videoSourceType, channelId, uid })?.renders || [];
}

/**
Expand Down

0 comments on commit d6a1629

Please sign in to comment.