for bug #229, remove the windows vs2010 build files for srs-librtmp build failed on windows.
正在显示
8 个修改的文件
包含
0 行增加
和
625 行删除
trunk/winbuild/srs-librtmp.def
已删除
100644 → 0
1 | -LIBRARY | ||
2 | -EXPORTS | ||
3 | -srs_rtmp_create | ||
4 | -srs_rtmp_create2 | ||
5 | -srs_rtmp_destroy | ||
6 | -srs_rtmp_handshake | ||
7 | -srs_rtmp_connect_app | ||
8 | -srs_rtmp_connect_app2 | ||
9 | -srs_rtmp_play_stream | ||
10 | -srs_rtmp_publish_stream | ||
11 | -srs_rtmp_read_packet | ||
12 | -srs_rtmp_write_packet | ||
13 | -srs_version_major | ||
14 | -srs_version_minor | ||
15 | -srs_version_revision | ||
16 | -srs_utils_parse_timestamp | ||
17 | -srs_human_format_time | ||
18 | -srs_human_print_rtmp_packet | ||
19 | -srs_rtmp_bandwidth_check | ||
20 | -; | ||
21 | -__srs_rtmp_do_simple_handshake | ||
22 | -__srs_rtmp_connect_server | ||
23 | -__srs_rtmp_dns_resolve | ||
24 | - | ||
25 | -;;;;;;;;for flv read/write;;;;;;;; | ||
26 | -srs_flv_open_read | ||
27 | -srs_flv_open_write | ||
28 | -srs_flv_close | ||
29 | -srs_flv_read_header | ||
30 | -srs_flv_read_tag_header | ||
31 | -srs_flv_read_tag_data | ||
32 | -srs_flv_write_header | ||
33 | -srs_flv_write_tag | ||
34 | -srs_flv_size_tag | ||
35 | -srs_flv_tellg | ||
36 | -srs_flv_lseek | ||
37 | -srs_flv_is_eof | ||
38 | -srs_flv_is_sequence_header | ||
39 | -srs_flv_is_keyframe | ||
40 | - | ||
41 | -;;;;;;;;for h264 read/write;;;;;;;; | ||
42 | -srs_h264_write_raw_frames | ||
43 | -srs_h264_is_dvbsp_error | ||
44 | -srs_h264_is_duplicated_sps_error | ||
45 | -srs_h264_is_duplicated_pps_error | ||
46 | -srs_h264_startswith_annexb |
trunk/winbuild/srs-librtmp_vs2010.sln
已删除
100644 → 0
1 | - | ||
2 | -Microsoft Visual Studio Solution File, Format Version 11.00 | ||
3 | -# Visual Studio 2010 | ||
4 | -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "srs-librtmp", "srs-librtmp_vs2010.vcxproj", "{051CC3D8-5A99-4534-90EE-AED40EDDEEB2}" | ||
5 | -EndProject | ||
6 | -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "srs_play", "srs_play.vcxproj", "{5149B9A9-5085-4A10-AD6F-23FBE6854390}" | ||
7 | -EndProject | ||
8 | -Global | ||
9 | - GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
10 | - Debug|Win32 = Debug|Win32 | ||
11 | - Release|Win32 = Release|Win32 | ||
12 | - EndGlobalSection | ||
13 | - GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
14 | - {051CC3D8-5A99-4534-90EE-AED40EDDEEB2}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
15 | - {051CC3D8-5A99-4534-90EE-AED40EDDEEB2}.Debug|Win32.Build.0 = Debug|Win32 | ||
16 | - {051CC3D8-5A99-4534-90EE-AED40EDDEEB2}.Release|Win32.ActiveCfg = Release|Win32 | ||
17 | - {051CC3D8-5A99-4534-90EE-AED40EDDEEB2}.Release|Win32.Build.0 = Release|Win32 | ||
18 | - {5149B9A9-5085-4A10-AD6F-23FBE6854390}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
19 | - {5149B9A9-5085-4A10-AD6F-23FBE6854390}.Debug|Win32.Build.0 = Debug|Win32 | ||
20 | - {5149B9A9-5085-4A10-AD6F-23FBE6854390}.Release|Win32.ActiveCfg = Release|Win32 | ||
21 | - {5149B9A9-5085-4A10-AD6F-23FBE6854390}.Release|Win32.Build.0 = Release|Win32 | ||
22 | - EndGlobalSection | ||
23 | - GlobalSection(SolutionProperties) = preSolution | ||
24 | - HideSolutionNode = FALSE | ||
25 | - EndGlobalSection | ||
26 | -EndGlobal |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | - <ItemGroup Label="ProjectConfigurations"> | ||
4 | - <ProjectConfiguration Include="Debug|Win32"> | ||
5 | - <Configuration>Debug</Configuration> | ||
6 | - <Platform>Win32</Platform> | ||
7 | - </ProjectConfiguration> | ||
8 | - <ProjectConfiguration Include="Release|Win32"> | ||
9 | - <Configuration>Release</Configuration> | ||
10 | - <Platform>Win32</Platform> | ||
11 | - </ProjectConfiguration> | ||
12 | - </ItemGroup> | ||
13 | - <ItemGroup> | ||
14 | - <ClCompile Include="..\src\core\srs_core.cpp" /> | ||
15 | - <ClCompile Include="..\src\core\srs_core_autofree.cpp" /> | ||
16 | - <ClCompile Include="..\src\core\srs_platform.cpp" /> | ||
17 | - <ClCompile Include="..\src\kernel\srs_kernel_buffer.cpp" /> | ||
18 | - <ClCompile Include="..\src\kernel\srs_kernel_codec.cpp" /> | ||
19 | - <ClCompile Include="..\src\kernel\srs_kernel_consts.cpp" /> | ||
20 | - <ClCompile Include="..\src\kernel\srs_kernel_error.cpp" /> | ||
21 | - <ClCompile Include="..\src\kernel\srs_kernel_file.cpp" /> | ||
22 | - <ClCompile Include="..\src\kernel\srs_kernel_flv.cpp" /> | ||
23 | - <ClCompile Include="..\src\kernel\srs_kernel_log.cpp" /> | ||
24 | - <ClCompile Include="..\src\kernel\srs_kernel_stream.cpp" /> | ||
25 | - <ClCompile Include="..\src\kernel\srs_kernel_utility.cpp" /> | ||
26 | - <ClCompile Include="..\src\libs\srs_librtmp.cpp" /> | ||
27 | - <ClCompile Include="..\src\libs\srs_lib_bandwidth.cpp" /> | ||
28 | - <ClCompile Include="..\src\libs\srs_lib_simple_socket.cpp" /> | ||
29 | - <ClCompile Include="..\src\rtmp\srs_protocol_amf0.cpp" /> | ||
30 | - <ClCompile Include="..\src\rtmp\srs_protocol_handshake.cpp" /> | ||
31 | - <ClCompile Include="..\src\rtmp\srs_protocol_io.cpp" /> | ||
32 | - <ClCompile Include="..\src\rtmp\srs_protocol_msg_array.cpp" /> | ||
33 | - <ClCompile Include="..\src\rtmp\srs_protocol_rtmp.cpp" /> | ||
34 | - <ClCompile Include="..\src\rtmp\srs_protocol_stack.cpp" /> | ||
35 | - <ClCompile Include="..\src\rtmp\srs_protocol_utility.cpp" /> | ||
36 | - </ItemGroup> | ||
37 | - <ItemGroup> | ||
38 | - <ClInclude Include="..\src\core\srs_core.hpp" /> | ||
39 | - <ClInclude Include="..\src\core\srs_core_autofree.hpp" /> | ||
40 | - <ClInclude Include="..\src\core\srs_platform.hpp" /> | ||
41 | - <ClInclude Include="..\src\kernel\srs_kernel_buffer.hpp" /> | ||
42 | - <ClInclude Include="..\src\kernel\srs_kernel_codec.hpp" /> | ||
43 | - <ClInclude Include="..\src\kernel\srs_kernel_consts.hpp" /> | ||
44 | - <ClInclude Include="..\src\kernel\srs_kernel_error.hpp" /> | ||
45 | - <ClInclude Include="..\src\kernel\srs_kernel_file.hpp" /> | ||
46 | - <ClInclude Include="..\src\kernel\srs_kernel_flv.hpp" /> | ||
47 | - <ClInclude Include="..\src\kernel\srs_kernel_log.hpp" /> | ||
48 | - <ClInclude Include="..\src\kernel\srs_kernel_stream.hpp" /> | ||
49 | - <ClInclude Include="..\src\kernel\srs_kernel_utility.hpp" /> | ||
50 | - <ClInclude Include="..\src\libs\srs_librtmp.hpp" /> | ||
51 | - <ClInclude Include="..\src\libs\srs_lib_bandwidth.hpp" /> | ||
52 | - <ClInclude Include="..\src\libs\srs_lib_simple_socket.hpp" /> | ||
53 | - <ClInclude Include="..\src\rtmp\srs_protocol_amf0.hpp" /> | ||
54 | - <ClInclude Include="..\src\rtmp\srs_protocol_handshake.hpp" /> | ||
55 | - <ClInclude Include="..\src\rtmp\srs_protocol_io.hpp" /> | ||
56 | - <ClInclude Include="..\src\rtmp\srs_protocol_msg_array.hpp" /> | ||
57 | - <ClInclude Include="..\src\rtmp\srs_protocol_rtmp.hpp" /> | ||
58 | - <ClInclude Include="..\src\rtmp\srs_protocol_stack.hpp" /> | ||
59 | - <ClInclude Include="..\src\rtmp\srs_protocol_utility.hpp" /> | ||
60 | - </ItemGroup> | ||
61 | - <ItemGroup> | ||
62 | - <None Include="srs-librtmp.def" /> | ||
63 | - </ItemGroup> | ||
64 | - <PropertyGroup Label="Globals"> | ||
65 | - <ProjectGuid>{051CC3D8-5A99-4534-90EE-AED40EDDEEB2}</ProjectGuid> | ||
66 | - <Keyword>Win32Proj</Keyword> | ||
67 | - <RootNamespace>srslibrtmp</RootNamespace> | ||
68 | - <ProjectName>srs-librtmp</ProjectName> | ||
69 | - </PropertyGroup> | ||
70 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
71 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
72 | - <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
73 | - <UseDebugLibraries>true</UseDebugLibraries> | ||
74 | - <CharacterSet>Unicode</CharacterSet> | ||
75 | - </PropertyGroup> | ||
76 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
77 | - <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
78 | - <UseDebugLibraries>false</UseDebugLibraries> | ||
79 | - <WholeProgramOptimization>true</WholeProgramOptimization> | ||
80 | - <CharacterSet>Unicode</CharacterSet> | ||
81 | - </PropertyGroup> | ||
82 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
83 | - <ImportGroup Label="ExtensionSettings"> | ||
84 | - </ImportGroup> | ||
85 | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
86 | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
87 | - </ImportGroup> | ||
88 | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
89 | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
90 | - </ImportGroup> | ||
91 | - <PropertyGroup Label="UserMacros" /> | ||
92 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
93 | - <LinkIncremental>true</LinkIncremental> | ||
94 | - </PropertyGroup> | ||
95 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
96 | - <LinkIncremental>false</LinkIncremental> | ||
97 | - </PropertyGroup> | ||
98 | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
99 | - <ClCompile> | ||
100 | - <PrecompiledHeader> | ||
101 | - </PrecompiledHeader> | ||
102 | - <WarningLevel>Level3</WarningLevel> | ||
103 | - <Optimization>Disabled</Optimization> | ||
104 | - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SRSLIBRTMP_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
105 | - <AdditionalIncludeDirectories>..\src\rtmp;..\src\libs;..\src\kernel;..\src\core;.\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
106 | - </ClCompile> | ||
107 | - <Link> | ||
108 | - <SubSystem>Windows</SubSystem> | ||
109 | - <GenerateDebugInformation>true</GenerateDebugInformation> | ||
110 | - <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
111 | - <ModuleDefinitionFile>srs-librtmp.def</ModuleDefinitionFile> | ||
112 | - </Link> | ||
113 | - </ItemDefinitionGroup> | ||
114 | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
115 | - <ClCompile> | ||
116 | - <WarningLevel>Level3</WarningLevel> | ||
117 | - <PrecompiledHeader> | ||
118 | - </PrecompiledHeader> | ||
119 | - <Optimization>MaxSpeed</Optimization> | ||
120 | - <FunctionLevelLinking>true</FunctionLevelLinking> | ||
121 | - <IntrinsicFunctions>true</IntrinsicFunctions> | ||
122 | - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SRSLIBRTMP_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
123 | - <AdditionalIncludeDirectories>..\src\rtmp;..\src\libs;..\src\kernel;..\src\core;.\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
124 | - </ClCompile> | ||
125 | - <Link> | ||
126 | - <SubSystem>Windows</SubSystem> | ||
127 | - <GenerateDebugInformation>true</GenerateDebugInformation> | ||
128 | - <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
129 | - <OptimizeReferences>true</OptimizeReferences> | ||
130 | - <ModuleDefinitionFile>srs-librtmp.def</ModuleDefinitionFile> | ||
131 | - <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
132 | - </Link> | ||
133 | - </ItemDefinitionGroup> | ||
134 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
135 | - <ImportGroup Label="ExtensionTargets"> | ||
136 | - </ImportGroup> | ||
137 | -</Project> |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | - <ItemGroup> | ||
4 | - <Filter Include="core"> | ||
5 | - <UniqueIdentifier>{8e33c6db-7a35-4d09-92d0-cc28491abbd6}</UniqueIdentifier> | ||
6 | - </Filter> | ||
7 | - <Filter Include="kernel"> | ||
8 | - <UniqueIdentifier>{eac81f26-3b4f-4905-85c5-2c0b915107b0}</UniqueIdentifier> | ||
9 | - </Filter> | ||
10 | - <Filter Include="libs"> | ||
11 | - <UniqueIdentifier>{cbb45db3-c682-48bd-9a8c-1ae081aeddbf}</UniqueIdentifier> | ||
12 | - </Filter> | ||
13 | - <Filter Include="rtmp"> | ||
14 | - <UniqueIdentifier>{6a284cec-b287-4aeb-b991-e11ebb4be6ec}</UniqueIdentifier> | ||
15 | - </Filter> | ||
16 | - </ItemGroup> | ||
17 | - <ItemGroup> | ||
18 | - <ClCompile Include="..\src\core\srs_core.cpp"> | ||
19 | - <Filter>core</Filter> | ||
20 | - </ClCompile> | ||
21 | - <ClCompile Include="..\src\core\srs_core_autofree.cpp"> | ||
22 | - <Filter>core</Filter> | ||
23 | - </ClCompile> | ||
24 | - <ClCompile Include="..\src\core\srs_platform.cpp"> | ||
25 | - <Filter>core</Filter> | ||
26 | - </ClCompile> | ||
27 | - <ClCompile Include="..\src\kernel\srs_kernel_buffer.cpp"> | ||
28 | - <Filter>kernel</Filter> | ||
29 | - </ClCompile> | ||
30 | - <ClCompile Include="..\src\kernel\srs_kernel_codec.cpp"> | ||
31 | - <Filter>kernel</Filter> | ||
32 | - </ClCompile> | ||
33 | - <ClCompile Include="..\src\kernel\srs_kernel_consts.cpp"> | ||
34 | - <Filter>kernel</Filter> | ||
35 | - </ClCompile> | ||
36 | - <ClCompile Include="..\src\kernel\srs_kernel_error.cpp"> | ||
37 | - <Filter>kernel</Filter> | ||
38 | - </ClCompile> | ||
39 | - <ClCompile Include="..\src\kernel\srs_kernel_file.cpp"> | ||
40 | - <Filter>kernel</Filter> | ||
41 | - </ClCompile> | ||
42 | - <ClCompile Include="..\src\kernel\srs_kernel_flv.cpp"> | ||
43 | - <Filter>kernel</Filter> | ||
44 | - </ClCompile> | ||
45 | - <ClCompile Include="..\src\kernel\srs_kernel_log.cpp"> | ||
46 | - <Filter>kernel</Filter> | ||
47 | - </ClCompile> | ||
48 | - <ClCompile Include="..\src\kernel\srs_kernel_stream.cpp"> | ||
49 | - <Filter>kernel</Filter> | ||
50 | - </ClCompile> | ||
51 | - <ClCompile Include="..\src\kernel\srs_kernel_utility.cpp"> | ||
52 | - <Filter>kernel</Filter> | ||
53 | - </ClCompile> | ||
54 | - <ClCompile Include="..\src\libs\srs_lib_bandwidth.cpp"> | ||
55 | - <Filter>libs</Filter> | ||
56 | - </ClCompile> | ||
57 | - <ClCompile Include="..\src\libs\srs_lib_simple_socket.cpp"> | ||
58 | - <Filter>libs</Filter> | ||
59 | - </ClCompile> | ||
60 | - <ClCompile Include="..\src\libs\srs_librtmp.cpp"> | ||
61 | - <Filter>libs</Filter> | ||
62 | - </ClCompile> | ||
63 | - <ClCompile Include="..\src\rtmp\srs_protocol_amf0.cpp"> | ||
64 | - <Filter>rtmp</Filter> | ||
65 | - </ClCompile> | ||
66 | - <ClCompile Include="..\src\rtmp\srs_protocol_handshake.cpp"> | ||
67 | - <Filter>rtmp</Filter> | ||
68 | - </ClCompile> | ||
69 | - <ClCompile Include="..\src\rtmp\srs_protocol_io.cpp"> | ||
70 | - <Filter>rtmp</Filter> | ||
71 | - </ClCompile> | ||
72 | - <ClCompile Include="..\src\rtmp\srs_protocol_msg_array.cpp"> | ||
73 | - <Filter>rtmp</Filter> | ||
74 | - </ClCompile> | ||
75 | - <ClCompile Include="..\src\rtmp\srs_protocol_rtmp.cpp"> | ||
76 | - <Filter>rtmp</Filter> | ||
77 | - </ClCompile> | ||
78 | - <ClCompile Include="..\src\rtmp\srs_protocol_stack.cpp"> | ||
79 | - <Filter>rtmp</Filter> | ||
80 | - </ClCompile> | ||
81 | - <ClCompile Include="..\src\rtmp\srs_protocol_utility.cpp"> | ||
82 | - <Filter>rtmp</Filter> | ||
83 | - </ClCompile> | ||
84 | - </ItemGroup> | ||
85 | - <ItemGroup> | ||
86 | - <ClInclude Include="..\src\core\srs_core.hpp"> | ||
87 | - <Filter>core</Filter> | ||
88 | - </ClInclude> | ||
89 | - <ClInclude Include="..\src\core\srs_core_autofree.hpp"> | ||
90 | - <Filter>core</Filter> | ||
91 | - </ClInclude> | ||
92 | - <ClInclude Include="..\src\core\srs_platform.hpp"> | ||
93 | - <Filter>core</Filter> | ||
94 | - </ClInclude> | ||
95 | - <ClInclude Include="..\src\kernel\srs_kernel_buffer.hpp"> | ||
96 | - <Filter>kernel</Filter> | ||
97 | - </ClInclude> | ||
98 | - <ClInclude Include="..\src\kernel\srs_kernel_codec.hpp"> | ||
99 | - <Filter>kernel</Filter> | ||
100 | - </ClInclude> | ||
101 | - <ClInclude Include="..\src\kernel\srs_kernel_consts.hpp"> | ||
102 | - <Filter>kernel</Filter> | ||
103 | - </ClInclude> | ||
104 | - <ClInclude Include="..\src\kernel\srs_kernel_error.hpp"> | ||
105 | - <Filter>kernel</Filter> | ||
106 | - </ClInclude> | ||
107 | - <ClInclude Include="..\src\kernel\srs_kernel_file.hpp"> | ||
108 | - <Filter>kernel</Filter> | ||
109 | - </ClInclude> | ||
110 | - <ClInclude Include="..\src\kernel\srs_kernel_flv.hpp"> | ||
111 | - <Filter>kernel</Filter> | ||
112 | - </ClInclude> | ||
113 | - <ClInclude Include="..\src\kernel\srs_kernel_log.hpp"> | ||
114 | - <Filter>kernel</Filter> | ||
115 | - </ClInclude> | ||
116 | - <ClInclude Include="..\src\kernel\srs_kernel_stream.hpp"> | ||
117 | - <Filter>kernel</Filter> | ||
118 | - </ClInclude> | ||
119 | - <ClInclude Include="..\src\kernel\srs_kernel_utility.hpp"> | ||
120 | - <Filter>kernel</Filter> | ||
121 | - </ClInclude> | ||
122 | - <ClInclude Include="..\src\libs\srs_lib_bandwidth.hpp"> | ||
123 | - <Filter>libs</Filter> | ||
124 | - </ClInclude> | ||
125 | - <ClInclude Include="..\src\libs\srs_lib_simple_socket.hpp"> | ||
126 | - <Filter>libs</Filter> | ||
127 | - </ClInclude> | ||
128 | - <ClInclude Include="..\src\libs\srs_librtmp.hpp"> | ||
129 | - <Filter>libs</Filter> | ||
130 | - </ClInclude> | ||
131 | - <ClInclude Include="..\src\rtmp\srs_protocol_amf0.hpp"> | ||
132 | - <Filter>rtmp</Filter> | ||
133 | - </ClInclude> | ||
134 | - <ClInclude Include="..\src\rtmp\srs_protocol_handshake.hpp"> | ||
135 | - <Filter>rtmp</Filter> | ||
136 | - </ClInclude> | ||
137 | - <ClInclude Include="..\src\rtmp\srs_protocol_io.hpp"> | ||
138 | - <Filter>rtmp</Filter> | ||
139 | - </ClInclude> | ||
140 | - <ClInclude Include="..\src\rtmp\srs_protocol_msg_array.hpp"> | ||
141 | - <Filter>rtmp</Filter> | ||
142 | - </ClInclude> | ||
143 | - <ClInclude Include="..\src\rtmp\srs_protocol_rtmp.hpp"> | ||
144 | - <Filter>rtmp</Filter> | ||
145 | - </ClInclude> | ||
146 | - <ClInclude Include="..\src\rtmp\srs_protocol_stack.hpp"> | ||
147 | - <Filter>rtmp</Filter> | ||
148 | - </ClInclude> | ||
149 | - <ClInclude Include="..\src\rtmp\srs_protocol_utility.hpp"> | ||
150 | - <Filter>rtmp</Filter> | ||
151 | - </ClInclude> | ||
152 | - </ItemGroup> | ||
153 | - <ItemGroup> | ||
154 | - <None Include="srs-librtmp.def" /> | ||
155 | - </ItemGroup> | ||
156 | -</Project> |
trunk/winbuild/srs_auto_headers.hpp
已删除
100644 → 0
1 | -// auto generated by configure | ||
2 | -#ifndef SRS_AUTO_HEADER_HPP | ||
3 | -#define SRS_AUTO_HEADER_HPP | ||
4 | - | ||
5 | -#define SRS_AUTO_BUILD_TS "1416731672" | ||
6 | -#define SRS_AUTO_BUILD_DATE "2014-11-23 16:34:32" | ||
7 | -#define SRS_AUTO_UNAME "WIN_NT-6.1 WZY-PC2 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 WINNT" | ||
8 | -#define SRS_AUTO_USER_CONFIGURE "--x86-x64 --export-librtmp-project=../srs-librtmp" | ||
9 | -#define SRS_AUTO_CONFIGURE "--prefix=/usr/local/srs --without-hls --without-dvr --without-nginx --without-ssl --without-ffmpeg --without-transcode --without-ingest --without-stat --without-http-callback --without-http-server --without-http-api --with-librtmp --with-research --without-utest --without-gperf --without-gmc --without-gmp --without-gcp --without-gprof --without-arm-ubuntu12 --without-mips-ubuntu12 --log-trace" | ||
10 | - | ||
11 | -#define SRS_AUTO_EMBEDED_TOOL_CHAIN "normal x86/x64 gcc" | ||
12 | - | ||
13 | -#undef SRS_AUTO_HTTP_PARSER | ||
14 | -#undef SRS_AUTO_HTTP_SERVER | ||
15 | -#undef SRS_AUTO_HTTP_API | ||
16 | -#undef SRS_AUTO_NGINX | ||
17 | -#undef SRS_AUTO_DVR | ||
18 | -#undef SRS_AUTO_HLS | ||
19 | -#undef SRS_AUTO_HTTP_CALLBACK | ||
20 | -#undef SRS_AUTO_SSL | ||
21 | -#undef SRS_AUTO_FFMPEG_TOOL | ||
22 | -#undef SRS_AUTO_FFMPEG_STUB | ||
23 | -#undef SRS_AUTO_TRANSCODE | ||
24 | -#undef SRS_AUTO_INGEST | ||
25 | -#undef SRS_AUTO_STAT | ||
26 | -#undef SRS_AUTO_GPERF | ||
27 | -#undef SRS_AUTO_GPERF_MC | ||
28 | -#undef SRS_AUTO_GPERF_MP | ||
29 | -#undef SRS_AUTO_GPERF_CP | ||
30 | -#undef SRS_AUTO_EMBEDED_CPU | ||
31 | -#undef SRS_AUTO_ARM_UBUNTU12 | ||
32 | -#undef SRS_AUTO_MIPS_UBUNTU12 | ||
33 | - | ||
34 | -#undef SRS_AUTO_VERBOSE | ||
35 | -#undef SRS_AUTO_INFO | ||
36 | -#define SRS_AUTO_TRACE | ||
37 | - | ||
38 | -#define SRS_AUTO_PREFIX "/usr/local/srs" | ||
39 | - | ||
40 | -#define SRS_AUTO_CONSTRIBUTORS "\ | ||
41 | -winlin<winlin@vip.126.com> \ | ||
42 | -wenjie.zhao<740936897@qq.com> \ | ||
43 | -xiangcheng.liu<liuxc0116@foxmail.com> \ | ||
44 | -naijia.liu<youngcow@youngcow.net> \ | ||
45 | -alcoholyi<alcoholyi@qq.com> \ | ||
46 | -byteman<wangchen2011@gmail.com> \ | ||
47 | -chad.wang<chad.wang.cn@gmail.com> \ | ||
48 | -suhetao<suhetao@gmail.com> \ | ||
49 | -Johnny<fengjihu@163.com> \ | ||
50 | -karthikeyan<keyanmca@gmail.com> \ | ||
51 | -StevenLiu<lq@chinaffmpeg.org> \ | ||
52 | -zhengfl<zhengfl_1989@126.com> \ | ||
53 | -" | ||
54 | - | ||
55 | -#endif | ||
56 | - |
trunk/winbuild/srs_play.cpp
已删除
100644 → 0
1 | -/* | ||
2 | -The MIT License (MIT) | ||
3 | - | ||
4 | -Copyright (c) 2013-2014 winlin | ||
5 | - | ||
6 | -Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
7 | -this software and associated documentation files (the "Software"), to deal in | ||
8 | -the Software without restriction, including without limitation the rights to | ||
9 | -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
10 | -the Software, and to permit persons to whom the Software is furnished to do so, | ||
11 | -subject to the following conditions: | ||
12 | - | ||
13 | -The above copyright notice and this permission notice shall be included in all | ||
14 | -copies or substantial portions of the Software. | ||
15 | - | ||
16 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
18 | -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
19 | -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
20 | -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
21 | -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | -*/ | ||
23 | -/** | ||
24 | -gcc srs_play.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_play | ||
25 | -*/ | ||
26 | - | ||
27 | -#include <stdio.h> | ||
28 | -#include <stdlib.h> | ||
29 | - | ||
30 | -#include "srs_librtmp.hpp" | ||
31 | - | ||
32 | -int main(int argc, char** argv) | ||
33 | -{ | ||
34 | - printf("suck rtmp stream like rtmpdump\n"); | ||
35 | - printf("srs(simple-rtmp-server) client librtmp library.\n"); | ||
36 | - printf("version: %d.%d.%d\n", srs_version_major(), srs_version_minor(), srs_version_revision()); | ||
37 | - | ||
38 | - if (argc <= 1) { | ||
39 | - printf("Usage: %s <rtmp_url>\n" | ||
40 | - " rtmp_url RTMP stream url to play\n" | ||
41 | - "For example:\n" | ||
42 | - " %s rtmp://127.0.0.1:1935/live/livestream\n", | ||
43 | - argv[0], argv[0]); | ||
44 | - exit(-1); | ||
45 | - } | ||
46 | - | ||
47 | - srs_human_trace("rtmp url: %s", argv[1]); | ||
48 | - srs_rtmp_t rtmp = srs_rtmp_create(argv[1]); | ||
49 | - | ||
50 | - if (srs_rtmp_handshake(rtmp) != 0) { | ||
51 | - srs_human_trace("simple handshake failed."); | ||
52 | - goto rtmp_destroy; | ||
53 | - } | ||
54 | - srs_human_trace("simple handshake success"); | ||
55 | - | ||
56 | - if (srs_rtmp_connect_app(rtmp) != 0) { | ||
57 | - srs_human_trace("connect vhost/app failed."); | ||
58 | - goto rtmp_destroy; | ||
59 | - } | ||
60 | - srs_human_trace("connect vhost/app success"); | ||
61 | - | ||
62 | - if (srs_rtmp_play_stream(rtmp) != 0) { | ||
63 | - srs_human_trace("play stream failed."); | ||
64 | - goto rtmp_destroy; | ||
65 | - } | ||
66 | - srs_human_trace("play stream success"); | ||
67 | - | ||
68 | - for (;;) { | ||
69 | - int size; | ||
70 | - char type; | ||
71 | - char* data; | ||
72 | - u_int32_t timestamp; | ||
73 | - | ||
74 | - if (srs_rtmp_read_packet(rtmp, &type, ×tamp, &data, &size) != 0) { | ||
75 | - goto rtmp_destroy; | ||
76 | - } | ||
77 | - | ||
78 | - if (srs_human_print_rtmp_packet(type, timestamp, data, size) != 0) { | ||
79 | - goto rtmp_destroy; | ||
80 | - } | ||
81 | - | ||
82 | - free(data); | ||
83 | - } | ||
84 | - | ||
85 | -rtmp_destroy: | ||
86 | - srs_rtmp_destroy(rtmp); | ||
87 | - | ||
88 | - return 0; | ||
89 | -} |
trunk/winbuild/srs_play.vcxproj
已删除
100755 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | - <ItemGroup Label="ProjectConfigurations"> | ||
4 | - <ProjectConfiguration Include="Debug|Win32"> | ||
5 | - <Configuration>Debug</Configuration> | ||
6 | - <Platform>Win32</Platform> | ||
7 | - </ProjectConfiguration> | ||
8 | - <ProjectConfiguration Include="Release|Win32"> | ||
9 | - <Configuration>Release</Configuration> | ||
10 | - <Platform>Win32</Platform> | ||
11 | - </ProjectConfiguration> | ||
12 | - </ItemGroup> | ||
13 | - <PropertyGroup Label="Globals"> | ||
14 | - <ProjectGuid>{5149B9A9-5085-4A10-AD6F-23FBE6854390}</ProjectGuid> | ||
15 | - <Keyword>Win32Proj</Keyword> | ||
16 | - <RootNamespace>srs_play</RootNamespace> | ||
17 | - </PropertyGroup> | ||
18 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
19 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
20 | - <ConfigurationType>Application</ConfigurationType> | ||
21 | - <UseDebugLibraries>true</UseDebugLibraries> | ||
22 | - <CharacterSet>Unicode</CharacterSet> | ||
23 | - </PropertyGroup> | ||
24 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
25 | - <ConfigurationType>Application</ConfigurationType> | ||
26 | - <UseDebugLibraries>false</UseDebugLibraries> | ||
27 | - <WholeProgramOptimization>true</WholeProgramOptimization> | ||
28 | - <CharacterSet>Unicode</CharacterSet> | ||
29 | - </PropertyGroup> | ||
30 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
31 | - <ImportGroup Label="ExtensionSettings"> | ||
32 | - </ImportGroup> | ||
33 | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
34 | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
35 | - </ImportGroup> | ||
36 | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
37 | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
38 | - </ImportGroup> | ||
39 | - <PropertyGroup Label="UserMacros" /> | ||
40 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
41 | - <LinkIncremental>true</LinkIncremental> | ||
42 | - </PropertyGroup> | ||
43 | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
44 | - <LinkIncremental>false</LinkIncremental> | ||
45 | - </PropertyGroup> | ||
46 | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
47 | - <ClCompile> | ||
48 | - <PrecompiledHeader> | ||
49 | - </PrecompiledHeader> | ||
50 | - <WarningLevel>Level3</WarningLevel> | ||
51 | - <Optimization>Disabled</Optimization> | ||
52 | - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
53 | - <AdditionalIncludeDirectories>..\src\core;..\src\libs;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
54 | - </ClCompile> | ||
55 | - <Link> | ||
56 | - <SubSystem>Console</SubSystem> | ||
57 | - <GenerateDebugInformation>true</GenerateDebugInformation> | ||
58 | - <AdditionalDependencies>srs-librtmp.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
59 | - <AdditionalLibraryDirectories>./debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
60 | - </Link> | ||
61 | - </ItemDefinitionGroup> | ||
62 | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
63 | - <ClCompile> | ||
64 | - <WarningLevel>Level3</WarningLevel> | ||
65 | - <PrecompiledHeader> | ||
66 | - </PrecompiledHeader> | ||
67 | - <Optimization>MaxSpeed</Optimization> | ||
68 | - <FunctionLevelLinking>true</FunctionLevelLinking> | ||
69 | - <IntrinsicFunctions>true</IntrinsicFunctions> | ||
70 | - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
71 | - </ClCompile> | ||
72 | - <Link> | ||
73 | - <SubSystem>Console</SubSystem> | ||
74 | - <GenerateDebugInformation>true</GenerateDebugInformation> | ||
75 | - <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
76 | - <OptimizeReferences>true</OptimizeReferences> | ||
77 | - </Link> | ||
78 | - </ItemDefinitionGroup> | ||
79 | - <ItemGroup> | ||
80 | - <ClCompile Include="srs_play.cpp" /> | ||
81 | - </ItemGroup> | ||
82 | - <ItemGroup> | ||
83 | - <ClInclude Include="srs_auto_headers.hpp" /> | ||
84 | - </ItemGroup> | ||
85 | - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
86 | - <ImportGroup Label="ExtensionTargets"> | ||
87 | - </ImportGroup> | ||
88 | -</Project> |
trunk/winbuild/srs_play.vcxproj.filters
已删除
100755 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | - <ItemGroup> | ||
4 | - <Filter Include="Source Files"> | ||
5 | - <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
6 | - <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
7 | - </Filter> | ||
8 | - <Filter Include="Header Files"> | ||
9 | - <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
10 | - <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
11 | - </Filter> | ||
12 | - <Filter Include="Resource Files"> | ||
13 | - <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
14 | - <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
15 | - </Filter> | ||
16 | - </ItemGroup> | ||
17 | - <ItemGroup> | ||
18 | - <ClInclude Include="srs_auto_headers.hpp"> | ||
19 | - <Filter>Header Files</Filter> | ||
20 | - </ClInclude> | ||
21 | - </ItemGroup> | ||
22 | - <ItemGroup> | ||
23 | - <ClCompile Include="srs_play.cpp"> | ||
24 | - <Filter>Source Files</Filter> | ||
25 | - </ClCompile> | ||
26 | - </ItemGroup> | ||
27 | -</Project> |
-
请 注册 或 登录 后发表评论