diff options
author | Jordan Bayles <jophba@chromium.org> | 2020-09-21 09:02:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-21 17:39:18 +0000 |
commit | 867358ee772e2c547c4d589e5594dc09a2c68beb (patch) | |
tree | c2ee5d1e0068fff390111e159763c6ae7579448d /cast/common | |
parent | 7159d1a56e7d1f4aeee4be1ba85bbb766ac71c79 (diff) | |
download | openscreen-867358ee772e2c547c4d589e5594dc09a2c68beb.tar.gz |
[Cast Streaming] Implement sender session class
This patch adds a new SenderSession class along with unit testing for
this class.
Embedders can create an instance of this class in order to start a
streaming session with an already known receiver. The embedder is
expected to have a valid TLS connection already established with
the receiver.
Bug: b/162542753
Change-Id: Ia91df728d947e1fa20ed0b360f595f75d41bf11c
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2378540
Reviewed-by: Jordan Bayles <jophba@chromium.org>
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'cast/common')
-rw-r--r-- | cast/common/BUILD.gn | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/cast/common/BUILD.gn b/cast/common/BUILD.gn index 07ac9b71..8a03f937 100644 --- a/cast/common/BUILD.gn +++ b/cast/common/BUILD.gn @@ -19,9 +19,7 @@ source_set("certificate") { "certificate/types.cc", "certificate/types.h", ] - public_deps = [ - "../../third_party/boringssl", - ] + public_deps = [ "../../third_party/boringssl" ] deps = [ "../../platform", @@ -50,9 +48,7 @@ source_set("channel") { "public/cast_socket.h", ] - deps = [ - "certificate/proto:certificate_proto", - ] + deps = [ "certificate/proto:certificate_proto" ] public_deps = [ "../../platform", @@ -81,9 +77,7 @@ if (!build_with_chromium) { testonly = true if (!is_mac) { - sources = [ - "discovery/e2e_test/tests.cc", - ] + sources = [ "discovery/e2e_test/tests.cc" ] } deps = [ @@ -152,18 +146,12 @@ source_set("unittests") { "channel/proto:channel_proto", ] - data = [ - "../../test/data/cast/common/certificate/", - ] + data = [ "../../test/data/cast/common/certificate/" ] } openscreen_fuzzer_test("message_framer_fuzzer") { - sources = [ - "channel/message_framer_fuzzer.cc", - ] - deps = [ - ":channel", - ] + sources = [ "channel/message_framer_fuzzer.cc" ] + deps = [ ":channel" ] seed_corpus = "channel/message_framer_fuzzer_seeds" |