15 #ifndef SHAKA_EMBEDDED_JS_EME_MEDIA_KEYS_H_ 16 #define SHAKA_EMBEDDED_JS_EME_MEDIA_KEYS_H_ 21 #include <unordered_map> 43 class MediaKeySession;
63 return implementation_.get();
69 mutable std::mutex mutex_;
71 std::vector<Member<MediaKeySession>> sessions_;
73 std::shared_ptr<ImplementationFactory> factory_;
74 std::shared_ptr<Implementation> implementation_;
86 #endif // SHAKA_EMBEDDED_JS_EME_MEDIA_KEYS_H_
virtual BackingObjectFactoryBase * factory() const =0