Accessing the protobufs for Video Streaming
May protobufs can be accessed from language-specific generated static files that will be provided by May Mobility. The files will be plug and play and can be directly consumed by the end user by importing and calling the functions as shown in the below section.
May Mobility will generate the static files in the programming language used by the client.
Available Static Packages
Language | Status |
---|---|
JS/TS (NodeJS) | Available |
GO | Available |
C# | Available |
C++ | Available |
As the Fleet API evolves and more languages are added, this area will be updated.
Decoding a May protobuf
1. Import the protobuf from the static files provided by May
import { may } from "../proto-types/index.js";
2. Call the decode function of the proto type
This should give you the decoded output for the video wrapper data and detailed information is found here