xbmc / inputstream.adaptive

kodi inputstream addon for several manifest types
Other
453 stars 242 forks source link

Issue with AAC audio in Smooth Streaming source #232

Closed gizmocuz closed 3 years ago

gizmocuz commented 5 years ago

I have debugged this for some hours, and do not know how to solve this....

I try to play this smooth stream: http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.ism/Manifest

(From the sample page) http://playready.directtaps.net/smoothstreaming/

It contains H264 and AAC audio (aacl)

Video works, but at the following line, desc->GetFormat() returns 0, and desc->m_Type = TYPE_UNKNOWN

https://github.com/peak3d/inputstream.adaptive/blob/9a1f5d69834255be0dfa586bc50065ce472ba7d0/src/main.cpp#L1395

It is correctly detected as AAC in Session::UpdateStream

Any idea why the type/format stays unknown ?

gizmocuz commented 5 years ago

I have the same issue with the bunny sample: http://amssamples.streaming.mediaservices.windows.net/683f7e47-bd83-4427-b0a3-26a6c4547782/BigBuckBunny.ism/manifest

gizmocuz commented 5 years ago

This happens when calling bool CInputStreamAdaptive::OpenStream(int streamid) with ID=2 (stream->reader_ = new FragmentedSampleReader)

gizmocuz commented 5 years ago

Maybe it's easier to see with an audio only sample:

http://playready.directtaps.net/smoothstreaming/ISMAAACLC/Taxi3_AACLC.ism/Manifest

peak3d commented 5 years ago

@gizmocuz can you pls. describe the issue? AAC uses the default handler (does not need any specialization). The last link (audio only) plays for me.

glennguy commented 3 years ago

@gizmocuz Is this issue still happening? If not can we close the issue?

gizmocuz commented 3 years ago

@peak3d , @glennguy , This issue indeed seems solved. Sorry for the late reaction, I missed a notification from 21th may