 import Foundation
 import MultipeerConnectivity
 
-class ConnectedVideoPanoramaViewController: VideoPanoramaViewController, MCAdvertiserAssistantDelegate, MCBrowserViewControllerDelegate {
+class ConnectedVideoPanoramaViewController: VideoPanoramaViewController, MCAdvertiserAssistantDelegate, MCBrowserViewControllerDelegate, MCSessionDelegate {
     
     let serviceType = "VideoPanorama"
     var peerID: MCPeerID

        dismissViewControllerAnimated(true, completion: nil)
    }
    
    @IBAction func send() {
        if session.connectedPeers.count != 1 {
            println("We assume there is only one connected peer. It's a Hackday after all…")

    }
    
    override func viewDidLoad() {
        session.delegate = self
        advertiser.delegate = self
        println("Starting Advertiser")
        advertiser.start()
