Skip to content

Commit b444d28

Browse files
committed
align params to sdk
1 parent f853f2a commit b444d28

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

extras/jsonrpc/daemon.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,8 @@ type StreamCreateOptions struct {
302302
StreamType *streamType `json:"stream_type,omitempty"`
303303
ReleaseTime *int64 `json:"release_time,omitempty"`
304304
Duration *uint64 `json:"duration,omitempty"`
305-
ImageWidth *uint `json:"image_width,omitempty"`
306-
ImageHeight *uint `json:"image_height,omitempty"`
307-
VideoWidth *uint `json:"video_width,omitempty"`
308-
VideoHeight *uint `json:"video_height,omitempty"`
305+
Width *uint `json:"width,omitempty"`
306+
Height *uint `json:"height,omitempty"`
309307
Preview *string `json:"preview,omitempty"`
310308
AllowDuplicateName *bool `json:"allow_duplicate_name,omitempty"`
311309
ChannelName *string `json:"channel_name,omitempty"`

0 commit comments

Comments
 (0)