live streaming-client sometimes does not recognize videoCodec h264
I am publishing a live-cam-stream with H264VideoStreamSettings in record-mode. In case of no clients are connected attachCamera(null) is used. If a client connects, the cam is attached.
Almost always the clients incomingStream.NetStatusEvent are:
NetStream.Play.Reset, NetStream.Play.Start and NetStream.Video.DimensionChange.
After the last Event, incomingStream.videoCodec is 7 (h.264) and everything is fine.
But sometimes no NetStream.Video.DimensionChange is triggered and the incomingStream.videoCodec remains in the value 2048. The receiving stream is not visible.
After restarting the client, sometimes it remains unvisible, sometimes the stream gets the NetStream.Video.DimensionChange-Event and is visible.
Its not reproducable. It only happens to streams that are published approx. 1 hour.
Is there a way to force the NetStream.Video.DimensionChange? Or why its sometimes not triggered?
