This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
webrtc
/
receiver-track-should-stay-...
7 lines
101 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
End a remote MediaStreamTrack if its source is ended https://bugs.webkit.org/show_bug.cgi?id=213074 Reviewed by Eric Carlson. Source/WebCore: Make remote audio/video source observers of their webrtc source. In case the webrtc source ends, end the source, thus its related tracks as well. This is covered by the above test. Test: webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html * platform/mediastream/RealtimeIncomingAudioSource.cpp: (WebCore::RealtimeIncomingAudioSource::RealtimeIncomingAudioSource): (WebCore::RealtimeIncomingAudioSource::~RealtimeIncomingAudioSource): (WebCore::RealtimeIncomingAudioSource::startProducingData): (WebCore::RealtimeIncomingAudioSource::stopProducingData): (WebCore::RealtimeIncomingAudioSource::OnChanged): * platform/mediastream/RealtimeIncomingAudioSource.h: * platform/mediastream/RealtimeIncomingVideoSource.cpp: (WebCore::RealtimeIncomingVideoSource::RealtimeIncomingVideoSource): (WebCore::RealtimeIncomingVideoSource::~RealtimeIncomingVideoSource): (WebCore::RealtimeIncomingVideoSource::startProducingData): (WebCore::RealtimeIncomingVideoSource::stopProducingData): (WebCore::RealtimeIncomingVideoSource::OnChanged): * platform/mediastream/RealtimeIncomingVideoSource.h: * platform/mediastream/RealtimeMediaSource.cpp: (WebCore::RealtimeMediaSource::requestToEnd): (WebCore::RealtimeMediaSource::end): * platform/mediastream/RealtimeMediaSource.h: LayoutTests: * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive-expected.txt: Added. * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html: Added. Canonical link: https://commits.webkit.org/225865@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-11 17:14:07 +00:00
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
PASS Setup audio call
PASS Inactivate the audio transceiver
PASS Reactivate the audio transceiver
End a remote MediaStreamTrack if its source is ended https://bugs.webkit.org/show_bug.cgi?id=213074 Reviewed by Eric Carlson. Source/WebCore: Make remote audio/video source observers of their webrtc source. In case the webrtc source ends, end the source, thus its related tracks as well. This is covered by the above test. Test: webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html * platform/mediastream/RealtimeIncomingAudioSource.cpp: (WebCore::RealtimeIncomingAudioSource::RealtimeIncomingAudioSource): (WebCore::RealtimeIncomingAudioSource::~RealtimeIncomingAudioSource): (WebCore::RealtimeIncomingAudioSource::startProducingData): (WebCore::RealtimeIncomingAudioSource::stopProducingData): (WebCore::RealtimeIncomingAudioSource::OnChanged): * platform/mediastream/RealtimeIncomingAudioSource.h: * platform/mediastream/RealtimeIncomingVideoSource.cpp: (WebCore::RealtimeIncomingVideoSource::RealtimeIncomingVideoSource): (WebCore::RealtimeIncomingVideoSource::~RealtimeIncomingVideoSource): (WebCore::RealtimeIncomingVideoSource::startProducingData): (WebCore::RealtimeIncomingVideoSource::stopProducingData): (WebCore::RealtimeIncomingVideoSource::OnChanged): * platform/mediastream/RealtimeIncomingVideoSource.h: * platform/mediastream/RealtimeMediaSource.cpp: (WebCore::RealtimeMediaSource::requestToEnd): (WebCore::RealtimeMediaSource::end): * platform/mediastream/RealtimeMediaSource.h: LayoutTests: * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive-expected.txt: Added. * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html: Added. Canonical link: https://commits.webkit.org/225865@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-11 17:14:07 +00:00