Skip to content

Commit

Permalink
[misc] just use UDP only
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang-ray committed Dec 21, 2018
1 parent d8b7765 commit 438f0db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ after_build:
test_script: #sanity check
- ..\easy-voice-call\EasyVoiceCall.Client.Windows.Installer.exe /S /D # silently, default
- cd "C:\Program Files (x86)\EasyVoiceCall\"
- ps: Start-Process -FilePath "EasyVoiceCall.Server.Windows.exe" -ArgumentList "raw_tcp 1222 echo" -PassThru
- ps: Start-Process -FilePath "EasyVoiceCall.Server.Windows.exe" -ArgumentList "raw_udp 1222 echo" -PassThru
- ps: Start-Process -FilePath "EasyVoiceCall.Server.Windows.exe" -ArgumentList "1222 echo" -PassThru
- ps: Start-Process -FilePath "EasyVoiceCall.exe" -PassThru
- ps: Start-FileDownload 'https://github.com/zhang-ray/playground-github/releases/download/voice_material/mono16le16kHz.pcm'
- move mono16le16kHz.pcm audioInStub.pcm
Expand Down
3 changes: 1 addition & 2 deletions scripts/mac.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ make -j3 || exit 1


############ sanity check ############
(./server/server raw_tcp 1222 echo &) || exit 1
(./server/server raw_udp 1222 echo &) || exit 1
(./server/server 1222 echo &) || exit 1
wget https://github.com/zhang-ray/playground-github/releases/download/voice_material/mono16le16kHz.pcm -O audioInStub.pcm || exit 1
./tests/sanity_check/sanity_check_audio || exit 1 # use 127.0.0.1:1222

Expand Down
3 changes: 1 addition & 2 deletions scripts/ubuntu.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ cp EasyVoiceCall.Server.Linux-x86_64.AppImage ../../

############ sanity check ############
chmod +x EasyVoiceCall.Server.Linux-x86_64.AppImage
(./EasyVoiceCall.Server.Linux-x86_64.AppImage raw_tcp 1222 echo &) || exit 1
(./EasyVoiceCall.Server.Linux-x86_64.AppImage raw_udp 1222 echo &) || exit 1
(./EasyVoiceCall.Server.Linux-x86_64.AppImage 1222 echo &) || exit 1
2 changes: 1 addition & 1 deletion tests/sanity_check/audio/Entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace {
boost::property_tree::ptree root_;
public:
Case() {
root_.put("protocol", "raw_tcp");
root_.put("protocol", "raw_udp");
root_.put("server.host", "127.0.0.1");
root_.put("server.port", "1222");
root_.put("needRealAudioEndpoint", false);
Expand Down

0 comments on commit 438f0db

Please sign in to comment.