During debugging i’ve traced that file was loaded correctly and all packets were sent to MediaStream. But i can’t hear any sounds (Transcriber is joined to the conference)
Can you help me with that? Can i send some sounds in the conference somehow?
Hello @damencho. Thanks for the information,
But i still have no sounds.
I’ve noticed that in TranscriptionGatewaySession this method returns false
@Override
public boolean isTranslatorSupported()
{
return true;
}
That makes the makes SoundNotificationManage skip injecting sounds in any case
public static void injectSoundFile(Call call, String fileName)
{
MediaStream stream = getMediaStream(call);
// if there is no stream or the calling account is not using translator
// or the current call is not using opus
if (stream == null
|| !call.getProtocolProvider().getAccountID().getAccountPropertyBoolean(
ProtocolProviderFactory.USE_TRANSLATOR_IN_CONFERENCE, false)
|| stream.getDynamicRTPPayloadType(Constants.OPUS) == -1
|| fileName == null)
{
return;
}
Is it possible to use SoundNotificationManager without sip configurations? (Because i need transcriber only)
Why would you do that :)? Someone has just said it and you want to play it, there is no point …
Mind that showing the translations is with corrections of previous messages, which you cannot do with audio, so you will need to implement a complicated mechanism of buffering the translations and fixing them before playing them …