vadim ✭✭✭

About

Username
vadim
Joined
Visits
835
Last Active
Roles
Registered
Points
225
Badges
16

Comments

  • If you mean volume of remote voice relative to other sounds in scene then use 'volume' property of AudioSource component used to playback remote voice. Other AudioSource properties like 'spatialBlend' may affect resulting volume too. See https://doc…
  • Hi How do you do this without PUN Voice? Add AudioSource, mute it, send audio to it? Whatever works w/o PUN Voice, should work with. You can try to use existing AudioSource or add new. To get copy if mic input, you need to implement Voice.IProcesso…
  • 1. Sound source is correct in my tests in fact. But the level is significantly lower than before connecting headset. The level is almost as low as phone's when holding smartphone at some distance. So please check carefully which output actually work…
  • 1. This happens sometime to me too. I'm looking into it. 2. So it's ok for headsets but slow for speaker? I can't reproduce this. Note that our codebases are pretty different for the moment. To synchronize them you need to wait next Photon Voice 1 …
  • I plugged and unplugged wired headset, switched on and off bluetooth headset in different combinations. While no headset is plugged or connected, sound goes through speaker. AVAudioSessionCategoryOptionDefaultToSpeaker set once for audio session pe…
  • Hi, I played a bit with audio session categories. For now, I found that category most appropriate for games is set via call [sessionInstance setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:(AVAudioSessionCategoryOptionDefaultToSpeaker|…
  • @mahmoud93p I tested Unity 2018.2.17f1 and iPhone 6s ios 12.1 With "force to speaker" component from PhotonVoice package, both unity and photon mic modes route sound to speaker. So I can't reproduce the bug with this setup. With unity built-in "for…
  • Maybe something else should be copied from ForceToSpeaker.m. Also take a look at forcing to speaker module recently updated in one of its repos: https://github.com/10people/UnitySpeakerFix/blob/master/Unity/Assets/Plugins/iOS/iPhoneSpeaker.m They st…
  • i'm afraid players should guess this way themselves in such case. Setting speaker is a standard ios action. Automatic routing to speakers does not work for Photon microphone currently. We are looking into this.
  • Hi, Did you try to select speaker in ios control center?
  • Hi, Can you provide full logs with settings as described in my previous post from both clients for the case when other players are audible?
  • Hi, Try to send less frequently or smaller size images. That way you will find the bandwidth which works for you, Check logs for disconnection reason. Use video codec like vpx instead of jpeg to significantly reduce required bandwidth w/o quality …
  • Hi, Player audio streams are separated clearly. Not sure how they can interfere. Is connection bandwidth enough to receive streams from several players? Do you experience the same problems when running demos from PhotonVoice package? Please share t…
  • Do you mute recorder by setting Unity 'enabled' properties to false? Use PhotonVoice 'Transmit' property instead.
  • Currently we do not provide support for Magic Leap. Depending on underlying platform, Magic Leap may work with one of existing Photon native libraries. Please set PUN logging to Informational in PUN settings, run application and share full app log f…
  • Hi, How do you leave and rejoin? Use "suspend room" and "join room" with Rejoin parameter set to Yes. It's important to join with the same user id. If rejoining client is the same as leaving, user id is preserved automatically. If client has lost c…
  • To stream custom audio source, you need to implement IAudioPusher or IAudioReader (with float type parameter). For details see http://forum.photonengine.com/discussion/comment/39487/#Comment_39487 I think OnAudioFilterRead may be used for AudioSourc…
  • Hi, a) should work. Start os process from plugin when room created and terminate it (send message to process asking to exit) when room closes. You can communicate with process via tcp or pipes. All the info required for initialization can be passed …
  • First make sure that quality is acceptable when using headphones. This is more simple case. Then try switch to speakers if such usage is supposed.
  • Is it acoustic echo when mic records audio from speakers? Headphones should eliminate audio echo entirely except the case when volume is too high and headphones isolation is very poor. Otherwise, having echo with headphones may mean that the nature …
  • You should use connectToNameServer instead which acceps the same options as connect() (do not forget to specify region). But unfortunately these options do not work currently because they are cleared with 'this.connectOptions = {};' line in connect…
  • Use PhotonVoiceRecorder.Transmit property instead of disabling component. If it's false, the client does not broadcast audio. Also you may find useful PhotonVoiceSettings AutoTransmit setting. It controls if transmission is enabled by default on ins…
  • Hi Billy, Amsterdam log does not look good. It almost completely consist of lines like "PUNVoice: Audio Frame event for not existing speaker for voice #1 of player 2." In Seattle log, I see 2 outgoing microphone audio streams created one after anot…
  • Most likely client had been disconnected before you started join random room operation.
  • Hi, Listening clients number should not affect msg/room/s because only one client sends messages (make sure that listening clients do not transmit anything). So only traffic is an issue. Try to make it as low as possible by decreasing Bitrate setti…
  • The sample of factory assignment can be found in Start() method of TestVoice\Gui.cs
  • Hi, Do you see any errors or warnings in log? Please provide full logs from both sender and receiver. Also original and distorted sound samples would help to understand what's wrong. Please check if play delay ms (jitter buffer size) setting affect…
  • So what do you run? Html application in browser or standalone application or maybe editor's preview (is it in browser also?). Did you try different export and preview options? What do you use for ads playback? Some plugin or maybe you playback video…
  • How do you run Photon app? Is this js code in browser or what? Playing ads? What does this mean exactly? In general, to keep connection, js code should be called at least once per sec as happens in browser background pages e.g.
  • Hi @saurabh, You did not mention your audio setup and platform. I guess you are using speakers. Normally, voice is used with headphones and most likely with headphones' mic. Please check first if such setup works for you. If it does but you use spe…