[MX Player] leo46:
Here it is!

The very first line appears right after launching the app "iBroadcoast" and is not a result of pressing play/pause.

Then I press play/pause several times. Note that during the time I pressed play/pause, the iBroadcast app had the focus: I can do more tests while audio is playing but the app is not in the foreground if needed.

--------- beginning of main
09-20 07:13:53.646 1248 3831 D MediaSessionService: Media button session is changed to com.iBroadcast/MusicService (userId=0)
09-20 07:14:12.493 1248 15253 D MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:12.493 1248 15253 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_DOWN;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]
09-20 07:14:12.504 1248 2354 D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:12.505 1248 2354 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_UP;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]
09-20 07:14:24.564 1248 2015 D MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:24.564 1248 2015 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_DOWN;code=KEYCODE_MEDIA_PAUSE [WIU] [FGS]
09-20 07:14:24.577 1248 3827 D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:24.578 1248 3827 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_UP;code=KEYCODE_MEDIA_PAUSE [WIU] [FGS]
09-20 07:14:28.419 1248 2354 D MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:28.420 1248 2354 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_DOWN;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]
09-20 07:14:28.423 1248 3827 D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:28.424 1248 3827 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_UP;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]
09-20 07:14:32.488 1248 4085 D MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:32.489 1248 4085 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_DOWN;code=KEYCODE_MEDIA_PAUSE [WIU] [FGS]
09-20 07:14:32.496 1248 4085 D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PAUSE, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:32.496 1248 4085 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_UP;code=KEYCODE_MEDIA_PAUSE [WIU] [FGS]
09-20 07:14:36.107 1248 2015 D MediaSessionService: Sending KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:36.108 1248 2015 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_DOWN;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]
09-20 07:14:36.112 1248 3827 D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0, displayId=0 } to com.iBroadcast/MusicService (userId=0)
09-20 07:14:36.112 1248 3827 I MediaSessionService: tempAllowlistTargetPkgIfPossible callingPackage:com.google.android.googlequicksearchbox targetPackage:com.iBroadcast reason:action=ACTION_UP;code=KEYCODE_MEDIA_PLAY [WIU] [FGS]