Implement RsdparsaSdpMediaSection::SetPort(unsigned int port) Rust SDP Parser bindings

RESOLVED FIXED in Firefox 62

Status

()

enhancement
P3
normal
RESOLVED FIXED
Last year
Last year

People

(Reporter: dminor, Assigned: johannes.willbold)

Tracking

(Blocks 1 bug)

58 Branch
mozilla62
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox62 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

Last year
No description provided.
Reporter

Updated

Last year
Summary: Implement RustSdpMediaSection::SetPort(unsigned int port) Rust SDP Parser bindings → Implement RsdparsaSdpMediaSection::SetPort(unsigned int port) Rust SDP Parser bindings
Assignee: nobody → johannes.willbold
Comment hidden (mozreview-request)
Reporter

Comment 2

Last year
mozreview-review
Comment on attachment 8983239 [details]
Bug 1433093: Implemented RsdparsaSdpMediaSection::SetPort.

https://reviewboard.mozilla.org/r/249120/#review255466

::: media/webrtc/signaling/gtest/sdp_unittests.cpp:3925
(Diff revision 1)
> +           "a=sendonly" CRLF,
> +           false);
> +
> +   ASSERT_TRUE(!!mSdp) << "Parse failed: " << GetParseErrors();
> +
> +   auto currentPort = mSdp->GetMediaSection(0).GetPort();

Might as well check the value of currentPort here.

::: media/webrtc/signaling/src/sdp/RsdparsaSdpMediaSection.cpp:62
(Diff revision 1)
>  }
>  
>  void
>  RsdparsaSdpMediaSection::SetPort(unsigned int port)
>  {
> -  // TODO, see Bug 1433093
> +  sdp_set_media_port(mSection,port);

nit: please add a space after the comma
Attachment #8983239 - Flags: review?(dminor) → review+
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 5

Last year
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/autoland/rev/91ef628a1f06
Implemented RsdparsaSdpMediaSection::SetPort. r=dminor

Comment 6

Last year
bugherder
https://hg.mozilla.org/mozilla-central/rev/91ef628a1f06
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.