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

Unified Diff: webrtc/pc/mediasession.cc

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 months 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
« no previous file with comments | « webrtc/pc/mediasession.h ('k') | webrtc/pc/mediastream.h » ('j') | 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 5e6942384ad734c0f8bfaa6be338bf8028e75540..910c72b2f0af976efbd41970d3ab12547add92b8 100644
--- a/webrtc/pc/mediasession.cc
+++ b/webrtc/pc/mediasession.cc
@@ -1193,25 +1193,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:
- RTC_NOTREACHED();
- break;
- }
- return type_str;
-}
-
std::string MediaContentDirectionToString(MediaContentDirection direction) {
std::string dir_str;
switch (direction) {
« no previous file with comments | « webrtc/pc/mediasession.h ('k') | webrtc/pc/mediastream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698