We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56c174 commit 3625d4aCopy full SHA for 3625d4a
packages/livekit-rtc/src/participant.ts
@@ -257,8 +257,9 @@ export class LocalParticipant extends Participant {
257
attributes?: Record<string, string>;
258
destinationIdentities?: Array<string>;
259
streamId?: string;
260
+ senderIdentity?: string;
261
}): Promise<TextStreamWriter> {
- const senderIdentity = this.identity;
262
+ const senderIdentity = options?.senderIdentity ?? this.identity;
263
const streamId = options?.streamId ?? crypto.randomUUID();
264
const destinationIdentities = options?.destinationIdentities;
265
0 commit comments