This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ std::string MediaTypeToString(MediaType type) {
2727 return kMediaTypeVideo ;
2828 case MEDIA_TYPE_DATA:
2929 return kMediaTypeData ;
30+ case MEDIA_TYPE_SCREEN:
31+ return kMediaTypeScreen ;
3032 case MEDIA_TYPE_UNSUPPORTED:
3133 // Unsupported media stores the m=<mediatype> differently.
3234 RTC_NOTREACHED ();
Original file line number Diff line number Diff line change @@ -539,6 +539,8 @@ class RTC_EXPORT PortAllocator : public sigslot::has_slots<> {
539539
540540 min_audio_port_ = min_port;
541541 max_audio_port_ = max_port;
542+
543+ return true ;
542544 }
543545
544546 bool SetVideoPortRange (int min_port, int max_port) {
@@ -549,6 +551,8 @@ class RTC_EXPORT PortAllocator : public sigslot::has_slots<> {
549551
550552 min_video_port_ = min_port;
551553 max_video_port_ = max_port;
554+
555+ return true ;
552556 }
553557
554558 bool SetScreenPortRange (int min_port, int max_port) {
@@ -559,6 +563,8 @@ class RTC_EXPORT PortAllocator : public sigslot::has_slots<> {
559563
560564 min_screen_port_ = min_port;
561565 max_screen_port_ = max_port;
566+
567+ return true ;
562568 }
563569
564570 bool SetDataPortRange (int min_port, int max_port) {
@@ -569,6 +575,8 @@ class RTC_EXPORT PortAllocator : public sigslot::has_slots<> {
569575
570576 min_data_port_ = min_port;
571577 max_data_port_ = max_port;
578+
579+ return true ;
572580 }
573581 // Can be used to change the default numer of IPv6 network interfaces used
574582 // (5). Can set to INT_MAX to effectively disable the limit.
You can’t perform that action at this time.
0 commit comments