NetStream OnMetaData error

81 Views Asked by At

I have this error: Error Screenshot

on this code : Code listing screenshot

In another project, my class works well, but here it does not. Why?

1

There are 1 best solutions below

0
Umopepisdn On BEST ANSWER

Your video contains closed caption events, but you haven't registered an event listener to handle the "Show this line of text" event (OnMetaData), so the appearance of caption data is an uncaught exception.

Register an event listener, even if it does nothing, or use a video without captions.