SetOption

Top  Previous  Next

SetOption(OptName, OptValue: Cardinal);   - Delphi syntax

SetOption(int OptName, uint OptValue); - C# syntax

SetOption(OptName As Integer, OptValue As UInt32); - VB.NET syntax

HRESULT SetOption([in] LONG OptName, [in] LONG OptValue); - IDL/COM syntax

 

Sets the option OptName to value OptValue.

 

Note that Video options are valid only for ASTA SIP 2.0 for Video.

 

OptSIPPacketEdit

Enables/disables the ability to hook SIP messages AND edit them. You don't need to enable it for read-only hooking SIP messages.

This option is disabled by default.

The possible values are OptTrue (1) or OptFalse(0)

OptVideoFrameRate

This setting adjust the capture frame rate (number of frames per second)  from video capture device (webcamera usually). The default setting is 10 frames per second. Please be aware this option will take effect only on 2.x builds.

OptVideoBaseFrameInterval

This setting adjust the interval (in seconds) between video I-frame sending. The default value is 1 second. Please be aware this option will take effect only on 2.x builds.

OptEnableTcp

This setting enables the SIP TCP transport.

The possible values are OptTrue (1) or OptFalse(0)

OptEnableDirectSound

This setting enables or disables the use of DirectSound devices for audio input and output. By default the used audio devices are Windows multimedia device. This option may alter this behaviour. Please be aware this option will take effect only on 2.x builds.