Websocket transport

This commit is contained in:
Moishe Lettvin
2024-03-20 12:12:26 -04:00
parent 2c5628a621
commit 2bda4c3307
19 changed files with 669 additions and 21 deletions

View File

@@ -0,0 +1,25 @@
syntax = "proto3";
package dailyai_proto;
message TextFrame {
string text = 1;
}
message AudioFrame {
bytes audio = 1;
}
message TranscriptionFrame {
string text = 1;
string participant_id = 2;
string timestamp = 3;
}
message Frame {
oneof frame {
TextFrame text = 1;
AudioFrame audio = 2;
TranscriptionFrame transcription = 3;
}
}