Changeset 258502 in webkit


Ignore:
Timestamp:
Mar 16, 2020 9:34:57 AM (4 years ago)
Author:
youenn@apple.com
Message:

RTCRtpSender of kind video should have a null dtmf attribute
https://bugs.webkit.org/show_bug.cgi?id=209135

Reviewed by Eric Carlson.

LayoutTests/imported/w3c:

  • web-platform-tests/webrtc/RTCRtpSender.https-expected.txt: Added.
  • web-platform-tests/webrtc/RTCRtpSender.https.html: Added.

Source/WebCore:

Test: imported/w3c/web-platform-tests/webrtc/RTCRtpSender.https.html

  • Modules/mediastream/RTCRtpSender.cpp:

(WebCore::RTCRtpSender::dtmf):

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r258499 r258502  
     12020-03-16  youenn fablet  <youenn@apple.com>
     2
     3        RTCRtpSender of kind video should have a null dtmf attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=209135
     5
     6        Reviewed by Eric Carlson.
     7
     8        * web-platform-tests/webrtc/RTCRtpSender.https-expected.txt: Added.
     9        * web-platform-tests/webrtc/RTCRtpSender.https.html: Added.
     10
    1112020-03-12  Sergio Villar Senin  <svillar@igalia.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r258498 r258502  
     12020-03-16  youenn fablet  <youenn@apple.com>
     2
     3        RTCRtpSender of kind video should have a null dtmf attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=209135
     5
     6        Reviewed by Eric Carlson.
     7
     8        Test: imported/w3c/web-platform-tests/webrtc/RTCRtpSender.https.html
     9
     10        * Modules/mediastream/RTCRtpSender.cpp:
     11        (WebCore::RTCRtpSender::dtmf):
     12
    1132020-03-13  Sergio Villar Senin  <svillar@igalia.com>
    214
  • trunk/Source/WebCore/Modules/mediastream/RTCRtpSender.cpp

    r251041 r258502  
    143143RTCDTMFSender* RTCRtpSender::dtmf()
    144144{
    145     if (!m_dtmfSender && m_connection && m_connection->context() && m_backend)
     145    if (!m_dtmfSender && m_connection && m_connection->context() && m_backend && m_trackKind == "audio")
    146146        m_dtmfSender = RTCDTMFSender::create(*m_connection->context(), *this, m_backend->createDTMFBackend());
    147147
Note: See TracChangeset for help on using the changeset viewer.