(codecType int)
| 44 | } |
| 45 | |
| 46 | func (c *GRPCClient) VideoSetCodecType(codecType int) error { |
| 47 | _, err := c.client.VideoSetCodecType(context.Background(), &pb.VideoSetCodecTypeRequest{CodecType: int32(codecType)}) |
| 48 | return err |
| 49 | } |
| 50 | |
| 51 | func (c *GRPCClient) VideoGetCodecType() (int, error) { |
| 52 | resp, err := c.client.VideoGetCodecType(context.Background(), &pb.Empty{}) |
nothing calls this directly
no test coverage detected