Title: [272547] trunk/Source/WebCore
- Revision
- 272547
- Author
- [email protected]
- Date
- 2021-02-08 13:46:53 -0800 (Mon, 08 Feb 2021)
Log Message
[Mac] Connect MediaSession with MediaRemote and NowPlaying
https://bugs.webkit.org/show_bug.cgi?id=221431
<rdar://problem/74000363>
Unreviewed, fix the NowPlayingInfo encoder after r272445.
* platform/audio/NowPlayingInfo.h:
(WebCore::NowPlayingInfo::encode const): Update the encoder for new fields added.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (272546 => 272547)
--- trunk/Source/WebCore/ChangeLog 2021-02-08 21:40:55 UTC (rev 272546)
+++ trunk/Source/WebCore/ChangeLog 2021-02-08 21:46:53 UTC (rev 272547)
@@ -1,3 +1,14 @@
+2021-02-08 Eric Carlson <[email protected]>
+
+ [Mac] Connect MediaSession with MediaRemote and NowPlaying
+ https://bugs.webkit.org/show_bug.cgi?id=221431
+ <rdar://problem/74000363>
+
+ Unreviewed, fix the NowPlayingInfo encoder after r272445.
+
+ * platform/audio/NowPlayingInfo.h:
+ (WebCore::NowPlayingInfo::encode const): Update the encoder for new fields added.
+
2021-02-08 Lauro Moura <[email protected]>
Unreviewed. Tentative build fix for WPE/GTK after r272504.
Modified: trunk/Source/WebCore/platform/audio/NowPlayingInfo.h (272546 => 272547)
--- trunk/Source/WebCore/platform/audio/NowPlayingInfo.h 2021-02-08 21:40:55 UTC (rev 272546)
+++ trunk/Source/WebCore/platform/audio/NowPlayingInfo.h 2021-02-08 21:46:53 UTC (rev 272547)
@@ -48,7 +48,7 @@
template<class Encoder> inline void NowPlayingInfo::encode(Encoder& encoder) const
{
- encoder << title << sourceApplicationIdentifier << duration << currentTime << supportsSeeking << uniqueIdentifier << isPlaying << allowsNowPlayingControlsVisibility;
+ encoder << title << artist << album << sourceApplicationIdentifier << duration << currentTime << supportsSeeking << uniqueIdentifier << isPlaying << allowsNowPlayingControlsVisibility;
}
template<class Decoder> inline Optional<NowPlayingInfo> NowPlayingInfo::decode(Decoder& decoder)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes