aboutsummaryrefslogtreecommitdiff
path: root/cast/standalone_sender/BUILD.gn
diff options
context:
space:
mode:
authorJordan Bayles <jophba@chromium.org>2021-07-01 15:13:23 -0700
committerOpenscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-07-01 22:52:43 +0000
commit2e2730fe0190f72dadd631176d2f380b4a6186a8 (patch)
tree16948b153573e25eafe4dfc986de016013faeed3 /cast/standalone_sender/BUILD.gn
parentf2d9d267c1363c42d6eef6f9190033af98fb236b (diff)
downloadopenscreen-2e2730fe0190f72dadd631176d2f380b4a6186a8.tar.gz
[Cast Streaming] Add codec negotiation over RPC
This patch adds support for negotiating codec information over the RPC messenger class for both the standalone sender and receiver. Although a full remoting implementation in the standalone implementations is not a goal and not particularly practical, it is important that we exercise the public remoting APIs and get basic usage and flows handled in our library. To that end, this patch specifically adds support for sending RPC_DS_INITIALIZE and RPC_DS_INITIALIZE_CALLBACK messages, simulating the process of setting up a remoting media stream and demuxer in Chrome. NOTE: this does not enable "true" remoting--the standalone sender is still decoding and reencoding the video. For "true" remoting support we need the ability to unpack raw frames (probably exclusively from a WebM container that holds VP8 frames) and pass them directly. In future patches, we can also consider adding additional features to the standalone implementation, such as play/pause and volume control methods. Bug: b/190078859 Change-Id: I49c2acb537aa3c647b8c3a53c9545f5eb3893982 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2973373 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Diffstat (limited to 'cast/standalone_sender/BUILD.gn')
-rw-r--r--cast/standalone_sender/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/cast/standalone_sender/BUILD.gn b/cast/standalone_sender/BUILD.gn
index afa73d7d..780e0609 100644
--- a/cast/standalone_sender/BUILD.gn
+++ b/cast/standalone_sender/BUILD.gn
@@ -49,6 +49,8 @@ if (!build_with_chromium) {
"looping_file_sender.h",
"receiver_chooser.cc",
"receiver_chooser.h",
+ "remoting_sender.cc",
+ "remoting_sender.h",
"simulated_capturer.cc",
"simulated_capturer.h",
"streaming_opus_encoder.cc",