ndi out before refactoring
This commit is contained in:
@@ -44,8 +44,8 @@ static dmf::FlowGraph build_graph() {
|
||||
const std::string ndi_audio_flow = gen_uuid();
|
||||
g.nodes = {
|
||||
{ "testpattern", "testpattern", {{"pattern", "bars"}} },
|
||||
{ "ndiin", "ndiin", {} },
|
||||
{ "fakesink", "fakesink", {} },
|
||||
// { "ndiin", "ndiin", {} },
|
||||
// { "fakesink", "fakesink", {} },
|
||||
{ "ndiout", "ndiout", {} },
|
||||
};
|
||||
const nlohmann::json video_fmt = {
|
||||
@@ -55,10 +55,12 @@ static dmf::FlowGraph build_graph() {
|
||||
{"kind","audio"}, {"sample_rate",48000}, {"channels",2}, {"bit_depth",32}
|
||||
};
|
||||
g.edges = {
|
||||
{ tp_video_flow, "testpattern", "flow_id", "fakesink", "flow_id", video_fmt },
|
||||
{ tp_audio_flow, "testpattern", "audio_flow_id", "", "", audio_fmt },
|
||||
{ ndi_video_flow, "ndiin", "video_flow_id", "ndiout", "flow_id", video_fmt },
|
||||
{ ndi_audio_flow, "ndiin", "audio_flow_id", "", "", audio_fmt },
|
||||
// { tp_video_flow, "testpattern", "flow_id", "fakesink", "flow_id", video_fmt },
|
||||
// { tp_audio_flow, "testpattern", "audio_flow_id", "", "", audio_fmt },
|
||||
// { ndi_video_flow, "ndiin", "video_flow_id", "ndiout", "flow_id", video_fmt },
|
||||
// { ndi_audio_flow, "ndiin", "audio_flow_id", "", "", audio_fmt },
|
||||
{ tp_video_flow, "testpattern", "flow_id", "ndiout", "flow_id", video_fmt },
|
||||
{ tp_audio_flow, "testpattern", "audio_flow_id", "ndiout", "audio_flow_id", audio_fmt },
|
||||
};
|
||||
return g;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user