OpenTok-Angular
OpenTok-Angular copied to clipboard
Subscriber object access
Was implementing a network test and needed access to the subscriber object so I could call subscriber.getStats
. StreamId was a convenience.
May be useful to others.
Good idea. How about having a subscriber property on the scope though and emitting a loaded event? That way you could get access to the subscriber sooner and at any time by looking at the scope.