A realtime media source should begin producing data when it is added to a stream. Remove RealtimeMediaSource::setEnabled and RealtimeMediaSource::enabled and associated callbacks because a source does not have an "enabled" state, only "muted".
<rdar://problem/23380636>
Created attachment 264718 [details] Proposed patch.
Looks good to me
Comment on attachment 264718 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=264718&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:456 > > + characteristicsChanged(); > m_readyState = readyState; > Do you maybe want to throw the characteristicsChanged() notification _after_ updating the ready state? Because if anyone checks ready state from within that call, they'll see it as unchanged.
Created attachment 264793 [details] Patch for landing.
Comment on attachment 264793 [details] Patch for landing. Clearing flags on attachment: 264793 Committed r192028: <http://trac.webkit.org/changeset/192028>