Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Unified Diff: webrtc/pc/mediasession.cc

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webrtc/api/mediatype.cc ('K') | « webrtc/pc/mediasession.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/mediasession.cc
diff --git a/webrtc/pc/mediasession.cc b/webrtc/pc/mediasession.cc
index f91a7297204541d7fcf24b82b053273e9dc614f6..3e007ce06ee4abb104904891af52cebfac54d09d 100644
--- a/webrtc/pc/mediasession.cc
+++ b/webrtc/pc/mediasession.cc
@@ -1164,25 +1164,6 @@ static bool IsDtlsActive(
return current_tdesc->secure();
}
-std::string MediaTypeToString(MediaType type) {
- std::string type_str;
- switch (type) {
- case MEDIA_TYPE_AUDIO:
- type_str = "audio";
- break;
- case MEDIA_TYPE_VIDEO:
- type_str = "video";
- break;
- case MEDIA_TYPE_DATA:
- type_str = "data";
- break;
- default:
- ASSERT(false);
- break;
- }
- return type_str;
-}
-
std::string MediaContentDirectionToString(MediaContentDirection direction) {
std::string dir_str;
switch (direction) {
« webrtc/api/mediatype.cc ('K') | « webrtc/pc/mediasession.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698