1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "cast/streaming/frame_id.h" 6 7 namespace openscreen { 8 namespace cast { 9 operator <<(std::ostream & out,const FrameId rhs)10std::ostream& operator<<(std::ostream& out, const FrameId rhs) { 11 out << "F"; 12 if (rhs.is_null()) 13 return out << "<null>"; 14 return out << rhs.value(); 15 } 16 17 } // namespace cast 18 } // namespace openscreen 19