| Index: webrtc/pc/mediasession.h
|
| diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
|
| index 06815ecba319970c117318a64d4c6d8f4ea6c3a4..68f4c370994eb7b44a3aae29da263f2c8e60dd24 100644
|
| --- a/webrtc/pc/mediasession.h
|
| +++ b/webrtc/pc/mediasession.h
|
| @@ -401,10 +401,18 @@ class VideoContentDescription : public MediaContentDescriptionImpl<VideoCodec> {
|
|
|
| class DataContentDescription : public MediaContentDescriptionImpl<DataCodec> {
|
| public:
|
| + DataContentDescription() {}
|
| +
|
| virtual ContentDescription* Copy() const {
|
| return new DataContentDescription(*this);
|
| }
|
| virtual MediaType type() const { return MEDIA_TYPE_DATA; }
|
| +
|
| + bool use_sctpmap() const { return use_sctpmap_; }
|
| + void set_use_sctpmap(bool enable) { use_sctpmap_ = enable; }
|
| +
|
| + private:
|
| + bool use_sctpmap_ = true;
|
| };
|
|
|
| // Creates media session descriptions according to the supplied codecs and
|
| @@ -456,9 +464,9 @@ class MediaSessionDescriptionFactory {
|
| const MediaSessionOptions& options,
|
| const SessionDescription* current_description) const;
|
| SessionDescription* CreateAnswer(
|
| - const SessionDescription* offer,
|
| - const MediaSessionOptions& options,
|
| - const SessionDescription* current_description) const;
|
| + const SessionDescription* offer,
|
| + const MediaSessionOptions& options,
|
| + const SessionDescription* current_description) const;
|
|
|
| private:
|
| const AudioCodecs& GetAudioCodecsForOffer(
|
|
|