Changeset 287067 in webkit
- Timestamp:
- Dec 15, 2021, 1:36:17 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/webrtc/addTransceiver-then-addTrack-expected.txt (added)
-
LayoutTests/webrtc/addTransceiver-then-addTrack.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r287063 r287067 1 2021-12-15 Youenn Fablet <youenn@apple.com> 2 3 Make sure to start a realtime outgoing source in case it is taken to another sender 4 https://bugs.webkit.org/show_bug.cgi?id=234296 5 <rdar://86276497> 6 7 Reviewed by Eric Carlson. 8 9 * webrtc/addTransceiver-then-addTrack-expected.txt: Added. 10 * webrtc/addTransceiver-then-addTrack.html: Added. 11 1 12 2021-12-14 Joonghun Park <jh718.park@samsung.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r287066 r287067 1 2021-12-15 Youenn Fablet <youenn@apple.com> 2 3 Make sure to start a realtime outgoing source in case it is taken to another sender 4 https://bugs.webkit.org/show_bug.cgi?id=234296 5 <rdar://86276497> 6 7 Reviewed by Eric Carlson. 8 9 We are asynchronously starting libwebrtc sources. 10 When a sender is created first and is assigned a source later, we take the source and assign it to the sender. 11 In that case, the source might not be started and we will not send any data. 12 13 Test: webrtc/addTransceiver-then-addTrack.html 14 15 * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: 16 1 17 2021-12-15 Antoine Quint <graouts@webkit.org> 2 18 -
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp
r284057 r287067 191 191 { 192 192 stopSource(); 193 m_source = WTFMove(source);193 m_source = std::exchange(source, nullptr); 194 194 startSource(); 195 195 } … … 198 198 { 199 199 ASSERT(backend.hasSource()); 200 stopSource(); 201 m_source = WTFMove(backend.m_source); 202 backend.m_source = nullptr; 200 setSource(WTFMove(backend.m_source)); 203 201 } 204 202
Note:
See TracChangeset
for help on using the changeset viewer.