Skip to content

Commit e28a2aa

Browse files
author
Roberto De Ioris
authored
Update AsyncIOAndUnrealEngine.md
1 parent e7ce994 commit e28a2aa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tutorials/AsyncIOAndUnrealEngine.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@ class RadioStreaming:
228228
self.audio = self.actor.get_actor_component_by_type(AudioComponent)
229229
self.audio.Sound = SoundWaveProcedural()
230230
self.audio.Sound.Duration = 10000
231-
self.mp3 = mpg123.Mpg123(library_path=os.path.join(ue.get_content_dir(), 'libmpg123-0.dll'))
231+
# if you do not have libmpg123 in the system path, specify its absolute location here
232+
# self.mp3 = mpg123.Mpg123(library_path=os.path.join(ue.get_content_dir(), 'libmpg123-0.dll'))
233+
self.mp3 = mpg123.Mpg123()
232234
self.coroutine = asyncio.ensure_future(self.stream('http://178.32.136.160:8050'))
233235
self.coroutine.add_done_callback(self.check_exception)
234236

0 commit comments

Comments
 (0)