diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-22 17:24:02 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-22 17:24:02 +0800 |
commit | 78c6c73770202cedcc92d4b19bccd4ffe9075bef (patch) | |
tree | 707c74228e50847ff4bcc5669d76981ff7a70601 /indra/newview/skins/default/xui/it/menu_imchiclet_adhoc.xml | |
parent | 1bc3c10bed75272dbe9137609048a1aa7c678ffe (diff) |
Stream notification
https://megapahit.com/show_bug.cgi?id=56
I could make such metadata setting triggered by an event only on the
media plugin's side, not on the viewer's side. I had tried adding
a MEDIA_EVENT_NOWPLAYING_CHANGED and hoped that mediactrl, viewerparcelmedia,
or viewermedia would react to it, but no, so this is the best I could
come up with for now, to keep checking if what's now playing has been
updated or not. I intentionally didn't clear mNowPlaying the way mURL is,
so that it wouldn't notify one last double after the player stops streaming.
mNowPlaying and mMediaNowPlaying need to be kept in their last states so
that the comparison is correct. I also intentionally didn't put the
notification inside the MEDIA_PLAYING scope, cause the flow somehow never
got into that scope.
Diffstat (limited to 'indra/newview/skins/default/xui/it/menu_imchiclet_adhoc.xml')
0 files changed, 0 insertions, 0 deletions