public KalturaLiveStreamAdminEntry Add(KalturaLiveStreamAdminEntry liveStreamEntry, KalturaSourceType sourceType) { KalturaParams kparams = new KalturaParams(); if (liveStreamEntry != null) { kparams.Add("liveStreamEntry", liveStreamEntry.ToParams()); } kparams.AddEnumIfNotNull("sourceType", sourceType); _Client.QueueServiceCall("livestream", "add", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaLiveStreamAdminEntry)KalturaObjectFactory.Create(result)); }
public KalturaLiveStreamAdminEntry Update(string entryId, KalturaLiveStreamAdminEntry liveStreamEntry) { KalturaParams kparams = new KalturaParams(); kparams.AddStringIfNotNull("entryId", entryId); if (liveStreamEntry != null) { kparams.Add("liveStreamEntry", liveStreamEntry.ToParams()); } _Client.QueueServiceCall("livestream", "update", kparams); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaLiveStreamAdminEntry)KalturaObjectFactory.Create(result)); }
public KalturaLiveStreamAdminEntry Add(KalturaLiveStreamAdminEntry liveStreamEntry) { return(this.Add(liveStreamEntry, (KalturaSourceType)(Int32.MinValue))); }