add VP8 case to make some tests

This commit is contained in:
Michel Promonet 2015-03-07 20:38:58 +01:00
parent 2c4c64c0bb
commit 7d590d7d3c
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ FramedSource* BaseServerMediaSubsession::createSource(UsageEnvironment& env, Fra
switch (format)
{
case V4L2_PIX_FMT_H264 : source = H264VideoStreamDiscreteFramer::createNew(env, videoES); break;
case V4L2_PIX_FMT_VP8 : source = videoES; break;
}
return source;
}
@ -40,6 +41,7 @@ RTPSink* BaseServerMediaSubsession::createSink(UsageEnvironment& env, Groupsock
switch (format)
{
case V4L2_PIX_FMT_H264 : videoSink = H264VideoRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic); break;
case V4L2_PIX_FMT_VP8 : videoSink = VP8VideoRTPSink::createNew(env, videoES); break;
}
return videoSink;
}

View File

@ -29,7 +29,6 @@
// live555
#include <BasicUsageEnvironment.hh>
#include <GroupsockHelper.hh>
#include <Base64.hh>
// project
#include "logger.h"