Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api-v0.3.0 #116

Merged
merged 2 commits into from
Dec 6, 2023
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 livekit-api/livekit/api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.1"
__version__ = "0.3.0"
16 changes: 8 additions & 8 deletions livekit-rtc/livekit/rtc/video_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def to_argb(self, dst: "ArgbFrame") -> None:

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "VideoFrameBuffer":
"""
Create the right class instance from the VideoFrameBufferInfo
Expand Down Expand Up @@ -132,7 +132,7 @@ def _proto_info(self) -> proto_video_frame.VideoFrameBufferInfo:

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "NativeVideoBuffer":
return NativeVideoBuffer(owned_info)

Expand Down Expand Up @@ -398,7 +398,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I420Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -464,7 +464,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I420ABuffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -545,7 +545,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I422Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -598,7 +598,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I444Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -651,7 +651,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I010Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -705,7 +705,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "NV12Buffer":
info = owned_info.info
stride_y = info.bi_yuv.stride_y
Expand Down
Loading