settings_override in call.create has unexpected required props
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- api
Hướng nghiên cứu
Bắt đầu tại điểm vào call.create và theo dõi cách settings_override được xác thực cho các trường video và audio được hiển thị trong lỗi. Tái tạo yêu cầu chỉ với camera_default_on, sau đó xác định liệu việc hoàn tất có nghĩa là chấp nhận các ghi đè một phần mà không yêu cầu các cài đặt không liên quan hay ghi lại hành vi đó trong tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Didn't want to create a support ticket if this is a better place to log.
Using call type 'default' in development mode app.
https://dashboard.getstream.io/app/1410477/video/call-types/default
I only want to specify the props I want to override, but the errors indicate a number of props require values.
Having to specify the required props like video.target_resolution on the server doesn't make sense or is practical, or audio.default_device etc.
I can retrieve the call type and merge my settings changes for value for settings_override, but I don't like this extra call.
const createdCall = await call.create({
data: {
created_by_id: `user-${caller.id}`,
custom: customData,
members: members?.map((m) => ({ user_id: `user-${m.user_id}`, role: m.role })),
settings_override: {
video: {
camera_default_on: true
},
audio: {
}
}
}
})
Error:
- message: Stream error code 4: GetOrCreateCall failed with error: "data.settings_override.audio.default_device is a required field, data.settings_override.video.target_resolution.height must be 240 or greater, data.settings_override.video.target_resolution.width must be 240 or greater"
- code: 4
- Ngôn ngữ chính
- TypeScript
- Star
- 19
- Fork
- 3
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 11
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GetStream/stream-node
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
GetStream/stream-node#321 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GetStream/stream-node#2 ·
Tất cả issue của GetStream/stream-node
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100