game_chat_data_frame
원격 Game Chat 2 엔드포인트로 전달되어야 하는 나가는 Game Chat 2 데이터에 대한 정보를 나타냅니다.구문
멤버
target_endpoint_identifier_count형식: uint32_t target_endpoint_identifiers에 지정된 원격 엔드포인트 식별자의 수입니다. target_endpoint_identifiers _Field_size_(target_endpoint_identifier_count)
형식: uint64_t* 이 데이터를 전송해야 하는 하나 이상의 원격 엔드포인트 식별자 배열입니다. 배열에는 target_endpoint_identifier_count에 지정된 수의 멤버가 있습니다. transport_requirement
형식: game_chat_data_transport_requirement 데이터에 대한 전송 요구 사항입니다. packet_byte_count
형식: uint32_t target_endpoint_identifiers에서 지정한 원격 엔드포인트로 전송해야 하는 데이터 버퍼의 크기입니다. packet_buffer _Field_size_(packet_byte_count)
형식: uint8_t* target_endpoint_identifiers에서 지정한 원격 엔드포인트로 전송해야 하는 데이터 버퍼에 대한 포인터입니다.
설명
이 구조체는 원격 Game Chat 2 엔드포인트로 전달되어야 하는 오디오 데이터와 같은 나가는 Game Chat 2 데이터에 대한 정보를 나타냅니다.game_chat_data_frame 구조체는 chat_manager::start_processing_data_frames 메서드에 의해 보고됩니다. 앱은 데이터 프레임을 처리한 다음 chat_manager::finish_processing_data_frames 메서드를 호출하여 즉시 반환합니다.
target_endpoint_identifiers 배열에 대한 메모리는 chat_manager::finish_processing_data_frames를 호출하여 이 개체가 반환될 때까지 유효한 상태로 유지됩니다. 해당 배열의 가능한 엔드포인트 식별자 값은 이전에 chat_manager::add_remote_user 메서드 호출을 통해 지정된 값입니다.
game_chat_data_frame_array
game_chat_data_frame_array 유형은 game_chat_data_frame 포인터의 상수 배열입니다. 이 유형은 편의를 위해 제공되며 chat_manager::start_processing_data_frames 및 chat_manager::finish_processing_data_frames 메서드와 함께 사용됩니다.
요구 사항
헤더: GameChat2.h 지원 플랫폼: Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔개념 설명서
함께 보기
Game Chat 2 소개chat_manager
GameChat2 멤버
