Add a new message "decrypt-key-needed" that the decryptor can send when it doesn't have an available key. This message should be handled by the application in order to dispatch or send the key to the decryptor. This patch is a preparation for the patch 181855. With the patch 181855, the decryptor will be in the PlaybackPipeline instead of AppendPipeline, thus we can get the DRM license or key before to instantiate or load the decryptor plugin in PlaybackPipeline. When the decryptor plugin is instantiated or loaded, it should able to ask the application to resend the DRM license or key by using this new message "decrypt-key-needed".
Created attachment 331738 [details] Patch
Comment on attachment 331738 [details] Patch r- due to failed GTK EWS. Please try to fix the build there. https://webkit-queues.webkit.org/results/6136390
Created attachment 331918 [details] Patch
Created attachment 331919 [details] Patch
Comment on attachment 331919 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=331919&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:1212 > + // This function dispatches the CDMInstance in GStreamer pipeline playback. pipeline playback -> playback pipeline.
Created attachment 338876 [details] Patch
Comment on attachment 338876 [details] Patch Clearing flags on attachment: 338876 Committed r231088: <https://trac.webkit.org/changeset/231088>
All reviewed patches have been landed. Closing bug.