When I try to subscribe my local stream. I got this error “WARNING: Cannot subscribe to local stream, you should subscribe to the remote version of your local stream”.
What is the correct way of subscribing my local stream in the latest code?
it looks like there is an issue in the current code and we can’t subscribe to the remote version of the local sterams either, so I’ll investigate. Thanks for sharing!
@ashar_02 we are talking about this issue, we don’t know why do you need to subscribe to your local stream, could you tell us about your use case to know if it makes sense to build this feature?
The problem we see with the functionality is that it creates new use cases which with think will be suboptimal because people will be consuming unnecessary bandwidth without knowing it.
For diagnostic purpose between client and server.
There are ways to do it (by using two Erizo.Room objects pointing to the same room), and we are a bit reluctant of implementing this functionality only for network diagnostics. Maybe we should consider making an API to test network and hardware instead.
For webcast.
I don’t understand why you need to subscribe to your own stream for WebCast. You can always render your publishing video locally without subscribing to it, if that’s the case.