Skip to content

Conversation

davidvonthenen
Copy link
Contributor

This addresses issue: #212

This implements custom parameters for Live/Prerecorded/Manage Clients.

This implements:

  • LiveClient can now accept custom attributes to be set for the Class as well as any arbitrate values (**kwargs) which will be passed into callback functions.
  • ManageClient custom query parameters to be set in the URL as well as any arbitrate values (**kwargs) which will be passed any class that extends the ManageClient. This allows for custom params not related to Deepgram APIs.
  • Updated examples/streaming/microphone to show how you can use these new capabilities in an application.

Verified that all examples work:

  • examples/manage
  • examples/streaming
  • examples/prerecorded

Use this PR as the basis of updating https://github.com/deepgram/streaming-test-suite. You can find that implementation in this PR deepgram/live-streaming-starter-kit#11

@davidvonthenen davidvonthenen merged commit 828d69e into deepgram:main Dec 20, 2023
@davidvonthenen davidvonthenen deleted the issue212-custom-params branch December 20, 2023 01:24
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.

2 participants