DesignVideo: vlcw.py

File vlcw.py, 683 bytes (added by saghul, 2 years ago)
Line 
1#!/usr/bin/env python
2# Copyright (C) 2008-2009 AG Projects. See LICENSE for details.
3#
4
5import vlc
6
7class VLCwrapper(object):
8
9    def __init__(self):
10        self.vlcEngine = None
11        pass
12
13    def init_engine(self):
14        """
15        Initialize VLC engine for allowing the user to stream video or play incoming video.
16        """
17        pass
18
19    def stream_to_port(self, ip, port):
20        """
21        Stream H.264 video to the specified port from the specified local IP.
22        """
23        pass
24
25    def play_from_port(self, port):
26        """
27        Play the video stream received on the specified port.
28        """
29        pass
30
31
32if __name__ == "__main__":
33    pass
34