Skip to content

Conversation

aos-svg
Copy link
Collaborator

@aos-svg aos-svg commented Aug 28, 2025

https://jira.vonage.com/browse/VIDCS-4026

Added a sample app for users to interact with sender stats api. The environment i had to use was local dev hence the local podspec etc. ( changes werent merged yet )

Copy link

@juliobecerragomez juliobecerragomez left a comment

Choose a reason for hiding this comment

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

Looks very good!

* to capture information about sender stats as follows
*/
func subscriber(_ subscriber: OTSubscriberKit, videoNetworkStatsUpdated stats: OTSubscriberKitVideoNetworkStats) {
guard let senderStats = stats.senderStats else { return }

Choose a reason for hiding this comment

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

Nit. If there’s another iteration in this PR, it might be worth adding a comment here noting that stats could still be nil due to network issues or latency, even if the publisher’s sender stats track is enabled.

Copy link

@juliobecerragomez juliobecerragomez left a comment

Choose a reason for hiding this comment

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

+1

@joliveraortega
Copy link

@aos-svg Thanks for this contribution. We cannot merge this in until the feature is our as part of 2.32.0 which should happen early next quarter (Q4).

Copy link

@VZaphod VZaphod left a comment

Choose a reason for hiding this comment

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

LGTM but the stats.senderStats is always null and I feel that may be better to receive the stats in a background thread but that is an SDK story.

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.

4 participants