<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
		<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Unity%2FAgora%2Fvoicechat_community%2F%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1</id>
		<title>Unity/Agora/voicechat community/デモ通話 - 変更履歴</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Unity%2FAgora%2Fvoicechat_community%2F%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1"/>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Unity/Agora/voicechat_community/%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1&amp;action=history"/>
		<updated>2026-04-19T18:02:09Z</updated>
		<subtitle>このウィキのこのページに関する変更履歴</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Unity/Agora/voicechat_community/%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1&amp;diff=16118&amp;oldid=prev</id>
		<title>Admin: /* AgoraTemplate2020が適用されない */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Unity/Agora/voicechat_community/%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1&amp;diff=16118&amp;oldid=prev"/>
				<updated>2022-11-24T09:26:59Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;AgoraTemplate2020が適用されない&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2022年11月24日 (木) 09:26時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Assets/WebGLTemplates/AgoraTemplate2020があるか確認する。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Assets/WebGLTemplates/AgoraTemplate2020があるか確認する。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*PCを再起動する&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*PCを再起動する&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===&amp;quot;Client already in connecting/connected state&amp;quot;エラーが出る時===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;詳細&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; AgoraRTCException: AgoraRTCError INVALID_OPERATION: [client-fa598] Client already in connecting/connected state&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;joinを2回やってたりするとでるので、joinフラグか何かをもたせて、2度処理などしないように。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Unity/Agora/voicechat_community/%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1&amp;diff=15987&amp;oldid=prev</id>
		<title>Admin: ページの作成:「 ==デモから音声通話サンプル作成== VoiceScene.unityを追加して、VoiceScene.csを作成して、VoiceScene.unityのMainCameraへ追加 &lt;pre&gt; using UnityE...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Unity/Agora/voicechat_community/%E3%83%87%E3%83%A2%E9%80%9A%E8%A9%B1&amp;diff=15987&amp;oldid=prev"/>
				<updated>2022-11-02T08:39:56Z</updated>
		
		<summary type="html">&lt;p&gt;ページの作成:「 ==デモから音声通話サンプル作成== VoiceScene.unityを追加して、VoiceScene.csを作成して、VoiceScene.unityのMainCameraへ追加 &amp;lt;pre&amp;gt; using UnityE...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
==デモから音声通話サンプル作成==&lt;br /&gt;
VoiceScene.unityを追加して、VoiceScene.csを作成して、VoiceScene.unityのMainCameraへ追加&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
using UnityEngine;&lt;br /&gt;
&lt;br /&gt;
public class VoiceScene : MonoBehaviour&lt;br /&gt;
{&lt;br /&gt;
    void Start()&lt;br /&gt;
    {&lt;br /&gt;
#if !UNITY_EDITOR &amp;amp;&amp;amp; UNITY_WEBGL&lt;br /&gt;
        string AppID = &amp;quot;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&amp;quot;;&lt;br /&gt;
        TestHelloUnityVideo app = null;&lt;br /&gt;
        // create app if nonexistent&lt;br /&gt;
        if (ReferenceEquals(app, null))&lt;br /&gt;
        {&lt;br /&gt;
            app = new TestHelloUnityVideo(); // create app&lt;br /&gt;
            app.loadEngine(AppID); // load engine&lt;br /&gt;
        }&lt;br /&gt;
        string ChannelName = &amp;quot;testchannel&amp;quot;;&lt;br /&gt;
        bool enableVideo = false;&lt;br /&gt;
        bool muted = false;&lt;br /&gt;
        app.join(ChannelName, enableVideo, muted);&lt;br /&gt;
#endif&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Assets/AgoraEngine/Demo/AudioVideoState.csのフラグを追加&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
public class AudioVideoStates&lt;br /&gt;
{&lt;br /&gt;
    public bool subAudio = true;&lt;br /&gt;
    public bool subVideo = false;&lt;br /&gt;
    public bool pubAudio = true;&lt;br /&gt;
    public bool pubVideo = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Assets/AgoraEngine/Demo/TestHelloUnityVideo.csのjoin()内の、SetupInitState();を削除&lt;br /&gt;
#AssetsAgoraEngine/Prefabs/AgoraEventHandlerを、ロードSceneに追加しておく。&lt;br /&gt;
&lt;br /&gt;
===切断処理===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
public void Disconnect()&lt;br /&gt;
{&lt;br /&gt;
    if (!ReferenceEquals(app, null))&lt;br /&gt;
    {&lt;br /&gt;
        app.leave(); // leave channel&lt;br /&gt;
        app.unloadEngine(); // delete engine&lt;br /&gt;
        app = null; // delete app&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===ビルド後html表示時に&amp;quot;NullReferenceException&amp;quot;エラーとなる場合===&lt;br /&gt;
エラー詳細&lt;br /&gt;
 webgl_project_audio.framework.js:3 NullReferenceException: Object reference not set to an instance of an object.&lt;br /&gt;
Assets/AgoraEngine/Demo/TestHelloUnityVideo.csのjoin()内の、SetupInitState();を削除&lt;br /&gt;
&lt;br /&gt;
===AgoraTemplate2020が適用されない===&lt;br /&gt;
*Assets/WebGLTemplates/AgoraTemplate2020があるか確認する。&lt;br /&gt;
*PCを再起動する&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>