vadim ✭✭✭

About

Username
vadim
Joined
Visits
705
Last Active
Roles
Registered
Points
213
Badges
16

Comments

  • 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…
  • I tested disabling hidden page timer throttling in Safary and it helped. While this is not affordable solution for end user, it proves that the problem is Safary's only. So I would suggest average user do not use Safary as a client. The link is http…
  • Yes, that means PUN does not support asmdef currently. Note that PUN is being refactored now. So you may need to do you fixes a bit different way for the next PUN release.
  • Photon js library declares global object 'Photon' which exposes entire Photon API except logging which is in another global object 'Exitgames', e.g.: Photon.LoadBalancing.LoadBalancingClient, Exitgames.Common.Logger.Level.INFO. You can find usage s…
  • Hi, Did you try to make this public?
  • See joinToken option in JoinRoom method. To be able to rejoin, you need to leave room with any method except calling leaveRoom().
  • Aside safari, which browsers loose connection while out of focus? Normally, even in background, javascript is still executed once per second which is enough for keeping connection. Similar issue: https://apple.stackexchange.com/questions/280679/prev…
  • Did your configure your app properly as described at https://doc.photonengine.com/en-us/realtime/current/reference/webrp ?
  • Hi, In case all works ok when fed with mic audio directly, w/o custom audio source then your AudioRecorder most likely causes this looping. Try to debug or trace it. The only suspicious thing which caught my eye is Factory assignment. You do it mult…
  • Hi, Not sure what early version means but regular one can be found as usually at https://www.photonengine.com/en-US/sdks#construct2
  • Just noticed that Photon SDK version was specified in the topic title So you upgraded to the latest and have the same error. Photon libs are built with version 19.00 compiler. Microsoft states that libraries code should be compatible with obj file…
  • What Photon SDK version do you use? What are compiler and linker versions? You can check versions by running cl.exe and link.exe from vs command prompt.
  • How do you load Photon lib in node environment? It should be something like this: load("Photon-Javascript_SDK.js"); s Also, js sdk relies on browser's WebSocket object, So you need to implement its interface with websocket you use in nodejs. Like t…
  • Hi, You can try rejoin logic. If client was disconnected abruptly or with suspend() call, it can rejoin with the same actor nr even if room is closed.
  • Hi, Sorry for the delay. The code is obviously wrong. But it will affect onRoomListUpdate callback behavior only and can't cause random room join failure. Thanks for bug report. We will fix it next release. Most frequent reason for random room joi…
  • I've read your posts once again. It does not seems like you understand good how Photon Server or Photon Cloud works. MMO demo uses Photon Server with custom code. This is probably most advanced topic in Photon development. So I think you started fro…
  • Hi, Are you working on the project that uses the same interest areas technique as used in mmo demo and want to clarify implementation details? Or you are asking how Photon server works in general and mmo demo is just a sample? If the latter is true,…
  • PhotonVoiceRecorder's AudioClip is supposed to be used for files playback. Not sure what happens when you override it with your clip. To stream audio from custom source, set PhotonVoiceRecorder's Source to Factory in editor and tell PhotonVoice to…
  • In theory, Bitrate and Sampling Rate may affect single packet compression time and therefore delay. But I think the difference is too small to notice.
  • The code does not make sense. You set handler which simply logs on each frame. Not sure what code below does. In case you want to capture entire stream, open file in OnRemoteVoiceInfoAction handler, write frame of audio data in OnAudioFrameAction ha…
  • Play Delay Ms adds exactly its value to overall latency. So keep it as low as possible while audio quality is acceptable. This delay is required to compensate incoming packets jitter. You can also save another 10 ms by changing Frame Duration from …
  • The port is the same as for PUN TCP: 4533 I think it's set automatically.
  • Why PhotonVoiceNetwork.Client.OnAudioFrameAction does not work for you? I forgot to mention PhotonVoiceNetwork.Client.OnRemoteVoiceInfoAction which provides info on new remote voice and PhotonVoiceNetwork.OnRemoteVoiceRemoveAction signalling remote…
  • Can you explain what is the exact issue and why udp does not work for you? We can add udp/tcp option in next Photon Voice release if it makes sense. Probably Hamza meant replacing Udp to Tcp in PhotonVoiceNetwork.cs's line client = new UnityVoiceFr…
  • Hi, You can add incoming streams handlers during app initialization like this: PhotonVoiceNetwork.Client.OnAudioFrameAction += (playerId, voiceId, frame) => Debug.LogFormat("{0} {1} {2}", playerId, voiceId, frame[0]); playerId and voiceId uniquel…
  • PotonVoice package in Assets store is updated recently and should have fixed AudioIn.dll
  • It should work. We can't say anything w/o logs. Maybe this is the same issue as in http://forum.photonengine.com/discussion/comment/38661
  • Hi, Do you see errors or anything helpful in logs? Voice client may be disconnected for some reason. You can try to test connection with TestVoice projects. It shows connections state for both PUN and Voice in ui. Or implement similar output in you…
  • Good to know that it works. It's always better to start with default settings, then adjust them if required. If you still experience dropouts, try to increase PlayDelayMs which sets jitter buffer size in milliseconds. Jitter buffer compensates irre…
  • Thanks for bug report and fix. I can't reproduce this behavior in my test but obviously the code was wrong because it iterates over object properties, not array elements. I will update sdk package soon.