Skip to content

Commit

Permalink
simulcast のテストの動作確認
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Feb 22, 2024
1 parent 30021a4 commit 7d79a27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
- run: pnpm install
- run: pnpm run build
- run: pnpm exec playwright install ${{ matrix.browser }} --with-deps
- run: pnpm exec playwright test --project=${{ matrix.browser }}
# - run: pnpm exec playwright test --project=${{ matrix.browser }}
# env:
# VITE_SORA_CHANNEL_ID_SUFFIX: _${{ matrix.node }}
- run: pnpm exec playwright test simulcast --project=${{ matrix.browser }}
env:
VITE_SORA_CHANNEL_ID_SUFFIX: _${{ matrix.node }}
# - uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions examples/simulcast/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const sendonly = sora.sendonly(channelId, metadata, {
simulcast: true,
})
sendonly.on('notify', (event) => {
console.log(event)
if (event.event_type === 'connection.created' && event.connection_id === sendonly.connectionId) {
document.querySelector('#local-video-connection-id').textContent = `${event.connection_id}`
}
Expand Down

0 comments on commit 7d79a27

Please sign in to comment.