Closed karl- closed 2 months ago
We don't support Shoutcast, so that could be why its not working.
Have you got any other streaming URLs that you can use? either link here on email unitysupport@renderheads.com
Which version of AVPro Video are you using?
Are you using positional audio at all?
With regards to macOS, this could be the issue: We use MTAudioProcessingTap to extract the audio and route it through to Unity. This in turn requires using AVAudioMix and attaching it to the current player item. Sadly this is where the process breaks down as AVAudioMix does not support HLS media. The documentation for AVAudioMix states the following (available here):
An audio mix can only be used with file-based media and is not supported for use with media served using HTTP Live Streaming.
Thanks for the quick reply. Ok, noted for Shoutcast. I'll test another streaming source. We are not using any positional audio.
We're using AVPro Video 2 from the Unity Asset Store, I'm not sure beyond that. I couldn't find versioning information in the Unity project or menu items for AVPro.
Given that this works with local audio and the lack of Shoutcast support is expected, I think this can be closed. Thanks for your help.
It appears that setting the output mode to "Unity" does not work properly with URL audio sources that are streamed rather than local paths. Setting a breakpoint in
AudioOutputManager
at theRequestAudio
function and stepping through reveals thatint channels = mediaPlayer.Control.GetAudioChannelCount();
is always returning < 0 whenMediaPath.Path
is a URL.Your Setup (please complete the following information):
To Reproduce