licode icon indicating copy to clipboard operation
licode copied to clipboard

What would cause the id of the video element to be undefined?

Open jfrux opened this issue 11 years ago • 5 comments

image

in Erizo.js the that.id is undefined for some reason.

Not sure why...? it says that.elementID is user-video which is correct and the video shows up fine but the view that's created has undefined all over.

jfrux avatar Jul 28 '15 20:07 jfrux

I used to get this too. The way I solved it is pass an id when creating the stream.

        var stream = Erizo.Stream({
            streamID: uuid.v1()
        });

vibhor-globant avatar Aug 25 '15 15:08 vibhor-globant

Hi @joshuairl,

Is that ID undefined only in your local video or in the others too?

nachoaguadoc avatar Nov 18 '15 14:11 nachoaguadoc

It was only in local... I ended up modding the erizojs client to fix anything that was acting whacky for me... so didn't get this resolved.

jfrux avatar Nov 18 '15 14:11 jfrux

This is the normal behaviour because when you publish a stream you don't know your own ID. In which case do you need it to have the actual ID?

nachoaguadoc avatar Dec 16 '15 11:12 nachoaguadoc

Closed due to inactivity.

nachoaguadoc avatar Apr 13 '16 09:04 nachoaguadoc