M
M
Maxim Anarchistov2016-08-09 05:20:15
JavaScript
Maxim Anarchistov, 2016-08-09 05:20:15

How to replace the stream.onended event in webRTC?

As you know, the Chrome developers announced that the .onended event is deprecated and will be removed in October 2016, and instead of this decision, the active variable, which determines whether the stream is live or not, has been left.
But a variable is somewhat less than an event in terms of functionality, how can you achieve similar functionality without rewriting half of the code?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question