Closed sl-service-account closed 8 months ago
Alexa Linden commented at 2014-03-24T19:27:15Z
I'm not even able to get http://www-mmsp.ece.mcgill.ca/documents/audioformats/wave/Samples/SoundCardAttrition/stereol.wav to play in a normal browser window. Can you give an different example?
Saeros Linden commented at 2017-07-07T00:42:31Z
Our apologies, it appears this jira has been a victim of a spammer. We’re cleaning up the offending comments, sorry for the mess!
shintar commented at 2022-09-29T06:37:08Z, updated at 2022-09-29T06:40:33Z
I am having an issue similar to this right now. I can watch YouTube on prim media, operate the page, but I cannot hear sounds after trying a few things...
I am using the native Linden Viewer 6.6.3 (and Firestorm 6.6.3 — as of 2022/09/29 they are the latest as far as I know). I am on Windows 11, using Comcast as ISP from a midwest US location, with or without VPN enabled (tried both). I cannot hear the sound from https://www.youtube.com, https://vemio.com, https://freesound.org etc. If I load them on a prim with llSetLinkMedia()
With the following script functionn to load YouTube of a prim, I can navigate, and watch the video smoothly updating (and I can even log in to YouTube!! Thank you for that authentication fix!!!)
llSetLinkMedia(LINK_THIS, screen_face,[
PRIM_MEDIA_ALT_IMAGE_ENABLE, TRUE,
PRIM_MEDIA_CONTROLS, PRIM_MEDIA_CONTROLS_STANDARD,''
PRIM_MEDIA_HOME_URL, "https://www.google.com",
PRIM_MEDIA_CURRENT_URL, display_url,
PRIM_MEDIA_AUTO_PLAY, TRUE,
PRIM_MEDIA_AUTO_LOOP, TRUE,
PRIM_MEDIA_AUTO_SCALE, TRUE,
PRIM_MEDIA_AUTO_ZOOM , TRUE,
PRIM_MEDIA_FIRST_CLICK_INTERACT, TRUE,
PRIM_MEDIA_PERMS_INTERACT, PRIM_MEDIA_PERM_OWNER,
PRIM_MEDIA_PERMS_CONTROL, PRIM_MEDIA_PERM_OWNER
]);
I checked my sound settings, and here they are (sorry about the Japanese Text in the UI...) - I think I enabled all sounds that can be enabled. ![2022-09-28 23_51_31-Second Life.png](2022-09-28 23_51_31-Second Life.png) And here is the media status from the top right pop-up showing that the media from YouTube is playing, and I am supposed to be able control the sound volume, but changing volume slide, or clicking on mute button did not seem to help... ![2022-09-28 23_50_38-Second Life.png](2022-09-28 23_50_38-Second Life.png)
And here is some PC and environment information - it shows that I have no packet loss ![2022-09-29 00_01_19-Second Life.png](2022-09-29 00_01_19-Second Life.png) ![2022-09-29 00_01_40-Second Life.png](2022-09-29 00_01_40-Second Life.png)
When I asked some people in a gathering place to watch the video on the same prim, who were using Windows 10, they WERE able to listen to the YouTube video while watching the motion pictures. I am using Windows 11; that might be something to do with this time. I had Windows 10 machine like 6 months ago, and I could hear the sound of YouTube just fine.
Additionally, I also check the windows firewall setting. dullahan_host.exe, SLVoice.exe, slplugin.exe did not have entries yet, so I explicitly gave them public inbound allow and restarted SL, but there was no luck. I noticed that one of the dullahan_host.exe processes seemed to be the network helper type process because it was opening TCP connections and also had UDP listeners open
![2022-09-29 00_17_21-.png](2022-09-29 00_17_21-.png)
The process was running with this command line:
"D:\SecondLife\Viewers\Linden\llplugin\dullahan_host.exe" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=1868,13671731968648411065,9779874678531935210,131072 --disable-features=AudioServiceOutOfProcess --lang=en-US --service-sandbox-type=none --no-sandbox --force-wave-audio --log-file="C:\Users\******\AppData\Roaming\SecondLife\logs\cef_log.txt" --user-agent-product="(Dullahan:1.12.3.202111032221 [64bit] - SecondLife/6.6.1.572458 (Second Life Release; default skin)) Chrome/91.0.4472.114 [64bit]" --lang=en-US --log-file="C:\Users\*******\AppData\Roaming\SecondLife\logs\cef_log.txt" --mojo-platform-channel-handle=2068 /prefetch:8
Obviously ... I have no idea what it exactly does but considering this might be a very helpful helper process (what I could understand from What is "Dullahan"? - Second Life Web - Second Life Community ), I thought "--force-wave-audio" was interesting (this must be something to do with sound?)
From here, I can not think of anything else to provide. Personally, I think watching web in-world is wonderful but it probably is not absolutely necessary... and since not everyone is having this issue, I understand that the priority of it would not elevate higher, but, I hope you could keep this open, and eventually fix it.
P.S.
After initially posting this entry... I noticed
--disable-features=AudioServiceOutOfProcess
``` in the command line!![ Is that because my PC cannot handle more processes to load sound?]( Is that because my PC cannot handle more processes to load sound?)
shintar commented at 2022-09-29T07:06:03Z
Still not understanding anything beyond human readable text part but I found this block of code in the dullahan_impl_windows.cpp of dullahan repo https://bitbucket.org/lindenlab/dullahan/src/master/
I am wondering if wave format sound, forcing something (not sure what), and how video streaming sites sends out sound data today to web clients are something to do with the issue. Because of the comment, I tried to watch twitch in-world and there were no sound also...
if (mForceWaveAudio == true)
{
// Grouping these together since they're interconnected.
// The pair, force use of WAV based audio and the second stops
// CEF using out of process audio which breaks ::waveOutSetVolume()
// that ise used to control the volume of media in a web page
command_line->AppendSwitch("force-wave-audio");
// <ND> This breaks twitch and friends. Allow to not add this via env override (for debugging)
char const* pEnv { getenv("nd_AudioServiceOutOfProcess") };
bool bDisableAudioServiceOutOfProcess { true };
if (pEnv && pEnv[0] == '1')
{
bDisableAudioServiceOutOfProcess = false;
}
if (bDisableAudioServiceOutOfProcess)
{
command_line->AppendSwitchWithValue("disable-features", "AudioServiceOutOfProcess");
}
}
shintar commented at 2023-01-13T10:46:04Z
I have some addtional things to report.
When I try to use the internal browser to see a video page, I am also unable to let the viewer play back any audio from the video that is being streamed. I again tried that with youtube videos after multiple tweaking of viewer media/sound settings, reinstalls... and also tried this possibly helpful webpage - https://www.nuevodevel.com/tools/stream-tester (although I did not try all the video formats(?) that I tried — about 10 that I tried, there did not play sound). I hope this helps when recreating issues or QA-ing the fix.
Also, I found many reporting on the internet that the CEF-embedded browser (not the version particularly used in dullahan_host.exe) is also having similar audio playback issues. I wish I knew and understand enough of viewer/plug-in code to point out specific blocks of code that are suspects... (for that I am really sorry). So I appreciate that you guys are looking into this possibly rare issue.
shintar commented at 2023-01-18T18:13:52Z
Just a little update: this is still an issue in the new FS viewer 6.6.8 (which should contain some fixes from Linden 6.6.7).
shintar commented at 2023-02-11T04:50:54Z
I need to check this with Linden viewer builds but on FS 6.6.10 (FS main branch code as of 2023-02-10) only 64bit viewer seems to have this issue. I was able to hear sounds from Prim Media and the internal web browser.
shintar commented at 2023-02-23T10:02:02Z
I finally found a* solution to this. It might not be best for everyone but a solution. It turns out that I did not have some audio codec so I installed K-Lite Codec Pack (which probably installed codec for 64bit architecture).
Dan Linden commented at 2023-05-12T18:07:37Z
Hi Otoa, Glad to hear you found a solution.
Steps to Reproduce
Create a prim Choose a face and create a media on prim In the URL choose the URL of a video or a sound For instance
http://www-mmsp.ece.mcgill.ca/documents/audioformats/wave/Samples/SoundCardAttrition/stereol.wav
Check "autoplay" Apply Check "autoloop" if you wish
The sound or the movie is not played
Use the controls to play the media The sound or movie is always not played
Actual Behavior
When we set the URL of a media on prim with the URL of a wav, ogg , mp3, mpeg, mpg, mp4 , mid , mov and other formats etc ..., the sound or movie is not played
Expected Behavior
The sound or movie should be played
Other information
Attachments
Original Jira Fields
| Field | Value | | ------------- | ------------- | | Issue | BUG-5492 | | Summary | Audios and videos URLs of media an prim are not played | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Unactionable | | Reporter | note Genesis (note.genesis) | | Created at | 2014-03-23T14:05:51Z | | Updated at | 2023-05-12T18:07:36Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2014-03-24T14:27:15.376-0500', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'When we set the URL of a media on prim with the URL of a wav, ogg , mp3, mpeg, mpg, mp4 , mid , mov and other formats etc ..., the sound or movie is not played', 'What were you doing when it happened?': 'Create a prim\r\nChoose a face and create a media on prim\r\nIn the URL choose the URL of a video or a sound\r\nFor instance\r\n\r\nhttp://www-mmsp.ece.mcgill.ca/documents/audioformats/wave/Samples/SoundCardAttrition/stereol.wav\r\n\r\nCheck "autoplay"\r\nApply\r\nCheck "autoloop" if you wish\r\n\r\nThe sound or the movie is not played\r\n\r\nUse the controls to play the media\r\nThe sound or movie is always not played\r\n\r\n', 'What were you expecting to happen instead?': 'The sound or movie should be played', 'Where': 'Any Channels\r\n\r\nThe test was on Bluesteel', } ```