Skip navigation
Currently Being Moderated

Bug? Using 1 NetConnection for 2 publish streams: second NetStream always sent as NET_STATUS target.

May 3, 2012 7:05 AM

Tags: #flash #as3 #rtmfp #swf #netstream #action_script_3 #event #as3.0 #actionscript3 #publish #actionscript_3.0 #netconnection #p2p #direct_connections

Using RTMFP, I make a connection to the server with NetConnection.

I publish NetStream A directly to the server (like you would for RTMP).

I publish NetStream A_direct so that RTMFP P2P can play it after publishing with DIRECT_CONNECTIONS.

These NetStreams share the same NET_STATUS handler function.


When I get the NetStream.Publish.Success events, the is always set to the second NetStream.

The event message is correct however (it properly says which stream is now published).


I tried this with debug Flash player for 10.3, 11.0, and 11.2.


Message was edited by: mike_hurley_1


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