Default constructor.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public AudioIn_RTP( AudioInDevice audioInDevice, int audioFrameSize, Dictionary<int, AudioCodec> codecs, RTP_SendStream stream )
Public Sub New ( audioInDevice As AudioInDevice, audioFrameSize As Integer, codecs As Dictionary(Of Integer, AudioCodec), stream As RTP_SendStream )
public: AudioIn_RTP( AudioInDevice^ audioInDevice, int audioFrameSize, Dictionary<int, AudioCodec^>^ codecs, RTP_SendStream^ stream )
new : audioInDevice : AudioInDevice * audioFrameSize : int * codecs : Dictionary<int, AudioCodec> * stream : RTP_SendStream -> AudioIn_RTP
Parameters
- audioInDevice (AudioInDevice)
- Audio-in device to capture.
- audioFrameSize (Int32)
- Audio frame size in milliseconds.
- codecs (Dictionary<(Of <(<'Int32, AudioCodec>)>)>)
- Audio codecs with RTP payload number. For example: 0-PCMU,8-PCMA.
- stream (RTP_SendStream)
- RTP stream to use for audio sending.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when audioInDevice,codecs or stream is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119