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

Stream API Metadata #1062

Closed
Venoox opened this issue Aug 25, 2022 · 3 comments · Fixed by #1088
Closed

Stream API Metadata #1062

Venoox opened this issue Aug 25, 2022 · 3 comments · Fixed by #1088
Milestone

Comments

@Venoox
Copy link
Contributor

Venoox commented Aug 25, 2022

Current cloudflare-go version

v0.48.0

Description

Add metadata support to the StreamCreateVideoDirectURL function.
According to Cloudflare Docs it is possible by adding "meta" field to the request.

Use cases

Use case is self explanatory

Potential cloudflare-go usage

StreamCreateVideoDirectURL(ctx, cloudflare.StreamCreateVideoParameters{
	AccountID:          accountId,
	MaxDurationSeconds: 600,
	Creator:            "test",
	Metadata:           map[string]interface{}{
            "env": "production",
        },
})

References

No response

@Venoox
Copy link
Contributor Author

Venoox commented Sep 11, 2022

If it's okay I can implement this and create a PR

@jacobbednarz
Copy link
Member

sure thing, happy to review a PR for it.

@github-actions github-actions bot added this to the v0.69.0 milestone Jun 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

This functionality has been released in v0.69.0.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants