Sounds like the 'resize' and 'loadeddata' events on HTMLVideoElement will do what you want.
*Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | [email protected] | www.telenordigital.com On Thu, Jun 25, 2015 at 3:36 PM, <[email protected]> wrote: > Hi All, > > I am writing an WEBRTC based application on Browser clients. I wanted to > know whether there is any way i can detect if there resolution change in > the incoming RTP video stream? Also, is there is any event which can tell > me that the client has decoded the first frame from the remote end(This is > so that we can display the video only after few frames have been decoded)? > > On Chrome we can use the Peerconnection.getStats() API to get the > information on the incoming stream's decode resolution. But stats obtained > on Firefox(i am currently using FF-41) doesn't seem to have this > information. > > I appreciate any help you guys can provide on this. > > Thanks, > Ram > _______________________________________________ > dev-media mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-media > _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

