Files
go-gst/examples
dependabot[bot] 39414356be Bump golang.org/x/crypto in /examples/plugins/minio
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 10:16:36 +00:00
..
2023-09-02 00:13:21 +02:00
2023-08-24 22:51:10 +01:00
2023-09-02 00:13:21 +02:00
2023-09-02 00:13:21 +02:00
2023-09-02 00:13:21 +02:00
2023-09-02 00:13:21 +02:00
2020-10-05 07:27:04 +03:00

Go-gst Examples

This directory contains examples of some common use cases of gstreamer using the go bindings.

The common package provided to each example exports two methods.

  • Run(f) - This wraps the given function in a goroutine and wraps a GMainLoop around it.
  • RunLoop(f(loop)) - This simply creates (but does not start) a GMainLoop and passes it to the example to manage.

Each example can be run in one of two ways:

# For single-file examples
go run <example>/main.go [..args]

# For multiple-file examples (but would also work for single file examples)
cd <example> && go build .
./<example> [..args]