Rename VideoCall to Call.
Call should encompass more than video, there's no point in calling it
VideoCall.
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2191005
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4704 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/new_include/video_call.h b/video_engine/new_include/call.h
similarity index 84%
rename from video_engine/new_include/video_call.h
rename to video_engine/new_include/call.h
index 96a93e5..6650216 100644
--- a/video_engine/new_include/video_call.h
+++ b/video_engine/new_include/call.h
@@ -7,8 +7,8 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_VIDEO_CALL_H_
-#define WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_VIDEO_CALL_H_
+#ifndef WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_CALL_H_
+#define WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_CALL_H_
#include <string>
#include <vector>
@@ -31,10 +31,10 @@
virtual ~PacketReceiver() {}
};
-// A VideoCall instance can contain several send and/or receive streams. All
-// streams are assumed to have the same remote endpoint and will share bitrate
-// estimates etc.
-class VideoCall {
+// A Call instance can contain several send and/or receive streams. All streams
+// are assumed to have the same remote endpoint and will share bitrate estimates
+// etc.
+class Call {
public:
struct Config {
explicit Config(newapi::Transport* send_transport)
@@ -47,14 +47,14 @@
newapi::Transport* send_transport;
bool overuse_detection;
- // VoiceEngine used for audio/video synchronization for this VideoCall.
+ // VoiceEngine used for audio/video synchronization for this Call.
VoiceEngine* voice_engine;
TraceCallback* trace_callback;
uint32_t trace_filter;
};
- static VideoCall* Create(const VideoCall::Config& config);
+ static Call* Create(const Call::Config& config);
virtual std::vector<VideoCodec> GetVideoCodecs() = 0;
@@ -76,7 +76,7 @@
// All received RTP and RTCP packets for the call should be inserted to this
// PacketReceiver. The PacketReceiver pointer is valid as long as the
- // VideoCall instance exists.
+ // Call instance exists.
virtual PacketReceiver* Receiver() = 0;
// Returns the estimated total send bandwidth. Note: this can differ from the
@@ -87,8 +87,8 @@
// differ from the actual receive bitrate.
virtual uint32_t ReceiveBitrateEstimate() = 0;
- virtual ~VideoCall() {}
+ virtual ~Call() {}
};
} // namespace webrtc
-#endif // WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_VIDEO_CALL_H_
+#endif // WEBRTC_VIDEO_ENGINE_NEW_INCLUDE_CALL_H_