winlin

fix the unicode to ascii

@@ -265,8 +265,8 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg) @@ -265,8 +265,8 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg)
265 // because when audio stream_number is 0, the elementary is ADTS(aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 75, 1.A.2.2 ADTS). 265 // because when audio stream_number is 0, the elementary is ADTS(aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 75, 1.A.2.2 ADTS).
266 266
267 // about the bytes of PES_packet_data_byte, defined in hls-mpeg-ts-iso13818-1.pdf, page 58 267 // about the bytes of PES_packet_data_byte, defined in hls-mpeg-ts-iso13818-1.pdf, page 58
268 - // PES_packet_data_byte ¨C PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream  
269 - // indicated by the packet¡¯s stream_id or PID. When the elementary stream data conforms to ITU-T 268 + // PES_packet_data_byte "C PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream
  269 + // indicated by the packets stream_id or PID. When the elementary stream data conforms to ITU-T
270 // Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this 270 // Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this
271 // Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of 271 // Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of
272 // PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the 272 // PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the
@@ -277,12 +277,12 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg) @@ -277,12 +277,12 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg)
277 // PES_packet_data_byte field are user definable and will not be specified by ITU-T | ISO/IEC in the future. 277 // PES_packet_data_byte field are user definable and will not be specified by ITU-T | ISO/IEC in the future.
278 278
279 // about the bytes of stream_id, define in hls-mpeg-ts-iso13818-1.pdf, page 49 279 // about the bytes of stream_id, define in hls-mpeg-ts-iso13818-1.pdf, page 49
280 - // stream_id ¨C In Program Streams, the stream_id specifies the type and number of the elementary stream as defined by the 280 + // stream_id "C In Program Streams, the stream_id specifies the type and number of the elementary stream as defined by the
281 // stream_id Table 2-18. In Transport Streams, the stream_id may be set to any valid value which correctly describes the 281 // stream_id Table 2-18. In Transport Streams, the stream_id may be set to any valid value which correctly describes the
282 // elementary stream type as defined in Table 2-18. In Transport Streams, the elementary stream type is specified in the 282 // elementary stream type as defined in Table 2-18. In Transport Streams, the elementary stream type is specified in the
283 // Program Specific Information as specified in 2.4.4. 283 // Program Specific Information as specified in 2.4.4.
284 284
285 - // about the stream_id table, define in Table 2-18 ¨C Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52. 285 + // about the stream_id table, define in Table 2-18 "C Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52.
286 // 286 //
287 // 110x xxxx 287 // 110x xxxx
288 // ISO/IEC 13818-3 or ISO/IEC 11172-3 or ISO/IEC 13818-7 or ISO/IEC 288 // ISO/IEC 13818-3 or ISO/IEC 11172-3 or ISO/IEC 13818-7 or ISO/IEC
@@ -143,11 +143,11 @@ public: @@ -143,11 +143,11 @@ public:
143 // minflt %lu The number of minor faults the process has made which have not required loading a memory page from 143 // minflt %lu The number of minor faults the process has made which have not required loading a memory page from
144 // disk. 144 // disk.
145 unsigned long minflt; 145 unsigned long minflt;
146 - // cminflt %lu The number of minor faults that the processs waited-for children have made. 146 + // cminflt %lu The number of minor faults that the process's waited-for children have made.
147 unsigned long cminflt; 147 unsigned long cminflt;
148 // majflt %lu The number of major faults the process has made which have required loading a memory page from disk. 148 // majflt %lu The number of major faults the process has made which have required loading a memory page from disk.
149 unsigned long majflt; 149 unsigned long majflt;
150 - // cmajflt %lu The number of major faults that the processs waited-for children have made. 150 + // cmajflt %lu The number of major faults that the process's waited-for children have made.
151 unsigned long cmajflt; 151 unsigned long cmajflt;
152 // utime %lu Amount of time that this process has been scheduled in user mode, measured in clock ticks (divide by 152 // utime %lu Amount of time that this process has been scheduled in user mode, measured in clock ticks (divide by
153 // sysconf(_SC_CLK_TCK). This includes guest time, guest_time (time spent running a virtual CPU, see 153 // sysconf(_SC_CLK_TCK). This includes guest time, guest_time (time spent running a virtual CPU, see
@@ -157,11 +157,11 @@ public: @@ -157,11 +157,11 @@ public:
157 // stime %lu Amount of time that this process has been scheduled in kernel mode, measured in clock ticks (divide by 157 // stime %lu Amount of time that this process has been scheduled in kernel mode, measured in clock ticks (divide by
158 // sysconf(_SC_CLK_TCK). 158 // sysconf(_SC_CLK_TCK).
159 unsigned long stime; 159 unsigned long stime;
160 - // cutime %ld Amount of time that this processs waited-for children have been scheduled in user mode, measured in 160 + // cutime %ld Amount of time that this process's waited-for children have been scheduled in user mode, measured in
161 // clock ticks (divide by sysconf(_SC_CLK_TCK). (See also times(2).) This includes guest time, 161 // clock ticks (divide by sysconf(_SC_CLK_TCK). (See also times(2).) This includes guest time,
162 // cguest_time (time spent running a virtual CPU, see below). 162 // cguest_time (time spent running a virtual CPU, see below).
163 long cutime; 163 long cutime;
164 - // cstime %ld Amount of time that this processs waited-for children have been scheduled in kernel mode, measured in 164 + // cstime %ld Amount of time that this process's waited-for children have been scheduled in kernel mode, measured in
165 // clock ticks (divide by sysconf(_SC_CLK_TCK). 165 // clock ticks (divide by sysconf(_SC_CLK_TCK).
166 long cstime; 166 long cstime;
167 // priority %ld 167 // priority %ld
@@ -251,7 +251,7 @@ public: @@ -251,7 +251,7 @@ public:
251 // clock ticks (divide by sysconf(_SC_CLK_TCK). 251 // clock ticks (divide by sysconf(_SC_CLK_TCK).
252 unsigned long guest_time; 252 unsigned long guest_time;
253 // cguest_time %ld (since Linux 2.6.24) 253 // cguest_time %ld (since Linux 2.6.24)
254 - // Guest time of the processs children, measured in clock ticks (divide by sysconf(_SC_CLK_TCK). 254 + // Guest time of the process's children, measured in clock ticks (divide by sysconf(_SC_CLK_TCK).
255 long cguest_time; 255 long cguest_time;
256 256
257 public: 257 public:
@@ -276,7 +276,7 @@ enum SrsCodecAudioSoundType @@ -276,7 +276,7 @@ enum SrsCodecAudioSoundType
276 }; 276 };
277 277
278 /** 278 /**
279 - * Table 7-1 NAL unit type codes, syntax element categories, and NAL unit type classes 279 + * Table 7-1 - NAL unit type codes, syntax element categories, and NAL unit type classes
280 * H.264-AVC-ISO_IEC_14496-10-2012.pdf, page 83. 280 * H.264-AVC-ISO_IEC_14496-10-2012.pdf, page 83.
281 */ 281 */
282 enum SrsAvcNaluType 282 enum SrsAvcNaluType
@@ -448,7 +448,7 @@ enum SrsAacObjectType @@ -448,7 +448,7 @@ enum SrsAacObjectType
448 { 448 {
449 SrsAacObjectTypeReserved = 0, 449 SrsAacObjectTypeReserved = 0,
450 450
451 - // Table 1.1 Audio Object Type definition 451 + // Table 1.1 - Audio Object Type definition
452 // @see @see aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 23 452 // @see @see aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 23
453 SrsAacObjectTypeAacMain = 1, 453 SrsAacObjectTypeAacMain = 1,
454 SrsAacObjectTypeAacLC = 2, 454 SrsAacObjectTypeAacLC = 2,
@@ -2898,7 +2898,7 @@ int SrsTsCache::do_cache_avc(SrsAvcAacCodec* codec, SrsCodecSample* sample) @@ -2898,7 +2898,7 @@ int SrsTsCache::do_cache_avc(SrsAvcAacCodec* codec, SrsCodecSample* sample)
2898 * xxxxxxx // data bytes. 2898 * xxxxxxx // data bytes.
2899 * 2899 *
2900 * nal_unit_type specifies the type of RBSP data structure contained in the NAL unit as specified in Table 7-1. 2900 * nal_unit_type specifies the type of RBSP data structure contained in the NAL unit as specified in Table 7-1.
2901 - * Table 7-1 NAL unit type codes, syntax element categories, and NAL unit type classes 2901 + * Table 7-1 - NAL unit type codes, syntax element categories, and NAL unit type classes
2902 * H.264-AVC-ISO_IEC_14496-10-2012.pdf, page 83. 2902 * H.264-AVC-ISO_IEC_14496-10-2012.pdf, page 83.
2903 * 1, Coded slice of a non-IDR picture slice_layer_without_partitioning_rbsp( ) 2903 * 1, Coded slice of a non-IDR picture slice_layer_without_partitioning_rbsp( )
2904 * 2, Coded slice data partition A slice_data_partition_a_layer_rbsp( ) 2904 * 2, Coded slice data partition A slice_data_partition_a_layer_rbsp( )
@@ -182,7 +182,7 @@ struct SrsTsChannel @@ -182,7 +182,7 @@ struct SrsTsChannel
182 182
183 /** 183 /**
184 * the stream_id of PES payload of ts packet. 184 * the stream_id of PES payload of ts packet.
185 -* Table 2-18 Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52. 185 +* Table 2-18 - Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52.
186 */ 186 */
187 enum SrsTsPESStreamId 187 enum SrsTsPESStreamId
188 { 188 {
@@ -236,7 +236,7 @@ enum SrsTsPESStreamId @@ -236,7 +236,7 @@ enum SrsTsPESStreamId
236 // FlexMux_stream 236 // FlexMux_stream
237 SrsTsPESStreamIdFlexMuxStream = 0xfb, // 0b11111011 237 SrsTsPESStreamIdFlexMuxStream = 0xfb, // 0b11111011
238 // reserved data stream 238 // reserved data stream
239 - // 1111 1100 1111 1110 239 + // 1111 1100 ... 1111 1110
240 // program_stream_directory 240 // program_stream_directory
241 SrsTsPESStreamIdProgramStreamDirectory = 0xff, // 0b11111111 241 SrsTsPESStreamIdProgramStreamDirectory = 0xff, // 0b11111111
242 }; 242 };
@@ -1208,7 +1208,7 @@ public: @@ -1208,7 +1208,7 @@ public:
1208 // NB 1208 // NB
1209 /** 1209 /**
1210 * PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream 1210 * PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream
1211 - * indicated by the packets stream_id or PID. When the elementary stream data conforms to ITU-T 1211 + * indicated by the packet's stream_id or PID. When the elementary stream data conforms to ITU-T
1212 * Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this 1212 * Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this
1213 * Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of 1213 * Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of
1214 * PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the 1214 * PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the
@@ -61,7 +61,7 @@ int srs_avc_nalu_read_uev(SrsBitStream* stream, int32_t& v) @@ -61,7 +61,7 @@ int srs_avc_nalu_read_uev(SrsBitStream* stream, int32_t& v)
61 // for( b = 0; !b; leadingZeroBits++ ) 61 // for( b = 0; !b; leadingZeroBits++ )
62 // b = read_bits( 1 ) 62 // b = read_bits( 1 )
63 // The variable codeNum is then assigned as follows: 63 // The variable codeNum is then assigned as follows:
64 - // codeNum = (2<<leadingZeroBits) 1 + read_bits( leadingZeroBits ) 64 + // codeNum = (2<<leadingZeroBits) - 1 + read_bits( leadingZeroBits )
65 int leadingZeroBits = -1; 65 int leadingZeroBits = -1;
66 for (int8_t b = 0; !b && !stream->empty(); leadingZeroBits++) { 66 for (int8_t b = 0; !b && !stream->empty(); leadingZeroBits++) {
67 b = stream->read_bit(); 67 b = stream->read_bit();
@@ -723,8 +723,8 @@ int SrsIngestSrsOutput::on_ts_message(SrsTsMessage* msg) @@ -723,8 +723,8 @@ int SrsIngestSrsOutput::on_ts_message(SrsTsMessage* msg)
723 // because when audio stream_number is 0, the elementary is ADTS(aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 75, 1.A.2.2 ADTS). 723 // because when audio stream_number is 0, the elementary is ADTS(aac-mp4a-format-ISO_IEC_14496-3+2001.pdf, page 75, 1.A.2.2 ADTS).
724 724
725 // about the bytes of PES_packet_data_byte, defined in hls-mpeg-ts-iso13818-1.pdf, page 58 725 // about the bytes of PES_packet_data_byte, defined in hls-mpeg-ts-iso13818-1.pdf, page 58
726 - // PES_packet_data_byte ¨C PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream  
727 - // indicated by the packet¡¯s stream_id or PID. When the elementary stream data conforms to ITU-T 726 + // PES_packet_data_byte "C PES_packet_data_bytes shall be contiguous bytes of data from the elementary stream
  727 + // indicated by the packets stream_id or PID. When the elementary stream data conforms to ITU-T
728 // Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this 728 // Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 13818-3, the PES_packet_data_bytes shall be byte aligned to the bytes of this
729 // Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of 729 // Recommendation | International Standard. The byte-order of the elementary stream shall be preserved. The number of
730 // PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the 730 // PES_packet_data_bytes, N, is specified by the PES_packet_length field. N shall be equal to the value indicated in the
@@ -735,12 +735,12 @@ int SrsIngestSrsOutput::on_ts_message(SrsTsMessage* msg) @@ -735,12 +735,12 @@ int SrsIngestSrsOutput::on_ts_message(SrsTsMessage* msg)
735 // PES_packet_data_byte field are user definable and will not be specified by ITU-T | ISO/IEC in the future. 735 // PES_packet_data_byte field are user definable and will not be specified by ITU-T | ISO/IEC in the future.
736 736
737 // about the bytes of stream_id, define in hls-mpeg-ts-iso13818-1.pdf, page 49 737 // about the bytes of stream_id, define in hls-mpeg-ts-iso13818-1.pdf, page 49
738 - // stream_id ¨C In Program Streams, the stream_id specifies the type and number of the elementary stream as defined by the 738 + // stream_id "C In Program Streams, the stream_id specifies the type and number of the elementary stream as defined by the
739 // stream_id Table 2-18. In Transport Streams, the stream_id may be set to any valid value which correctly describes the 739 // stream_id Table 2-18. In Transport Streams, the stream_id may be set to any valid value which correctly describes the
740 // elementary stream type as defined in Table 2-18. In Transport Streams, the elementary stream type is specified in the 740 // elementary stream type as defined in Table 2-18. In Transport Streams, the elementary stream type is specified in the
741 // Program Specific Information as specified in 2.4.4. 741 // Program Specific Information as specified in 2.4.4.
742 742
743 - // about the stream_id table, define in Table 2-18 ¨C Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52. 743 + // about the stream_id table, define in Table 2-18 "C Stream_id assignments, hls-mpeg-ts-iso13818-1.pdf, page 52.
744 // 744 //
745 // 110x xxxx 745 // 110x xxxx
746 // ISO/IEC 13818-3 or ISO/IEC 11172-3 or ISO/IEC 13818-7 or ISO/IEC 746 // ISO/IEC 13818-3 or ISO/IEC 11172-3 or ISO/IEC 13818-7 or ISO/IEC
@@ -358,8 +358,8 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame @@ -358,8 +358,8 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame
358 int8_t protection_absent = pav & 0x01; 358 int8_t protection_absent = pav & 0x01;
359 359
360 /** 360 /**
361 - * ID: MPEG identifier, set to ‘1’ if the audio data in the ADTS stream are MPEG-2 AAC (See ISO/IEC 13818-7)  
362 - * and set to ‘0’ if the audio data are MPEG-4. See also ISO/IEC 11172-3, subclause 2.4.2.3. 361 + * ID: MPEG identifier, set to '1' if the audio data in the ADTS stream are MPEG-2 AAC (See ISO/IEC 13818-7)
  362 + * and set to '0' if the audio data are MPEG-4. See also ISO/IEC 11172-3, subclause 2.4.2.3.
363 */ 363 */
364 if (id != 0x01) { 364 if (id != 0x01) {
365 srs_info("adts: id must be 1(aac), actual 0(mp4a). ret=%d", ret); 365 srs_info("adts: id must be 1(aac), actual 0(mp4a). ret=%d", ret);
@@ -1445,7 +1445,7 @@ int SrsProtocol::recv_interlaced_message(SrsCommonMessage** pmsg) @@ -1445,7 +1445,7 @@ int SrsProtocol::recv_interlaced_message(SrsCommonMessage** pmsg)
1445 * Header field may be 1, 2, or 3 bytes, depending on the chunk stream 1445 * Header field may be 1, 2, or 3 bytes, depending on the chunk stream
1446 * ID. 1446 * ID.
1447 * 1447 *
1448 -* The bits 05 (least significant) in the chunk basic header represent 1448 +* The bits 0-5 (least significant) in the chunk basic header represent
1449 * the chunk stream ID. 1449 * the chunk stream ID.
1450 * 1450 *
1451 * Chunk stream IDs 2-63 can be encoded in the 1-byte version of this 1451 * Chunk stream IDs 2-63 can be encoded in the 1-byte version of this
@@ -1651,14 +1651,14 @@ int SrsProtocol::read_message_header(SrsChunkStream* chunk, char fmt) @@ -1651,14 +1651,14 @@ int SrsProtocol::read_message_header(SrsChunkStream* chunk, char fmt)
1651 // timestamp: 3 bytes 1651 // timestamp: 3 bytes
1652 // If the timestamp is greater than or equal to 16777215 1652 // If the timestamp is greater than or equal to 16777215
1653 // (hexadecimal 0x00ffffff), this value MUST be 16777215, and the 1653 // (hexadecimal 0x00ffffff), this value MUST be 16777215, and the
1654 - // ‘extended timestamp header’ MUST be present. Otherwise, this value 1654 + // 'extended timestamp header' MUST be present. Otherwise, this value
1655 // SHOULD be the entire timestamp. 1655 // SHOULD be the entire timestamp.
1656 // 1656 //
1657 // fmt: 1 or 2 1657 // fmt: 1 or 2
1658 // timestamp delta: 3 bytes 1658 // timestamp delta: 3 bytes
1659 // If the delta is greater than or equal to 16777215 (hexadecimal 1659 // If the delta is greater than or equal to 16777215 (hexadecimal
1660 - // 0x00ffffff), this value MUST be 16777215, and the ‘extended  
1661 - // timestamp header’ MUST be present. Otherwise, this value SHOULD be 1660 + // 0x00ffffff), this value MUST be 16777215, and the 'extended
  1661 + // timestamp header' MUST be present. Otherwise, this value SHOULD be
1662 // the entire delta. 1662 // the entire delta.
1663 chunk->extended_timestamp = (chunk->header.timestamp_delta >= RTMP_EXTENDED_TIMESTAMP); 1663 chunk->extended_timestamp = (chunk->header.timestamp_delta >= RTMP_EXTENDED_TIMESTAMP);
1664 if (!chunk->extended_timestamp) { 1664 if (!chunk->extended_timestamp) {
@@ -725,7 +725,7 @@ class SrsConnectAppPacket : public SrsPacket @@ -725,7 +725,7 @@ class SrsConnectAppPacket : public SrsPacket
725 { 725 {
726 public: 726 public:
727 /** 727 /**
728 - * Name of the command. Set to “connect”. 728 + * Name of the command. Set to "connect".
729 */ 729 */
730 std::string command_name; 730 std::string command_name;
731 /** 731 /**
@@ -778,8 +778,8 @@ public: @@ -778,8 +778,8 @@ public:
778 */ 778 */
779 SrsAmf0Object* props; 779 SrsAmf0Object* props;
780 /** 780 /**
781 - * Name-value pairs that describe the response from|the server. ‘code’,  
782 - * ‘level’, ‘description’ are names of few among such information. 781 + * Name-value pairs that describe the response from|the server. 'code',
  782 + * 'level', 'description' are names of few among such information.
783 * @remark, never be NULL. 783 * @remark, never be NULL.
784 */ 784 */
785 SrsAmf0Object* info; 785 SrsAmf0Object* info;
@@ -887,7 +887,7 @@ class SrsCreateStreamPacket : public SrsPacket @@ -887,7 +887,7 @@ class SrsCreateStreamPacket : public SrsPacket
887 { 887 {
888 public: 888 public:
889 /** 889 /**
890 - * Name of the command. Set to “createStream”. 890 + * Name of the command. Set to "createStream".
891 */ 891 */
892 std::string command_name; 892 std::string command_name;
893 /** 893 /**
@@ -958,7 +958,7 @@ class SrsCloseStreamPacket : public SrsPacket @@ -958,7 +958,7 @@ class SrsCloseStreamPacket : public SrsPacket
958 { 958 {
959 public: 959 public:
960 /** 960 /**
961 - * Name of the command, set to “closeStream”. 961 + * Name of the command, set to "closeStream".
962 */ 962 */
963 std::string command_name; 963 std::string command_name;
964 /** 964 /**
@@ -1069,7 +1069,7 @@ class SrsPublishPacket : public SrsPacket @@ -1069,7 +1069,7 @@ class SrsPublishPacket : public SrsPacket
1069 { 1069 {
1070 public: 1070 public:
1071 /** 1071 /**
1072 - * Name of the command, set to “publish”. 1072 + * Name of the command, set to "publish".
1073 */ 1073 */
1074 std::string command_name; 1074 std::string command_name;
1075 /** 1075 /**
@@ -1086,7 +1086,7 @@ public: @@ -1086,7 +1086,7 @@ public:
1086 */ 1086 */
1087 std::string stream_name; 1087 std::string stream_name;
1088 /** 1088 /**
1089 - * Type of publishing. Set to “live”, “record”, or “append”. 1089 + * Type of publishing. Set to "live", "record", or "append".
1090 * record: The stream is published and the data is recorded to a new file.The file 1090 * record: The stream is published and the data is recorded to a new file.The file
1091 * is stored on the server in a subdirectory within the directory that 1091 * is stored on the server in a subdirectory within the directory that
1092 * contains the server application. If the file already exists, it is 1092 * contains the server application. If the file already exists, it is
@@ -1122,7 +1122,7 @@ class SrsPausePacket : public SrsPacket @@ -1122,7 +1122,7 @@ class SrsPausePacket : public SrsPacket
1122 { 1122 {
1123 public: 1123 public:
1124 /** 1124 /**
1125 - * Name of the command, set to “pause”. 1125 + * Name of the command, set to "pause".
1126 */ 1126 */
1127 std::string command_name; 1127 std::string command_name;
1128 /** 1128 /**
@@ -1161,7 +1161,7 @@ class SrsPlayPacket : public SrsPacket @@ -1161,7 +1161,7 @@ class SrsPlayPacket : public SrsPacket
1161 { 1161 {
1162 public: 1162 public:
1163 /** 1163 /**
1164 - * Name of the command. Set to “play”. 1164 + * Name of the command. Set to "play".
1165 */ 1165 */
1166 std::string command_name; 1166 std::string command_name;
1167 /** 1167 /**
@@ -1325,7 +1325,7 @@ public: @@ -1325,7 +1325,7 @@ public:
1325 SrsAmf0Any* args; // null 1325 SrsAmf0Any* args; // null
1326 /** 1326 /**
1327 * Name-value pairs that describe the response from the server. 1327 * Name-value pairs that describe the response from the server.
1328 - * ‘code’,‘level’, ‘description’ are names of few among such information. 1328 + * 'code','level', 'description' are names of few among such information.
1329 * @remark, never be NULL, an AMF0 object instance. 1329 * @remark, never be NULL, an AMF0 object instance.
1330 */ 1330 */
1331 SrsAmf0Object* data; 1331 SrsAmf0Object* data;
@@ -1367,7 +1367,7 @@ public: @@ -1367,7 +1367,7 @@ public:
1367 SrsAmf0Any* args; // null 1367 SrsAmf0Any* args; // null
1368 /** 1368 /**
1369 * Name-value pairs that describe the response from the server. 1369 * Name-value pairs that describe the response from the server.
1370 - * ‘code’,‘level’, ‘description’ are names of few among such information. 1370 + * 'code','level', 'description' are names of few among such information.
1371 * @remark, never be NULL, an AMF0 object instance. 1371 * @remark, never be NULL, an AMF0 object instance.
1372 */ 1372 */
1373 SrsAmf0Object* data; 1373 SrsAmf0Object* data;
@@ -1425,7 +1425,7 @@ public: @@ -1425,7 +1425,7 @@ public:
1425 std::string command_name; 1425 std::string command_name;
1426 /** 1426 /**
1427 * Name-value pairs that describe the response from the server. 1427 * Name-value pairs that describe the response from the server.
1428 - * ‘code’, are names of few among such information. 1428 + * 'code', are names of few among such information.
1429 * @remark, never be NULL, an AMF0 object instance. 1429 * @remark, never be NULL, an AMF0 object instance.
1430 */ 1430 */
1431 SrsAmf0Object* data; 1431 SrsAmf0Object* data;
@@ -1707,7 +1707,7 @@ enum SrcPCUCEventType @@ -1707,7 +1707,7 @@ enum SrcPCUCEventType
1707 * +------------------------------+------------------------- 1707 * +------------------------------+-------------------------
1708 * | Event Type ( 2- bytes ) | Event Data 1708 * | Event Type ( 2- bytes ) | Event Data
1709 * +------------------------------+------------------------- 1709 * +------------------------------+-------------------------
1710 -* Figure 5 Pay load for the ‘User Control Message’. 1710 +* Figure 5 Pay load for the 'User Control Message'.
1711 */ 1711 */
1712 class SrsUserControlPacket : public SrsPacket 1712 class SrsUserControlPacket : public SrsPacket
1713 { 1713 {