-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Feature Description
In all runtimes, the onTranscriptData callback doesn't get access to the start_time and end_time fields, which are included in the raw event message content field: https://developers.zoom.us/docs/rtms/event-reference/#transcript-data
Use Case
I'd like to calculate speaking time duration using the start time and end time timestamps.
Affected Language Bindings
Core SDK (all languages)
Proposed Solution
I think it could be added either as a separate field on the existing Metadata interface or make a more specific TranscriptMetadata interface with the additional fields.
In typescript:
export interface TranscriptMetadata extends Metadata
userName: string;
userId: number;
start_time: number;
end_time: number;
language: number;
}Implementation Considerations
Should not result in any callback signature churn.
Alternatives Considered
You could expose the raw event content as an additional argument to all callbacks. It be more difficult to work with but might make it easier for early adopters to pick up new fields before they're explicitly in the interface.
Additional Context
I'd be happy to contribute, but I don't think the core SDK is public?
Verification
- I have searched existing issues to ensure this feature has not already been requested
- This feature would benefit a significant portion of RTMS SDK users