Documentation ¶
Index ¶
Constants ¶
View Source
const ( AIRTUNES_PACKET = 0x80 AIRTUNES_TIMING_QUERY = 0xd2 TIMESTAMP_EPOCH = 0x83aa7e80 << 32 //not sure if this is right... //2208988800 )
View Source
const (
HTTPProtocolType = "HTTP/1.1"
)
View Source
const (
RTSPProtocolType = "RTSP/1.0"
)
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(serverName string, delegate airServerInterface)
Start the airplay server. The delegate will contain an interface of stuff to deal with (like audio/video streams, volume controls, etc)
func StartServer ¶
starts the listener and sets up the processing closure
Types ¶
type Client ¶
type Client struct { Name string //the name that the client is reporting RTSPUrl string //the RTSP stream URL Codec []byte //The video codec info // contains filtered or unexported fields }
The client struct is used to encapsulate a device (OS X or iOS).
Source Files ¶
Click to show internal directories.
Click to hide internal directories.