public AirplayEmitter(string name, AirplayServerInfo serverInfo, int port = 7000, bool pass = false, bool ios8Workaround = false)
 {
     this.name       = name;
     this.identifier = serverInfo.DeviceId;
     this.model      = serverInfo.Model;
     this.features   = "0x" + ((int)serverInfo.Features).ToString("X4");
     Logger.Debug("Features: {0} ({1})", serverInfo.Features, features);
     this.port           = port;
     this.pass           = pass;
     this.ios8Workaround = ios8Workaround;
 }
Exemple #2
0
 public AirplayServer()
 {
     Port       = DEFAULT_PORT;
     serverInfo = new AirplayServerInfo()
     {
         ProtocolVersion = "1.0",
         ServerVersion   = "130.14",
         Features        = AirplayFeature.Photo |
                           AirplayFeature.PhotoCaching |
                           AirplayFeature.Slideshow |
                           AirplayFeature.Video |
                           AirplayFeature.VideoHTTPLiveStreams |
                           AirplayFeature.VideoVolumeControl
     };
 }
Exemple #3
0
 public AirplaySession(Socket socket, AirplayServerInfo serverInfo, string password = null)
     : base(socket, password, DIGEST_REALM)
 {
     this.serverInfo = serverInfo;
 }