transcoder

module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: Apache-2.0

README

muxable/transcoder

This package implements a transcoding server. It accepts WebRTC signalled over gRPC and will respond with a transcoded track for each received track.

Client SDK

For convenience if you don't want to deal with signalling and reconnection semantics, a lightweight client SDK is provided.

Example usage
import (
	transcoder "github.com/muxable/transcoder/pkg"
)

...

conn, err := grpc.Dial("localhost:50051", grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
    return err
}

client, err := transcoder.NewTranscoderAPIClient(conn)
if err != nil {
    return err
}

transcoded, err := client.Transcode(track)
if err != nil {
    return err
}

Here, client.Transcode() accepts a TrackLocal and returns a TrackRemote.

Cloud hosting

If you are interested in using this service pre-deployed, please email kevin@muxable.com.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL