Skip to content

Commit

Permalink
fix: miss uid in StreamSubscribeStateCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Nov 5, 2020
1 parent d647049 commit 9bc680f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/RtcEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,14 @@ export type StreamPublishStateCallback =
export type StreamSubscribeStateCallback =
/**
* @param channel The channel name.
* @param uid The ID of the remote user whose subscribe state changes.
* @param oldState The previous publishing state. See [`StreamPublishState`]{@link StreamPublishState}.
* @param newState The current publishing state. See [`StreamPublishState`]{@link StreamPublishState}.
* @param elapseSinceLastState The time elapsed (ms) from the previous state to the current state.
*/
(
channel: string,
uid: number,
oldState: StreamSubscribeState,
newState: StreamSubscribeState,
elapseSinceLastState: number
Expand Down

0 comments on commit 9bc680f

Please sign in to comment.