[webrtc] Don't start a host server to receive audio from the guest

The guest is not currently sending audio to the host, so there are no
clients connecting to this server. If such a server should be started
it should use different ports depending on the cvd instance number.

Bug: 147910720
Bug: 141887532
Test: locally
Change-Id: I7bda39e3f5b61e8538309c82985c36dd9cce9d7b
diff --git a/host/frontend/gcastv2/libsource/include/source/HostToGuestComms.h b/host/frontend/gcastv2/libsource/include/source/HostToGuestComms.h
index e3c0cef..2325608 100644
--- a/host/frontend/gcastv2/libsource/include/source/HostToGuestComms.h
+++ b/host/frontend/gcastv2/libsource/include/source/HostToGuestComms.h
@@ -26,12 +26,6 @@
 struct HostToGuestComms : std::enable_shared_from_this<HostToGuestComms> {
     using ReceiveCb = std::function<void(const void *data, size_t size)>;
 
-    // Used to carry updated framebuffers from guest to host.
-    static constexpr uint16_t kPortVideo = 5580;
-
-    // Used to carry audio data from guest to host.
-    static constexpr uint16_t kPortAudio = 8556;
-
     explicit HostToGuestComms(
             std::shared_ptr<RunLoop> runLoop,
             bool isServer,
diff --git a/host/frontend/gcastv2/webrtc/ServerState.cpp b/host/frontend/gcastv2/webrtc/ServerState.cpp
index e713135..1e8b1ca 100644
--- a/host/frontend/gcastv2/webrtc/ServerState.cpp
+++ b/host/frontend/gcastv2/webrtc/ServerState.cpp
@@ -69,23 +69,6 @@
     mAudioSource = std::make_shared<android::AudioSource>(
             android::AudioSource::Format::OPUS);
 
-    mAudioComms = std::make_shared<HostToGuestComms>(
-            mRunLoop,
-            true /* isServer */,
-            VMADDR_CID_HOST,
-            HostToGuestComms::kPortAudio,
-            [this](const void *data, size_t size) {
-                LOG(VERBOSE)
-                    << "Received packet of "
-                    << size
-                    << " bytes of data from audio HAL.";
-
-                static_cast<android::AudioSource *>(
-                        mAudioSource.get())->inject(data, size);
-            });
-
-    mAudioComms->start();
-
     CHECK_GE(FLAGS_touch_fd, 0);
 
     auto touchSink = std::make_shared<android::TouchSink>(
diff --git a/host/frontend/gcastv2/webrtc/include/webrtc/ServerState.h b/host/frontend/gcastv2/webrtc/include/webrtc/ServerState.h
index a0702f6..b98a3f4 100644
--- a/host/frontend/gcastv2/webrtc/include/webrtc/ServerState.h
+++ b/host/frontend/gcastv2/webrtc/include/webrtc/ServerState.h
@@ -67,7 +67,6 @@
 
     std::shared_ptr<StreamingSource> mAudioSource;
 
-    std::shared_ptr<HostToGuestComms> mAudioComms;
     std::shared_ptr<cvd::ScreenConnector> mScreenConnector;
     std::shared_ptr<std::thread> mScreenConnectorMonitor;