Skip to content

Commit

Permalink
fix(participant): added stopOnUnpublish value to UnpublishTrackRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hamdananwar committed Jan 6, 2025
1 parent 430cf4a commit 4ae71b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/livekit-rtc/src/participant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ export class LocalParticipant extends Participant {
const req = new UnpublishTrackRequest({
localParticipantHandle: this.ffi_handle.handle,
trackSid: trackSid,
stopOnUnpublish: true,
});

const res = FfiClient.instance.request<UnpublishTrackResponse>({
Expand Down

0 comments on commit 4ae71b3

Please sign in to comment.