spacing typos
This commit is contained in:
parent
8a9111d0b3
commit
44245a9a4f
|
@ -48,13 +48,13 @@ RTPSink* BaseServerMediaSubsession::createSink(
|
||||||
if ( format == "video/MP2T" ) {
|
if ( format == "video/MP2T" ) {
|
||||||
videoSink = SimpleRTPSink::createNew(env, rtpGroupsock, rtpPayloadTypeIfDynamic, 90000, "video", "MP2T", 1, True, False);
|
videoSink = SimpleRTPSink::createNew(env, rtpGroupsock, rtpPayloadTypeIfDynamic, 90000, "video", "MP2T", 1, True, False);
|
||||||
} else if ( format == "video/H264" ) {
|
} else if ( format == "video/H264" ) {
|
||||||
videoSink = H264VideoRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
videoSink = H264VideoRTPSink::createNew(env, rtpGroupsock, rtpPayloadTypeIfDynamic);
|
||||||
} else if ( format == "video/VP8" ) {
|
} else if ( format == "video/VP8" ) {
|
||||||
videoSink = VP8VideoRTPSink::createNew (env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
videoSink = VP8VideoRTPSink::createNew(env, rtpGroupsock, rtpPayloadTypeIfDynamic);
|
||||||
}
|
}
|
||||||
#if LIVEMEDIA_LIBRARY_VERSION_INT > 1414454400
|
#if LIVEMEDIA_LIBRARY_VERSION_INT > 1414454400
|
||||||
else if ( format == "video/VP9" ) {
|
else if ( format == "video/VP9" ) {
|
||||||
videoSink = VP9VideoRTPSink::createNew (env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
videoSink = VP9VideoRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
||||||
} else if ( format == "video/H265" ) {
|
} else if ( format == "video/H265" ) {
|
||||||
videoSink = H265VideoRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
videoSink = H265VideoRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic);
|
||||||
#endif
|
#endif
|
||||||
|
@ -66,7 +66,7 @@ RTPSink* BaseServerMediaSubsession::createSink(
|
||||||
videoSink = JPEGVideoRTPSink::createNew (env, rtpGroupsock);
|
videoSink = JPEGVideoRTPSink::createNew (env, rtpGroupsock);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Error("Sinkce %p %s", videoSink, format.c_str());
|
Error("Sink %p %s", videoSink, format.c_str());
|
||||||
return videoSink;
|
return videoSink;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,9 +86,9 @@ char const* BaseServerMediaSubsession::getAuxLine(
|
||||||
os << "a=x-dimensions:" << width << "," << height << "\r\n";
|
os << "a=x-dimensions:" << width << "," << height << "\r\n";
|
||||||
}
|
}
|
||||||
auxLine = strdup(os.str().c_str());
|
auxLine = strdup(os.str().c_str());
|
||||||
Error( "auxLine: %s", auxLine);
|
Error("auxLine: %s", auxLine);
|
||||||
} else {
|
} else {
|
||||||
Error( "No source auxLine: ");
|
Error("No source auxLine: ");
|
||||||
}
|
}
|
||||||
return auxLine;
|
return auxLine;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue