/// <summary> /// Returns a usable OutcastEncoder object for the given camera. /// </summary> /// <remarks> /// This method should be used to connect to a given Outcast Encoder. While it is possible to connect by instantiating /// a new <see cref="Granicus.MediaManager.SDK.OutcastEncoder"/> object and manually connecting it, it is not recommended.</remarks> /// <param name="Camera">The CameraData object for the desired OutcastEncoder.</param> /// <returns>A connected and usable OutcastEncoder instance.</returns> public OutcastEncoder GetOutcastEncoder(CameraData Camera) { OutcastEncoder encoder = new OutcastEncoder(); encoder.Connect(Camera, ImpersonationToken); return encoder; }