File tree 2 files changed +2
-2
lines changed
packages/firebase_vertexai/firebase_vertexai
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ class _BidiPageState extends State<BidiPage> {
264
264
final mediaChunkStream = audioRecordStream.map ((data) {
265
265
return InlineDataPart ('audio/pcm' , data);
266
266
});
267
- await _session.startMediaStream (mediaChunkStream);
267
+ await _session.sendMediaStream (mediaChunkStream);
268
268
} catch (e) {
269
269
_showError (e.toString ());
270
270
}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class LiveSession {
84
84
///
85
85
/// Parameters:
86
86
/// - [mediaChunkStream] : The stream of [InlineDataPart] objects to send to the server.
87
- Future <void > startMediaStream (Stream <InlineDataPart > mediaChunkStream) async {
87
+ Future <void > sendMediaStream (Stream <InlineDataPart > mediaChunkStream) async {
88
88
_checkWsStatus ();
89
89
90
90
try {
You can’t perform that action at this time.
0 commit comments