diff options
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-15 09:35:06 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-15 09:35:06 +0000 |
commit | 7e68693b6862ad571ea422828b12f102aeea0a15 (patch) | |
tree | 087da2edc6172ae079fc18e92737910a97d006e1 /video_send_stream.h | |
parent | 3362d4237f3f92c15a275878061ce02f28b204c2 (diff) | |
download | webrtc-7e68693b6862ad571ea422828b12f102aeea0a15.tar.gz |
Add ToString() to VideoSendStream::Config.
Adds ToString() to subsequent parts as well as a common.gyp to define
ToString() methods for config.h. VideoStream is also moved to config.h.
BUG=3171
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/11329004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6170 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_send_stream.h')
-rw-r--r-- | video_send_stream.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/video_send_stream.h b/video_send_stream.h index aa027b0e..1a94121d 100644 --- a/video_send_stream.h +++ b/video_send_stream.h @@ -64,9 +64,13 @@ class VideoSendStream { target_delay_ms(0), pacing(false), suspend_below_min_bitrate(false) {} + std::string ToString() const; + struct EncoderSettings { EncoderSettings() : payload_type(-1), encoder(NULL), encoder_settings(NULL) {} + std::string ToString() const; + std::string payload_name; int payload_type; @@ -87,6 +91,7 @@ class VideoSendStream { Rtp() : max_packet_size(kDefaultMaxPacketSize), min_transmit_bitrate_bps(0) {} + std::string ToString() const; std::vector<uint32_t> ssrcs; @@ -111,6 +116,7 @@ class VideoSendStream { // details. struct Rtx { Rtx() : payload_type(0) {} + std::string ToString() const; // SSRCs to use for the RTX streams. std::vector<uint32_t> ssrcs; @@ -136,7 +142,7 @@ class VideoSendStream { // Expected delay needed by the renderer, i.e. the frame will be delivered // this many milliseconds, if possible, earlier than expected render time. - // Only valid if |renderer| is set. + // Only valid if |local_renderer| is set. int render_delay_ms; // Target delay in milliseconds. A positive value indicates this stream is |