Skip to content

Commit

Permalink
add extension in file name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Jan 27, 2025
1 parent fc26f36 commit 1776863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/data-streams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const sendFile = async (room: Room, recipient: RemoteParticipant) => {
console.log('sending file');
await room.localParticipant?.sendFile('./assets/maybemexico.jpg', {
destinationIdentities: [recipient.identity],
name: 'mex',
name: 'mex.jpg',
topic: 'welcome',
mimeType: 'image/jpg',
});
Expand Down

0 comments on commit 1776863

Please sign in to comment.