Skip to main content
May 30, 2013
Question

live streaming-client sometimes does not recognize videoCodec h264

  • May 30, 2013
  • 2 replies
  • 1733 views

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?

This topic has been closed for replies.

2 replies

didoin
Participant
July 9, 2014

I also have the same problem. Exists up a way to get around it?
The problem occurs only when using the H.264 codec, while Sorenson "NetStream.Video.DimensionChange" is triggered correctly.


Researching for the net I found this thread which seems interesting:

Google Groups

flashdictionary
Inspiring
March 21, 2014

I think Adobe could solve many issues regarding H264 video, and Adobe Media Server streaming issues by implementing native WebRTC into Adobe Media Server, as well as the AIR and Flash platforms, see this post here:

http://forums.adobe.com/message/6232094#6232094