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
/
audio-muted-stats-expected.txt
4 lines
59 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
WebRTC: silence data not sent for disabled audio track https://bugs.webkit.org/show_bug.cgi?id=174456 <rdar://problem/33284623> Patch by Youenn Fablet <youenn@apple.com> on 2017-07-14 Reviewed by Eric Carlson. Source/WebCore: Test: webrtc/audio-muted-stats.html webrtc/audio-muted-stats2.html Adding a timer-based approach to send 10ms of silence every second. This is consistent with how muted video tracks are implemented. In case the audio track is muted at the time it is added, no silence data is sent. * platform/mediastream/mac/RealtimeOutgoingAudioSource.cpp: (WebCore::RealtimeOutgoingAudioSource::RealtimeOutgoingAudioSource): (WebCore::RealtimeOutgoingAudioSource::initializeConverter): (WebCore::RealtimeOutgoingAudioSource::stop): (WebCore::RealtimeOutgoingAudioSource::sourceMutedChanged): (WebCore::RealtimeOutgoingAudioSource::sourceEnabledChanged): (WebCore::RealtimeOutgoingAudioSource::handleMutedIfNeeded): (WebCore::RealtimeOutgoingAudioSource::sendSilence): * platform/mediastream/mac/RealtimeOutgoingAudioSource.h: LayoutTests: * webrtc/audio-muted-stats-expected.txt: Added. * webrtc/audio-muted-stats.html: Added. * webrtc/audio-muted-stats2-expected.txt: Added. * webrtc/audio-muted-stats2.html: Added. Canonical link: https://commits.webkit.org/191346@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-14 21:43:35 +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 Audio silent data being sent in case track is muted
WebRTC: silence data not sent for disabled audio track https://bugs.webkit.org/show_bug.cgi?id=174456 <rdar://problem/33284623> Patch by Youenn Fablet <youenn@apple.com> on 2017-07-14 Reviewed by Eric Carlson. Source/WebCore: Test: webrtc/audio-muted-stats.html webrtc/audio-muted-stats2.html Adding a timer-based approach to send 10ms of silence every second. This is consistent with how muted video tracks are implemented. In case the audio track is muted at the time it is added, no silence data is sent. * platform/mediastream/mac/RealtimeOutgoingAudioSource.cpp: (WebCore::RealtimeOutgoingAudioSource::RealtimeOutgoingAudioSource): (WebCore::RealtimeOutgoingAudioSource::initializeConverter): (WebCore::RealtimeOutgoingAudioSource::stop): (WebCore::RealtimeOutgoingAudioSource::sourceMutedChanged): (WebCore::RealtimeOutgoingAudioSource::sourceEnabledChanged): (WebCore::RealtimeOutgoingAudioSource::handleMutedIfNeeded): (WebCore::RealtimeOutgoingAudioSource::sendSilence): * platform/mediastream/mac/RealtimeOutgoingAudioSource.h: LayoutTests: * webrtc/audio-muted-stats-expected.txt: Added. * webrtc/audio-muted-stats.html: Added. * webrtc/audio-muted-stats2-expected.txt: Added. * webrtc/audio-muted-stats2.html: Added. Canonical link: https://commits.webkit.org/191346@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-14 21:43:35 +00:00