pub async fn call_handler_core(
call_type: ActiveCallType,
session_id: String,
app_state: AppState,
cancel_token: CancellationToken,
audio_receiver: UnboundedReceiver<Bytes>,
server_side_track: Option<String>,
dump_events: bool,
ping_interval: u64,
command_receiver: UnboundedReceiver<Command>,
event_sender_to_client: UnboundedSender<SessionEvent>,
)Expand description
Core call handling logic that works with either WebSocket or mpsc channels