secondlife / jira-archive

3 stars 0 forks source link

[BUG-11177] Audio/Media automatically starts playing again after clicking "Stop All" #1409

Open sl-service-account opened 8 years ago

sl-service-account commented 8 years ago

Steps to Reproduce

Click pause/Stop All, stand still, wait a while.

Actual Behavior

Intermittent Issue: Parcel audio/media un-pauses/re-starts playing automatically.

Expected Behavior

Audio/Media should stop and not automatically restart itself after a while when I click Pause/Stop All.

Other information

With "Allow media to auto play" turned on, it's expected for media to play automatically when moving between parcels/sims. However, even standing completely still in the same location somehow causes audio/media to intermittently start playing again automatically some time after I have clicked "Stop All".

Links

Duplicates

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-11177 | | Summary | Audio/Media automatically starts playing again after clicking "Stop All" | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | davidventer (davidventer) | | Created at | 2016-01-10T17:59:21Z | | Updated at | 2016-02-13T09:14:14Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2016-01-18T02:12:36.638-0600', "Is there anything you'd like to add?": 'With "Allow media to auto play" turned on, it\'s expected for media to play automatically when moving between parcels/sims. However, even standing completely still in the same location somehow causes audio/media to intermittently start playing again automatically some time after I have clicked "Stop All".', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'Intermittent Issue: Parcel audio/media un-pauses/re-starts playing automatically.', 'What were you doing when it happened?': 'Click pause/Stop All, stand still, wait a while.', 'What were you expecting to happen instead?': 'Audio/Media should stop and not automatically restart itself after a while when I click Pause/Stop All.', 'Where': 'http://maps.secondlife.com/secondlife/Adonis%20Heights/178/93/3476', } ```
sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-01-18T08:12:37Z

Fix in Lion: https://bitbucket.org/lindenlab/viewer-lion/commits/30a9925e5b766ff2079539c6290862d9e7c93f1f

sl-service-account commented 8 years ago

Oz Linden commented at 2016-01-26T19:35:00Z

Copying this from the internal issue to check my understanding of the problem:

It sounds to me as though the original problem (which is not properly characterized anywhere above that I can see) is that if I:

  1. Enable auto-play
  2. Enter a parcel with an active stream (stream begins to play)
  3. Stop the media (stream stops playing)
  4. Parcel media url is changed to a different url

If I understand the original report correctly, the user wants this new stream not to start because they had previously stopped it, but they really stopped a different url so the new url causes the media to begin playing.

It seems to me that instead of using the media url itself as the control, we should add a bit of state to the parcel itself so that when media is stopped and the newly stopped media is a parcel stream, we should flag the parcel so that its media is not played regardless of what the url is (I don't think this should be persistent between sessions; whether or not it should be persistent within a session is tbd and I'd want to examine the complexity either way).

Further, I think we should do the same for object media; if I stop a stream associated with MoaP, then that should stop all media from that source until either I renable it or my session ends (again, if I move such that my knowledge of that object is destroyed, such as tping out of range of it and returning, it would be ok for that media to start). Incidentally, I have just recently figured out that griefers had been using an unprotected media player in Hippo Theater to disrupt my meetings by playing obnoxious loud youtube videos on it; when I turned off the stream, they would change the url and it would restart.

sl-service-account commented 8 years ago

davidventer commented at 2016-01-27T04:19:01Z

Hi Oz,

This issue occurs without changing the media URL; The current stream restarts by itself.

I've noticed that sometimes, switching between apps (Alt-tabbing in and out of SL, or fullscreen swiping away and back on Mac) will cause SL to start playing the media stream(s) again. This doesn't happen every time.

Sometimes moving camera position to another parcel in SL, and then resetting camera position, would also cause the stream(s) to automatically start playing again, even though the avatar remains stationary.

Hope this helps.

sl-service-account commented 8 years ago

Oz Linden commented at 2016-01-27T17:58:51Z

Two questions, David: 1) If the media url does change, does that cause it to restart? 2) Do you have your audio set to follow your avatar or your camera?