Skip navigation
bloodiron
Currently Being Moderated

"NetStream.Codec.Error" record RTMFP

Jan 22, 2012 9:28 PM

I record RTMFP Stream. Use this code

 

....

 

NetGroup ng

 

.....

 

application.recordStream[nick + "multicast"] = Stream.get("mp4:multicast-ingest" + nick +"_record" +".mp4");

if ( application.recordStream[nick + "ingest"] != null )

{

          application.recordStream[nick + "ingest"].close();

}

 

application.recordStream[nick + "ingest"] = ng.getMulticastStreamIngest(nick);

application.recordStream[nick + "multicast"].record("append");

application.recordStream[nick + "multicast"].playFromGroup(application.recordStream[nick + "ingest"]);

 

Video published in H264 format.

 

As a result, I get an error : "NetStream.Codec.Error".

As a result, the sound recording was successful.

But in place of the video image I see a black screen

 

Help me, please/

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points