www.pudn.com > NetAudioVideo.v3.0.rar > Unit1.pas
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SendG729, StdCtrls, IdBaseComponent, IdComponent, IdUDPBase,
IdUDPClient, ACMWaveIn;
type
TForm1 = class(TForm)
SendG7291: TSendG729;
ACMWaveIn1: TACMWaveIn;
IdUDPClient1: TIdUDPClient;
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
IdUDPClient1.Host := Edit1.Text;
IdUDPClient1.Active := true;
SendG7291.SendAudio();
end;
end.