Youtube Video Preview:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Numerics; | |
using System.Security.Cryptography; | |
using System.Threading; | |
namespace Dh | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shinobi (http://shinobi.video) - FFMPEG H.264 over HTTP Test | |
// How to Use raw H.264 (Simulated RTSP) | |
// 1. Start with `node ffmpegToWeb.js` | |
// 2. Get the IP address of the computer where you did step 1. Example : 127.0.0.1 | |
// 3. Open VLC and "Open Network Stream". | |
// 4. Input the following without quotes : `http://127.0.0.1:8001/h264` and start. | |
var child = require('child_process'); | |
var io = require('socket.io'); | |
var events = require('events'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var lines1 = File.ReadAllLines(args[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
namespace Cry.Proxy | |
{ | |
public enum MessageType | |
{ | |
Plain = 0, | |
Encrypted = 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Vec3<T> | |
{ | |
public T X { get; set; } | |
public T Y { get; set; } | |
public T Z { get; set; } | |
public Vec3() | |
{ | |
this.X = default; | |
this.Y = default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables | |
{ | |
player: | |
0: cameraShakeStatus | |
1: cameraShakeStep | |
} | |
subroutines | |
{ | |
0: ApplyCameraShake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings | |
{ | |
lobby | |
{ | |
Map Rotation: Paused | |
Return To Lobby: Never | |
} | |
modes | |
{ |
clockData
(index: 0) an array that will filled with clock data:
clockData[0]
: hoursclockData[1]
: minutesclockData[2]
: seconds
Every time will loop and update clock, incrementing values. If you need to detect clock updates you can make an copy of clockData
then compare each value.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings | |
{ | |
lobby | |
{ | |
Allow Players Who Are In Queue: Yes | |
Data Center Preference: Brazil | |
Map Rotation: Paused | |
Return To Lobby: Never | |
} |