| 1 | #!/usr/bin/env python |
|---|
| 2 | # Copyright (C) 2008-2009 AG Projects. See LICENSE for details. |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | import vlc |
|---|
| 6 | |
|---|
| 7 | class 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 | |
|---|
| 32 | if __name__ == "__main__": |
|---|
| 33 | pass |
|---|
| 34 | |
|---|