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 .
setDestChannelInfo
Sets the information of the target channel. See .
removeDestChannelInfo
Deletes the information of target channel. See .
getSrcChannelMediaInfo
Gets the information of the source channel. See .
getDestChannelMediaInfos
Gets the information of the target channel. See .