Skip to content

Commit

Permalink
Fix incorrect API usage in README
Browse files Browse the repository at this point in the history
TrackPublicationOptions keys were named wrong
  • Loading branch information
Sean-Der committed Jan 18, 2024
1 parent ef10e55 commit 5635fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ if err != nil {
}
if _, err = room.LocalParticipant.PublishTrack(track, &lksdk.TrackPublicationOptions{
Name: file,
Width: videoWidth,
Height: videoHeight,
VideoWidth: videoWidth,
VideoHeight: videoHeight,
}); err != nil {
return err
}
Expand Down

0 comments on commit 5635fc3

Please sign in to comment.