/// <summary> /// Do command in the given world /// </summary> /// <param name="targetWorld">The world to apply command</param> /// <returns>Command processing result</returns> internal override Core.CommandResult DoCommand(World targetWorld) { StreamingSession stream = new StreamingSession(Contents); targetWorld.MyChannel.StartStreamingSession(stream); return(Core.CommandResult.SimpleSuccess); }
public void StartStreamingSession(Broadcasting.StreamingSession session) { m_currentStreaming = session; if (m_currentStreaming.streamingContents != null) { m_currentStreaming.streamingContents.OnStreamingStarted(); } }