Skip to content

Commit 8411a7e

Browse files
committed
fix: pass agentDid to SfuManager.join() for server offer subscription
1 parent 24d9970 commit 8411a7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-web/src/useWebrtc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ export default function useWebRTC({ enabled, source, perspective, agent: agentCl
664664
sfuManagerRef.current = sfuMgr;
665665
wireSfuEvents(sfuMgr);
666666

667-
await sfuMgr.join(stream);
667+
await sfuMgr.join(stream, agent?.did);
668668

669669
setIsLoading(false);
670670
setHasJoined(true);

0 commit comments

Comments
 (0)