Hello, I managed to "join" a camera broadcasting f...
# helpdesk
s
Hello, I managed to "join" a camera broadcasting from RTSP at 2560x1440 resolution to a LiveKit room with https://github.com/livekit/server-sdk-go. However, I want to lower the resolution and bitrate values. In https://github.com/livekit/client-sdk-js we can make many settings. Example:
Copy code
const roomOpts: RoomOptions = {
  adaptiveStream: adaptiveStream,
  dynacast: dynacast,
  audioCaptureDefaults: {
    autoGainControl: true,
    echoCancellation: true,
    noiseSuppression: true,
  },
  publishDefaults: {
    dtx: true,
    videoEncoding: {
      maxBitrate: 900000,
      maxFramerate: 30,
    },
    videoCodec: 'h264',
    audioBitrate: 20000,
    simulcast,
    videoSimulcastLayers: [VideoPresets.h90, VideoPresets.h180, VideoPresets.h216, VideoPresets.h360, VideoPresets.h540],
  },
  videoCaptureDefaults: {
    resolution: VideoPresets.h720.resolution,
  },
};
In summary, how can I change the values of the above variables via https://github.com/livekit/server-sdk-go. Is this possible? Thanks