Currently, it is not the case and muted state is not respected.
Created attachment 311622 [details] Patch
<rdar://problem/32493091>
Comment on attachment 311622 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311622&action=review > Source/WebCore/platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp:105 > + if (!m_muted && m_enabled && m_blackFrameTimer.isActive()) { > + m_blackFrameTimer.stop(); > return; > } > - if (m_blackFrameTimer.isActive()) > - m_blackFrameTimer.stop(); > + > + sendBlackFramesIfNeeded(); I would be nice to factor this into a function that can be shared with sourceMutedChanged.
Created attachment 311625 [details] Patch
Thanks for the review. (In reply to Eric Carlson from comment #3) > Comment on attachment 311622 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=311622&action=review > > > Source/WebCore/platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp:105 > > + if (!m_muted && m_enabled && m_blackFrameTimer.isActive()) { > > + m_blackFrameTimer.stop(); > > return; > > } > > - if (m_blackFrameTimer.isActive()) > > - m_blackFrameTimer.stop(); > > + > > + sendBlackFramesIfNeeded(); > > I would be nice to factor this into a function that can be shared with > sourceMutedChanged. Done.
Comment on attachment 311625 [details] Patch Clearing flags on attachment: 311625 Committed r217624: <http://trac.webkit.org/changeset/217624>
All reviewed patches have been landed. Closing bug.