diff --git a/examples/local_video/publisher.py b/examples/local_video/publisher.py index f7909543..0486e380 100644 --- a/examples/local_video/publisher.py +++ b/examples/local_video/publisher.py @@ -21,7 +21,7 @@ def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser( - description="Publish a local camera track with optional packet-trailer metadata.", + description="Publish a local camera track with optional frame metadata.", formatter_class=argparse.ArgumentDefaultsHelpFormatter, ) parser.add_argument("--camera-index", type=int, default=0, help="OpenCV camera index to use") diff --git a/examples/local_video/subscriber.py b/examples/local_video/subscriber.py index b010c041..c2464e2f 100644 --- a/examples/local_video/subscriber.py +++ b/examples/local_video/subscriber.py @@ -33,7 +33,7 @@ class SubscribedVideoTrack: def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser( - description="Subscribe to a LiveKit video track and optionally display packet metadata.", + description="Subscribe to a LiveKit video track and optionally display frame metadata.", formatter_class=argparse.ArgumentDefaultsHelpFormatter, ) parser.add_argument("--room-name", default="video-room", help="LiveKit room name") diff --git a/livekit-rtc/livekit/rtc/video_source.py b/livekit-rtc/livekit/rtc/video_source.py index 0cab1754..c8dd2a02 100644 --- a/livekit-rtc/livekit/rtc/video_source.py +++ b/livekit-rtc/livekit/rtc/video_source.py @@ -60,7 +60,7 @@ def capture_frame( rotation: proto_video.VideoRotation.ValueType = proto_video.VideoRotation.VIDEO_ROTATION_0, metadata: proto_video.FrameMetadata | None = None, ) -> None: - """Capture a frame, optionally attaching packet trailer metadata.""" + """Capture a frame, optionally attaching frame metadata.""" req = proto_ffi.FfiRequest() req.capture_video_frame.source_handle = self._ffi_handle.handle req.capture_video_frame.buffer.CopyFrom(frame._proto_info())