Changeset 202043 in webkit


Ignore:
Timestamp:
Jun 14, 2016 8:13:20 AM (8 years ago)
Author:
adam.bergkvist@ericsson.com
Message:

WebRTC: Add media setup test where media is set up in one direction at a time
https://bugs.webkit.org/show_bug.cgi?id=158691

Reviewed by Eric Carlson.

Source/WebCore:

Add test for setting up media in one direction at a time. This requires a change in sdp.js
to allow an SDP that doesn't contain a stream id or track id (representing
a track being sent). In this test, the first answer doesn't contain any sending media.

Test: fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html

  • Modules/mediastream/sdp.js:

LayoutTests:

Test setting up media in one direction at a time. This is achieved by first negotiating
media in one direction. In a second step, an updated offer is sent to add bi-directional
media.

  • fast/mediastream/RTCPeerConnection-media-setup-two-dialogs-expected.txt: Added.
  • fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html: Added.
  • platform/mac/TestExpectations:

The mac port is not building with WEB_RTC yet.

Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202026 r202043  
     12016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
     2
     3        WebRTC: Add media setup test where media is set up in one direction at a time
     4        https://bugs.webkit.org/show_bug.cgi?id=158691
     5
     6        Reviewed by Eric Carlson.
     7
     8        Test setting up media in one direction at a time. This is achieved by first negotiating
     9        media in one direction. In a second step, an updated offer is sent to add bi-directional
     10        media.
     11
     12        * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs-expected.txt: Added.
     13        * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html: Added.
     14        * platform/mac/TestExpectations:
     15        The mac port is not building with WEB_RTC yet.
     16
    1172016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
    218
  • trunk/LayoutTests/platform/mac/TestExpectations

    r201999 r202043  
    197197fast/mediastream/RTCPeerConnection-inspect-answer.html
    198198fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html
     199fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html
    199200
    200201# Asserts in debug.
  • trunk/Source/WebCore/ChangeLog

    r202042 r202043  
     12016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
     2
     3        WebRTC: Add media setup test where media is set up in one direction at a time
     4        https://bugs.webkit.org/show_bug.cgi?id=158691
     5
     6        Reviewed by Eric Carlson.
     7
     8        Add test for setting up media in one direction at a time. This requires a change in sdp.js
     9        to allow an SDP that doesn't contain a stream id or track id (representing
     10        a track being sent). In this test, the first answer doesn't contain any sending media.
     11
     12        Test: fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html
     13
     14        * Modules/mediastream/sdp.js:
     15
    1162016-06-14  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebCore/Modules/mediastream/sdp.js

    r201728 r202043  
    539539    var expectedProperties = {
    540540        "session": [ "version", "originator", "sessionName", "startTime", "stopTime" ],
    541         "mline": [ "type", "port", "protocol", "mode", "payloads", "rtcp", "mediaStreamId",
    542             "mediaStreamTrackId", "dtls", "ssrcs", "cname", "ice" ],
     541        "mline": [ "type", "port", "protocol", "mode", "payloads", "rtcp", "dtls", "ice" ],
    543542        "mlineSubObjects": {
    544543            "rtcp": [ "mux" ],
Note: See TracChangeset for help on using the changeset viewer.