CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

264/265 video format dynamic switching

Author 谢周轩Updated 2025-10-16 14:58:19Doc ID 238193 words · 1 min readView original ↗

1. function description

The equipment can switch 264 and 265 codes in real time on the interface.

2. Docking instructions

2.1 to use SDKs 20190618 6.1.51 and later

After the 2.2 device has successfully switched 264 and 265, call
LIBDVRNET_API int TTXNET_SetMediaInfo(int nAudioType, int nAudioChannel, int nAudioSamplesPerSec, int nAudioBitPerSamples, int nVideoCoder = TTX_VIDEO_CODEC_H264);
notify sdk video format changes

3. Precautions

Note: the nVideoCoder value should be different from the last value. the sdk determines whether the current value is consistent with the last configured value to determine whether the video format has changed.

Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com