private DummySink(UsageEnvironment env, MediaSubsession subsession, string streamId) : base(env) { fSubsession = subsession; fStreamId = streamId; fReceiveBuffer = new string('\0', RECEIVE_BUFFER_SIZE); }
/// <summary> /// Initialize the Argon2 PasswordHasher with default performance and algorithm settings based upon the environment the hashing will be used in. /// You should perform your own profiling to determine what the parameters should be for your specific usage; however, this attempts to provide /// some reasonable defaults. /// <param name="environment">Whether the PasswordHasher will be used in a server or single-user setting</param> /// </summary> public PasswordHasher(UsageEnvironment environment) { switch (environment) { case UsageEnvironment.Server: TimeCost = 3; MemoryCost = 8192; Parallelism = 1; break; case UsageEnvironment.SingleUser: TimeCost = 10; MemoryCost = 131072; Parallelism = 2; break; } ArgonType = Argon2Type.Argon2i; HashLength = 32; StringEncoding = Encoding.UTF8; }
/// <summary> /// Initialize the Argon2 PasswordHasher with default performance and algorithm settings based upon the environment the hashing will be used in. /// You should perform your own profiling to determine what the parameters should be for your specific usage; however, this attempts to provide /// some reasonable defaults. /// <param name="environment">Whether the PasswordHasher will be used in a server or single-user setting</param> /// </summary> public PasswordHasher(UsageEnvironment environment) { switch (environment) { case UsageEnvironment.Server: TimeCost = 3; MemoryCost = 8192; Parallelism = 1; break; case UsageEnvironment.SingleUser: TimeCost = 10; MemoryCost = 131072; Parallelism = 2; break; } ArgonType = Argon2Type.Argon2i; HashLength = 32; StringEncoding = Encoding.UTF8; }
public OurRtspClient(UsageEnvironment env, string rtspURL, int verbosityLevel, string applicationName, ushort tunnelOverHTTPPortNum) : base(env, rtspURL, verbosityLevel, applicationName, tunnelOverHTTPPortNum) { }
public static MediaSink CreateNew(UsageEnvironment env, MediaSubsession subsession, string streamId) { return(new DummySink(env, subsession, streamId)); }
protected DummySink(UsageEnvironment env) : base(env) { }
public OurRtspClient(UsageEnvironment env, string rtspURL, int verbosityLevel, string applicationName, ushort tunnelOverHTTPPortNum) : base(env, rtspURL, verbosityLevel, applicationName, tunnelOverHTTPPortNum) { }