Closed GoogleCodeExporter closed 9 years ago
The "src" property is reset to null if the connection fails with the siprtmp.py
gateway. The connection failure indicates registration failure. You can capture
this event in onPropertyChange (please see the article on How to use the
VideoIO API?). Thus the registered/unregistered can be implemented in the
application.
Similarly, since all of "invite", "invited", "accept", "accepted", "bye",
"byed" are available to or called from Javascript, you can have this state in
the application itself instead of in the VideoIO. The reason is that VideoIO is
pretty transparent to the SIP processing, and just acts as a thin layer between
your javascript application and the siprtmp.py gateway, by sending/receiving
all RPC calls.
The sound rate of the microphone (as well as other properties as listed in How
to use the VideoIO API?) can be captured using the onPropertyChange method in
Javascript. This will allow you to write any such rate indicator in javascript
I feel. Please let me know if this doesn't work for you or if the event is not
getting dispatched in onPropertyChange.
Original comment by kundan10
on 25 May 2011 at 7:20
Original issue reported on code.google.com by
LobodaAl...@gmail.com
on 11 May 2011 at 10:56