Skip to main content
May 30, 2013 9:27 PM UTC
Question

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

didoin
Participant
Jul 9, 2014 2:00 PM UTC

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

Translate
flashdictionary
Inspiring
Mar 21, 2014 8:28 PM UTC

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

Translate