Updating foundation examples to use SmallWebRTCTransport and pipecat-ai-small-webrtc-prebuilt (#1534)
Co-authored-by: Filipi Fuchter <filipi@daily.co>
This commit is contained in:
@@ -25,11 +25,11 @@ class NullProcessor(FrameProcessor):
|
||||
|
||||
|
||||
async def main():
|
||||
"""This test shows heartbeat monitoring by displaying a warning when
|
||||
heartbeats are not received.
|
||||
"""This test shows heartbeat monitoring.
|
||||
|
||||
A warning is dispalyed when heartbeats are not received within the
|
||||
default (5 seconds) timeout.
|
||||
"""
|
||||
|
||||
pipeline = Pipeline([NullProcessor()])
|
||||
|
||||
task = PipelineTask(pipeline, params=PipelineParams(enable_heartbeats=True))
|
||||
|
||||
Reference in New Issue
Block a user