Skip to main content
Participant
Jan 23, 2012 5:28 AM UTC
Question

"NetStream.Codec.Error" record RTMFP

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/

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

    3 replies

    Participating Frequently
    May 12, 2012 3:07 PM UTC

    Do you get this error with ony H.264 or with other codecs. Also do you get this error in "append" mode only or also with "record" mode?

    Translate
    Participating Frequently
    May 12, 2012 4:29 PM UTC
    Participating Frequently
    May 7, 2012 12:57 PM UTC

    do you find the answer i too have problems to play recorded stream from rtmfp connection

    if you do please send me email: g_w_master@yahoo.com

    Translate