mirror of
https://github.com/openai/codex.git
synced 2026-05-01 03:42:05 +03:00
Add realtime rtc protocol support
Adds the realtime_rtc protocol path so app-server clients can negotiate WebRTC media while core keeps realtime events and tool handling. Regenerates protocol/config schemas for the new request and response shapes. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -13518,6 +13518,88 @@
|
||||
"title": "ThreadRealtimeOutputAudioDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadRealtimeStartProtocol": {
|
||||
"description": "EXPERIMENTAL - realtime start protocol selected by the client.",
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"jsonRpcPcm"
|
||||
],
|
||||
"title": "JsonRpcPcmThreadRealtimeStartProtocolType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "JsonRpcPcmThreadRealtimeStartProtocol",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"offerSdp": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"rtc"
|
||||
],
|
||||
"title": "RtcThreadRealtimeStartProtocolType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"offerSdp",
|
||||
"type"
|
||||
],
|
||||
"title": "RtcThreadRealtimeStartProtocol",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ThreadRealtimeStartResponseProtocol": {
|
||||
"description": "EXPERIMENTAL - realtime start response protocol payload.",
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"jsonRpcPcm"
|
||||
],
|
||||
"title": "JsonRpcPcmThreadRealtimeStartResponseProtocolType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "JsonRpcPcmThreadRealtimeStartResponseProtocol",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"answerSdp": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"rtc"
|
||||
],
|
||||
"title": "RtcThreadRealtimeStartResponseProtocolType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"answerSdp",
|
||||
"type"
|
||||
],
|
||||
"title": "RtcThreadRealtimeStartResponseProtocol",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ThreadRealtimeStartedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "EXPERIMENTAL - emitted when thread realtime startup is accepted.",
|
||||
|
||||
Reference in New Issue
Block a user