It's all about the answers!

Ask a question

RTC Java API 6.0.2 - Set component scoped FlowTarget for AcceptFlow direction only

Steen Larsen (326) | asked Jul 17 '16, 7:36 a.m.
edited Jul 25 '16, 6:30 p.m. by David Lafreniere (4.8k7)
 I want to setup an AcceptFlow (Flow Direction: incoming only) FlowTarget as Component Scoped.

According to the JavaDoc, this should be done by doing this:

sourceFlowtable.addAcceptFlow(targetWorkspaceHandle, null, null, components, "Accept flow");

However, the created FlowTarget is not getting scoped, all components in the stream are flown in stead of only the components in components List.

If I add:

sourceFlowtable.setComponentScopes(targetWorkspaceHandle, components);

as suggested in this thread, the FlowTarget will become Scoped - But the Flow Direction will be destroyed, so that the Flow Direction is being Both instead of Incoming.

To me, it looks like a bug in sourceFlowtable.addAcceptFlow(...). 

Am I missing something?

Kind regards

Steen Larsen

One answer

permanent link
Shashikant Padur (4.2k27) | answered Jul 21 '16, 11:41 p.m.
The following defect has been opened to look into the issue:

Your answer

Register or to post your answer.