Skip to content

Commit

Permalink
Update RecordingVideo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aiko-chan-ai committed Nov 8, 2024
1 parent 4f7d9d2 commit d1df7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/VoiceChannel/RecordingVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ client.on('ready', async client => {
const connectionStream = await connection.joinStreamConnection('user_id');

const video = connectionStream.receiver.createVideoStream('user_id', {
portUdp: 5004,
portUdp: 50004, // Temporary port
output: fs.createWriteStream('video.mkv'), // Output file using matroska container
// If you want video with audio, set isEnableAudio to true
isEnableAudio: false,
Expand Down

0 comments on commit d1df7cb

Please sign in to comment.