create_ephemeral_token

Function create_ephemeral_token 

Source
pub async fn create_ephemeral_token(
    config: &SessionConfig,
) -> Result<ClientSecret, RealtimeError>
Expand description

Creates an ephemeral token for WebRTC See: https://platform.openai.com/docs/guides/realtime#connect-with-webrtc See: https://platform.openai.com/docs/guides/realtime#connection-details