Skip to content

feat: Add Video API snippets #121

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

Merged
merged 28 commits into from
Apr 25, 2025
Merged

Conversation

ydumburs
Copy link
Contributor

This PR includes:

  • Video API snippets under com.vonage.quickstart.video
  • .env-example and com.vonage.quickstart.EnvironmentVariables update for Video parameters
  • Added JsonPrinter utility class for formatted output using Jackson
  • Fixed .env-example: corrected VOICE_LANGUAGE value to avoid fatJar failure. See https://javadoc.io/doc/com.vonage/server-sdk/latest/com/vonage/client/voice/TextToSpeechLanguage.html
  • Fixed EnvironmentVariables.java: resolved conflict where numbers.Feature was mistaken for CatalogFeatures.
    Please let me know if any adjustments are needed.

Describe your changes here

Contribution Checklist

- Created a 'video' folder in src/main/java/com/vonage/quickstart/ and added video code snippets.
- Added related environment variables to .env-example and src/main/java/com/vonage/quickstart/EnvironmentVariables.java.
- Fixed .env-example: corrected VOICE_LANGUAGE value to avoid fatJar failure. See https://javadoc.io/doc/com.vonage/server-sdk/latest/com/vonage/client/voice/TextToSpeechLanguage.html
- Fixed EnvironmentVariables.java: resolved conflict where numbers.Feature was mistaken for CatalogFeatures.
- Created a 'util' folder under src/main/java/com/vonage/quickstart/ and added JsonPrinter utility class for pretty-printing JSON using Jackson.
@ydumburs ydumburs requested a review from SMadani as a code owner April 22, 2025 13:31
@ydumburs ydumburs changed the title Add video API snippets and JsonPrinter utility, Ffx fatJar errors Add video API snippets and JsonPrinter utility, Fix fatJar errors Apr 22, 2025
@SMadani SMadani changed the title Add video API snippets and JsonPrinter utility, Fix fatJar errors feat: Add Video API snippets Apr 25, 2025
@SMadani SMadani merged commit b047da6 into Vonage:main Apr 25, 2025
10 checks passed
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