WebRTCObject
The base class of objects that wrap a native WebRTC object.
- class webrtc.base.WebRTCObject(native_obj=None)
The base class of the objects that wrap a native object.
Two wrappers are equal, and hash the same, when they wrap the same native object, so a sender returned twice compares equal to itself.
- Parameters:
native_obj (optional) – The native object to wrap. If omitted, a new one of the native class is created.
- Raises:
TypeError – If
native_objis omitted and the class has no native class.