正在显示
1 个修改的文件
包含
18 行增加
和
0 行删除
| @@ -257,18 +257,30 @@ constructor( | @@ -257,18 +257,30 @@ constructor( | ||
| 257 | listener?.onMetadataChanged(participant, prevMetadata, this) | 257 | listener?.onMetadataChanged(participant, prevMetadata, this) |
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | + /** | ||
| 261 | + * @suppress | ||
| 262 | + */ | ||
| 260 | override fun onTrackPublished(publication: TrackPublication, participant: RemoteParticipant) { | 263 | override fun onTrackPublished(publication: TrackPublication, participant: RemoteParticipant) { |
| 261 | listener?.onTrackPublished(publication, participant, this) | 264 | listener?.onTrackPublished(publication, participant, this) |
| 262 | } | 265 | } |
| 263 | 266 | ||
| 267 | + /** | ||
| 268 | + * @suppress | ||
| 269 | + */ | ||
| 264 | override fun onTrackUnpublished(publication: TrackPublication, participant: RemoteParticipant) { | 270 | override fun onTrackUnpublished(publication: TrackPublication, participant: RemoteParticipant) { |
| 265 | listener?.onTrackUnpublished(publication, participant, this) | 271 | listener?.onTrackUnpublished(publication, participant, this) |
| 266 | } | 272 | } |
| 267 | 273 | ||
| 274 | + /** | ||
| 275 | + * @suppress | ||
| 276 | + */ | ||
| 268 | override fun onTrackSubscribed(track: Track, publication: TrackPublication, participant: RemoteParticipant) { | 277 | override fun onTrackSubscribed(track: Track, publication: TrackPublication, participant: RemoteParticipant) { |
| 269 | listener?.onTrackSubscribed(track, publication, participant, this) | 278 | listener?.onTrackSubscribed(track, publication, participant, this) |
| 270 | } | 279 | } |
| 271 | 280 | ||
| 281 | + /** | ||
| 282 | + * @suppress | ||
| 283 | + */ | ||
| 272 | override fun onTrackSubscriptionFailed( | 284 | override fun onTrackSubscriptionFailed( |
| 273 | sid: String, | 285 | sid: String, |
| 274 | exception: Exception, | 286 | exception: Exception, |
| @@ -277,6 +289,9 @@ constructor( | @@ -277,6 +289,9 @@ constructor( | ||
| 277 | listener?.onTrackSubscriptionFailed(sid, exception, participant, this) | 289 | listener?.onTrackSubscriptionFailed(sid, exception, participant, this) |
| 278 | } | 290 | } |
| 279 | 291 | ||
| 292 | + /** | ||
| 293 | + * @suppress | ||
| 294 | + */ | ||
| 280 | override fun onTrackUnsubscribed( | 295 | override fun onTrackUnsubscribed( |
| 281 | track: Track, | 296 | track: Track, |
| 282 | publication: TrackPublication, | 297 | publication: TrackPublication, |
| @@ -285,6 +300,9 @@ constructor( | @@ -285,6 +300,9 @@ constructor( | ||
| 285 | listener?.onTrackUnsubscribed(track, publication, participant, this) | 300 | listener?.onTrackUnsubscribed(track, publication, participant, this) |
| 286 | } | 301 | } |
| 287 | 302 | ||
| 303 | + /** | ||
| 304 | + * @suppress | ||
| 305 | + */ | ||
| 288 | override fun onDataReceived( | 306 | override fun onDataReceived( |
| 289 | data: ByteBuffer, | 307 | data: ByteBuffer, |
| 290 | dataTrack: DataTrack, | 308 | dataTrack: DataTrack, |
-
请 注册 或 登录 后发表评论