Answered
0
0

Hey there,

I am trying to start the netstream example from an AAC stream.

I found an old FMODEx Thread where it was stated that it is needed to set the type by

FMOD_CREATESOUNDEXINFO exinfo;
memset(&exinfo, 0x0, sizeof(FMOD_CREATESOUNDEXINFO));
exinfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
exinfo.suggestedsoundtype = FMOD_SOUND_TYPE_MPEG;

This works with an MP3 very well.

With AAC I tried to do this:
FMOD_CREATESOUNDEXINFO exinfo;
memset(&exinfo, 0x0, sizeof(FMOD_CREATESOUNDEXINFO));
exinfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
exinfo.suggestedsoundtype = FMOD_SOUND_TYPE_AUDIOQUEUE;

Unfortuantely, I am still getting an error: “Couldn’t perform seek operation. This is a limitation of the medium (ie netstreams) or the file format.”

What can I do to prevent this?

regards
Martin

  • You must to post comments
Best Answer
0
0

AAC is only supported on Android and iOS and only as a file on disk, you cannot netstream AAC with FMOD.

  • You must to post comments
0
0

to make it clear, I don’t use MP3 or AAC files. I am trying to play back a radio stream :)

  • You must to post comments
0
0

anyone?

  • You must to post comments
0
0

Hey Mathew,

thanks for your fast answer. I do understand it since I already build my own AVFoundation stack to decode on iOS and MacOSX. What I do not understand is, that you support it but not for netstreams? Back in time I build a aac decoder codec for fmod that uses faad. I could port it. Well, I am not sure anymore wheter this codec is used in the streaming part of FMOD or not.
I don’t want to code senseless stuff :)

regards

  • You must to post comments
0
0

Let me ask this question a bit different :)

Assuming, I have a custom fmodex codec. Is this used by your netstream backend or shall I stream it on my self?

  • lemart
    Is a custom codec used while streaming or not?
  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.