Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Understanding Channels

Avatar

Level 2

If I have a bunch of different data services object, each data service object DOES NOT need to have a new RTMP Channel correct?

What is the benefit of adding a new RTMP channel to the channelset of dataservice object? Should I not have one or two channels setup on a channelset and ensure each dataservice uses that channelset?   Does each dataservice need to be assigned a channelset?   The destination point is fixed and is only one server.

I will always have something like this..
var myAC:ArrayCollection = new ArrayCollection;

var myDS:DataService = new DataService("myDSInfo");

myDS.autoCommit = false;

I would not need to do this for each dataservice correct?

var rtmpChannel:RTMPChannel = new RTMPChannel("my-rtmp", myServer);

var channelSet:ChannelSet = new ChannelSet();

channelSet.addChannel(rtmpChannel);

myDS.channelSet = channelSet;

Any insight on this would be great. 

1 Reply

Avatar

Level 1

yes!, look into dataservices-samples.war samples in LCDS install folder.

dataservices-samples.war\salesbuilder.

source for this is under  dataservices-samples.war\WEB-INF\flex-src

look into this - flex-src.zip\salesbuilder\src\com\adobe\sample\salesbuilder\util

study this DataSreviceHelper.as and ChannelManager.as