Skip to main content
Dec 17, 2012 6:47 AM UTC
Answered

Publish a receiving stream

Sorry to Disturb, but I'm searching this for some days, with no luck...

I get netstream from rtmfp(P2P,DIRECT_CONNECTIONS) ,I can play the stream,  now I want to publish the netStream to FMS so that FMS can record the stream.

Any suggestions  ????

ps:It's like a chat app,and many chats will be happened in the same time ,so I don't think the NetGroup(multicast) is a good idea.

And, the client(video source) can't publish to FMS directly with rtmp,because that's why I change rtmp to rtmfp

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer
Dec 18, 2012 4:38 AM UTC

I don't think that it can be achieved on the client side as one NetStream can not be attached to another NetStream.

3 replies

Dec 17, 2012 9:02 AM UTC

Hi,

You can do server side play of the rtmfp stream using a Stream object on the same server where you want to record the stream. Also, make a NetConnection to other app where you want to record (rtmp://localhost/other_app) and then create a NetStream with this NetConnection and attach the Stream object with this NetStream. Once you receive play.start status code, then you can do NetStream.publish with record.

Translate
Dec 18, 2012 3:36 AM UTC

Thats's one of my options before, but this will put a lot pressure on bandwidth in the server side...

is this the only way???

Can i do something in the client side which play the video,  create a NetStream with new NetConnection and attach the  received NetStream or something???

Thx!

Translate
Correct answer
Dec 18, 2012 4:38 AM UTC

I don't think that it can be achieved on the client side as one NetStream can not be attached to another NetStream.

Translate