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

Side by Side Diff: talk/session/media/mediasession.h

Issue 1303393002: Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)." becau… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add memcheck suppression Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/webrtcsessiondescriptionfactory.cc ('k') | talk/session/media/mediasession.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 const ContentInfo* GetFirstAudioContent(const SessionDescription* sdesc); 540 const ContentInfo* GetFirstAudioContent(const SessionDescription* sdesc);
541 const ContentInfo* GetFirstVideoContent(const SessionDescription* sdesc); 541 const ContentInfo* GetFirstVideoContent(const SessionDescription* sdesc);
542 const ContentInfo* GetFirstDataContent(const SessionDescription* sdesc); 542 const ContentInfo* GetFirstDataContent(const SessionDescription* sdesc);
543 const AudioContentDescription* GetFirstAudioContentDescription( 543 const AudioContentDescription* GetFirstAudioContentDescription(
544 const SessionDescription* sdesc); 544 const SessionDescription* sdesc);
545 const VideoContentDescription* GetFirstVideoContentDescription( 545 const VideoContentDescription* GetFirstVideoContentDescription(
546 const SessionDescription* sdesc); 546 const SessionDescription* sdesc);
547 const DataContentDescription* GetFirstDataContentDescription( 547 const DataContentDescription* GetFirstDataContentDescription(
548 const SessionDescription* sdesc); 548 const SessionDescription* sdesc);
549 549
550 // Functions for translating media candidate names.
551
552 // For converting between media ICE component and G-ICE channel
553 // names. For example:
554 // "rtp" <=> 1
555 // "rtcp" <=> 2
556 // "video_rtp" <=> 1
557 // "video_rtcp" <=> 2
558 // Will not convert in the general case of arbitrary channel names,
559 // but is useful for cases where we have candidates for media
560 // channels.
561 // returns false if there is no mapping.
562 bool GetMediaChannelNameFromComponent(
563 int component, cricket::MediaType media_type, std::string* channel_name);
564 bool GetMediaComponentFromChannelName(
565 const std::string& channel_name, int* component);
566 bool GetMediaTypeFromChannelName(
567 const std::string& channel_name, cricket::MediaType* media_type);
568
569 void GetSupportedAudioCryptoSuites(std::vector<std::string>* crypto_suites); 550 void GetSupportedAudioCryptoSuites(std::vector<std::string>* crypto_suites);
570 void GetSupportedVideoCryptoSuites(std::vector<std::string>* crypto_suites); 551 void GetSupportedVideoCryptoSuites(std::vector<std::string>* crypto_suites);
571 void GetSupportedDataCryptoSuites(std::vector<std::string>* crypto_suites); 552 void GetSupportedDataCryptoSuites(std::vector<std::string>* crypto_suites);
572 void GetSupportedDefaultCryptoSuites(std::vector<std::string>* crypto_suites); 553 void GetSupportedDefaultCryptoSuites(std::vector<std::string>* crypto_suites);
573 } // namespace cricket 554 } // namespace cricket
574 555
575 #endif // TALK_SESSION_MEDIA_MEDIASESSION_H_ 556 #endif // TALK_SESSION_MEDIA_MEDIASESSION_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/webrtcsessiondescriptionfactory.cc ('k') | talk/session/media/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698