OSDN Git Service
NJ-1422 :- Native crash after record the 1 min video
After 1min of recording AuthorEngine issues an internal Stop()
which Stops the MediaInputNode port and queues Stop on MIO component.
MIO component still has some data queued in its queue and keeps sending
data to MediaInputNode. MediaInputNode port does a OsclLeave with OsclErrNotReady
since it has moved to Stopped State. Audio MIO does not handle this leave and leave is
transferred to upper leaves, resulting in Abort. Fixed Audio MIO to handle leave properly
by adding TRY CATCH block around writeAsync call.
TBD - We need to also make sure that leave is caught in PlayerDriver and AuthorDriver rather
thank transferring it to upper layers, so that we can avoid call of abort and avoiding a crash.