You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm experiencing some issues in erizoClient while updating from Licode v3 to the last master version.
In particular, I massively use stream attributes and I update them on the fly, so to have something persistent and get notified of the change on the remote side... but now when I call stream.updateAttributes(), the attributes go to undefined and nothing works.
Digging in erizo_controller/erizoClient/src led me to a promising track:
The setAttribute function emits an StreamEvent, with the property attrs set to the new attributes
In Events.js, StreamEvent is set to have only stream and msg (actually, its parent LicodeEvent was transparent to extra attributes in v3, but it isn't anymore)
Hello,
I'm experiencing some issues in erizoClient while updating from Licode v3 to the last master version.
In particular, I massively use stream attributes and I update them on the fly, so to have something persistent and get notified of the change on the remote side... but now when I call
stream.updateAttributes()
, the attributes go toundefined
and nothing works.Digging in
erizo_controller/erizoClient/src
led me to a promising track:setAttribute
function emits anStreamEvent
, with the propertyattrs
set to the new attributeslicode/erizo_controller/erizoClient/src/Stream.js
Line 61 in 435d517
Events.js
,StreamEvent
is set to have onlystream
andmsg
(actually, its parent LicodeEvent was transparent to extra attributes in v3, but it isn't anymore)licode/erizo_controller/erizoClient/src/Events.js
Line 101 in 435d517
Room.js
, when trying to access theattrs
property of the event, we get anundefined
licode/erizo_controller/erizoClient/src/Room.js
Line 334 in 435d517
The remote counterpart looks broken as well. Probably all the events need to be double checked for similar issues.
The text was updated successfully, but these errors were encountered: