ChannelMediaRelayConfiguration
Configuration of cross channel media relay.
public class ChannelMediaRelayConfiguration {
private ChannelMediaInfo srcInfo = null;
private Map<String, ChannelMediaInfo> destInfos = null;
public ChannelMediaRelayConfiguration() {
destInfos = new HashMap<String, ChannelMediaInfo>();
srcInfo = new ChannelMediaInfo(null, null, 0);
}
public void setSrcChannelInfo(ChannelMediaInfo srcInfo) {
this.srcInfo = srcInfo;
}
public void setDestChannelInfo(String channelName, ChannelMediaInfo destInfo) {
destInfos.put(channelName, destInfo);
}
public void removeDestChannelInfo(String channelName) {
destInfos.remove(channelName);
}
public ChannelMediaInfo getSrcChannelMediaInfo() {
return srcInfo;
}
public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() {
return destInfos;
}
}
Method
- setSrcChannelInfo
- Sets the information of the source channel. See setSrcChannelInfo.
- setDestChannelInfo
- Sets the information of the target channel. See setDestChannelInfo.
- removeDestChannelInfo
- Deletes the information of target channel. See removeDestChannelInfo.
- getSrcChannelMediaInfo
- Gets the information of the source channel. See getSrcChannelMediaInfo.
- getDestChannelMediaInfos
- Gets the information of the target channel. See getDestChannelMediaInfos.