aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/frame_id.cc
blob: 3dd4951852b7b7f8fcd02a17db35fafa14f539a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cast/streaming/frame_id.h"

namespace openscreen {
namespace cast {

std::ostream& operator<<(std::ostream& out, const FrameId rhs) {
  out << "F";
  if (rhs.is_null())
    return out << "<null>";
  return out << rhs.value();
}

}  // namespace cast
}  // namespace openscreen