Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/local_video/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion examples/local_video/subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion livekit-rtc/livekit/rtc/video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Loading