Does it make sense to have two separate netstreams connected to the same remote p2p connection?
I think I would like to separate the audio and video publishing and playing so that I can fine tune permissions (e.g. publish audio but not video to some users but not others).
Equally, are there issues with publishing two separate NetStreams on the same p2p connection?
Initially I thought this would be possible, but I am having problems playing streams when connecting users on different ip addresses.
You can play or publish as many streams as you wish on the same connection. Just mind the bandwidth.
However, publishing audio and video on different streams may not be a good idea as they're sure to be out of sync.
To save bandwidth and play only the audio of an audio/video stream set NetStream's receiveVideo to false.
Or, in your fine-tuned permissions scenario, you can publish one stream with audio only and one with audio/video. A little redundant but audio datarate is small and may be worth it.