Skip to content

Instantly share code, notes, and snippets.

Created May 13, 2018 00:46
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
A simple Swift enum that contains Twitch RTMP addresses in different cities
// TwitchIngest.swift
// Created by Ahmed Bekhit on 5/12/18.
// Copyright © 2018 Ahmed Bekhit. All rights reserved.
// MARK:- Source:
public enum TwitchRTMPCity: String {
case jfk = "rtmp://" //"New York City, New York"
case mia = "rtmp://" //"Miami, Florida"
case ord = "rtmp://" //"Chicago, Illinios"
case atl = "rtmp://" //"Atlanta, Georgia"
case dfw = "rtmp://" //"Dallas, Texas"
case sjc = "rtmp://" //"San Jose, California"
case sea = "rtmp://" //"Seattle, Washington"
case ymq = "rtmp://" //"Qubec, Canada"
case yto = "rtmp://" //"Toronto, Canada"
case lhr = "rtmp://" //"London, United Kingdom"
case ams = "rtmp://" //"Amsterdam, Netherlands"
case rio = "rtmp://" //"Rio de Janiero, Brazil"
case syd = "rtmp://" //"Sydney, Australia"
case ber = "rtmp://" //"Berlin, Germany"
case cdg = "rtmp://" //"Paris, France"
case hkg = "rtmp://" //"Hong Kong, Hong Kong"
case tpe = "rtmp://" //"Taipei, Taiwan"
case sel = "rtmp://" //"Seoul, South Korea"
case tyo = "rtmp://" //"Tokyo, Japan"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment