forked from sony/nmos-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformat.h
24 lines (21 loc) · 912 Bytes
/
format.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef NMOS_FORMAT_H
#define NMOS_FORMAT_H
#include "nmos/string_enum.h"
namespace nmos
{
// Formats (used in sources, flows and receivers)
// See https://github.com/AMWA-TV/nmos-discovery-registration/blob/v1.2/docs/2.1.%20APIs%20-%20Common%20Keys.md#format
// and https://github.com/AMWA-TV/nmos-discovery-registration/blob/v1.2/APIs/schemas/source_generic.json
// and https://github.com/AMWA-TV/nmos-discovery-registration/blob/v1.2/APIs/schemas/source_audio.json
// and https://github.com/AMWA-TV/nmos-discovery-registration/blob/v1.2/APIs/schemas/flow_video.json
// etc.
DEFINE_STRING_ENUM(format)
namespace formats
{
const format video{ U("urn:x-nmos:format:video") };
const format audio{ U("urn:x-nmos:format:audio") };
const format data{ U("urn:x-nmos:format:data") };
const format mux{ U("urn:x-nmos:format:mux") };
}
}
#endif