Committed by
GitHub
Add RoomEvent for local participant unpublish (#407)
正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
| @@ -316,6 +316,14 @@ constructor( | @@ -316,6 +316,14 @@ constructor( | ||
| 316 | ), | 316 | ), |
| 317 | ) | 317 | ) |
| 318 | 318 | ||
| 319 | + is ParticipantEvent.TrackUnpublished -> emitWhenConnected( | ||
| 320 | + RoomEvent.TrackUnpublished( | ||
| 321 | + room = this@Room, | ||
| 322 | + publication = it.publication, | ||
| 323 | + participant = it.participant, | ||
| 324 | + ), | ||
| 325 | + ) | ||
| 326 | + | ||
| 319 | is ParticipantEvent.ParticipantPermissionsChanged -> emitWhenConnected( | 327 | is ParticipantEvent.ParticipantPermissionsChanged -> emitWhenConnected( |
| 320 | RoomEvent.ParticipantPermissionsChanged( | 328 | RoomEvent.ParticipantPermissionsChanged( |
| 321 | room = this@Room, | 329 | room = this@Room, |
-
请 注册 或 登录 后发表评论