Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local track subscribed event #467

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

hiroshihorie
Copy link
Member

Fired when the first remote participant has subscribed to the localParticipant's track.

@@ -79,6 +79,10 @@ public protocol ParticipantDelegate: AnyObject {
@objc(localParticipant:didUnpublishTrack:) optional
func participant(_ participant: LocalParticipant, didUnpublishTrack publication: LocalTrackPublication)

/// Fired when the first remote participant has subscribed to the localParticipant's track.
@objc(localParticipant:didSubscribeTrack:) optional
func participant(_ participant: LocalParticipant, didSubscribeTrack publication: LocalTrackPublication)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name sounds like the local participant subscribed to the track, wonder if i can put a better name for this.

@hiroshihorie hiroshihorie merged commit 60057c4 into main Sep 3, 2024
10 of 12 checks passed
@hiroshihorie hiroshihorie deleted the hiroshi/CLT-585-localtrack-subscribed branch September 3, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants