on_call_media_state property
Pointer<NativeFunction<Void Function(pjsua_call_id call_id)> >
on_call_media_state
getter/setter pair
Notify application when media state in the call has changed. Normal application would need to implement this callback, e.g. to connect the call's media to sound device. When ICE is used, this callback will also be called to report ICE negotiation failure. When DTLS-SRTP is used, this callback will also be called to report DTLS negotiation failure.
@param call_id The call index.
Implementation
external ffi
.Pointer<ffi.NativeFunction<ffi.Void Function(pjsua_call_id call_id)>>
on_call_media_state;