I am facing this issue. The message size I am pushing to is bigger (13417774 vs. 4194304).
Message=<_InactiveRpcError of RPC that terminated with:
status = StatusCode.RESOURCE_EXHAUSTED
details = “Received message larger than max (13417774 vs. 4194304)”
debug_error_string = "UNKNOWN:Error
push_audio_track
response = stub.PushAudio(request)
push_audio_track(a2f_url, wavarr, sample_rate, a2f_avatar_instance)
I tried fixing it by creating a grpc channel with max send/receive message length of unlimited (-1). while creating the channel.
('grpc.max_message_length', -1),
('grpc.max_send_message_length', -1),
('grpc.max_receive_message_length', -1)
But it doesnt work. I guess I need to set these values at the grpc server side as well ? cant find where to set this inside audio2face.
Tried using push_audio_track and push_audio_track_stream as well. Error remains the same.
Any help on this would be much appreciated