Tuesday, June 25, 2013

Ported the components i need for a basic stream

The porting was not much [092db60]
I almost have everything i need for a basic pipeline consisting of the following:
  • Audio test and video test producers
  • Audio and video encoders (Vorbis and Theora)
  • Muxer (Ogg)
  • Consumer (http streamer)

I have some issues when testing httpstreamer.py:


track@track-HP-ProBook-4520s:~/Downloads/flumotion$ trial flumotion.test.test_component_httpstreamer
flumotion.test.test_component_httpstreamer
  TestStreamDataNoPlug
    testGetStreamData ...                                               [ERROR]
  TestStreamDataPlug
    testGetStreamData ...                                             [SKIPPED]

===============================================================================
[SKIPPED]
See #1137

flumotion.test.test_component_httpstreamer.TestStreamDataPlug.testGetStreamData
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/track/Downloads/flumotion/flumotion/test/test_component_httpstreamer.py", line 64, in testGetStreamData
    streamData = self.component.getStreamData()
  File "/home/track/Downloads/flumotion/flumotion/component/common/streamer/streamer.py", line 464, in getStreamData
    'url': self.getUrl()}
  File "/home/track/Downloads/flumotion/flumotion/component/common/streamer/streamer.py", line 454, in getUrl
    return "http://%s%s%s" % (self.hostname, port_str, self.mountPoint)
exceptions.AttributeError: 'MultifdSinkStreamer' object has no attribute 'hostname'

flumotion.test.test_component_httpstreamer.TestStreamDataNoPlug.testGetStreamData
-------------------------------------------------------------------------------
Ran 2 tests in 0.012s


TO DO:
*Get successes on the test for the http streamer
*Try to figure out why test_common_gstreamer returns 2 fails on the Caps test
*Get in contact with someone from Twisted and ask for reactors compatible with gi



No comments :

Post a Comment