๐Ÿก Home

Category / ์นดํ…Œ๊ณ ๋ฆฌ :

RNUI Module : react-native-freelifemakers-ui
  • [Mediaserver]mini_Mediaserver_1-์ฝ”๋“œ์„ค๋ช…/code description-amf0.cpp(1-9)

    ๐Ÿ‘‰๐Ÿป ์ฝ”๋“œ ์„ค๋ช… / Code Explanation โœ”๏ธ void Amf0::write_string(std::vector& buf, const std::string& str) — ๋ฒ„ํผ๋งŒ ํ‚ค์šฐ๊ณ  ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.It only expands the buffer and does not return a value. — push_back : vector์˜ ํ˜„์žฌ ๋์— ๊ทธ ๊ฐ’์„ ๋ณต์‚ฌํ•ด์„œ ๋ถ™์ž…๋‹ˆ๋‹ค.push_back: Copies the value and appends it to the current end of the vector. — AMF0์—์„œ๋Š” ์ด…


  • [Mediaserver]mini_Mediaserver_1-์ฝ”๋“œ์„ค๋ช…/code description-amf0.cpp(1-8)

    ๐Ÿ‘‰๐Ÿป ์•„๋ž˜๋Š” amf0.cpp ํŒŒ์ผ์ด ํ•จ์ˆ˜์— ๋Œ€ํ•œ ์„ค๋ช…์ž…๋‹ˆ๋‹ค.Below is a description of the functions in the amf0.cpp file. ๐Ÿ‘‰๐Ÿป ์ฝ”๋“œ ์„ค๋ช… / Code Explanation โœ”๏ธ void Amf0::parse_object(const std::vector& buf, size_t& pos) { } — RTMP ํŒจํ‚ท ์•ˆ์— ๋“ค์–ด์žˆ๋Š” AMF0 Object๋ฅผ ์ฝ์–ด์„œ ๋ฒ„ํผ ํฌ์ธํ„ฐ๋ฅผ ๋‹ค์Œ ํ•„๋“œ๋กœ ์˜ฎ๊ธฐ๋Š” ์šฉ๋„์ž…๋‹ˆ๋‹ค.It is used to read an AMF0 object contained within…


  • [Mediaserver]mini_Mediaserver_1-์ฝ”๋“œ์„ค๋ช…/code description-amf0.cpp(1-7)

    ๐Ÿ‘‰๐Ÿป ์•„๋ž˜๋Š” amf0.cpp ํŒŒ์ผ์ด ํ•จ์ˆ˜์— ๋Œ€ํ•œ ์„ค๋ช…์ž…๋‹ˆ๋‹ค.Below is a description of the functions in the amf0.cpp file. ๐Ÿ‘‰๐Ÿป ์ฝ”๋“œ ์„ค๋ช… / Code Explanation โœ”๏ธ1. std::string Amf0::parse_string(const std::vector& buf, size_t& pos) { … } — ์ด ํ•จ์ˆ˜๋Š” ๋ฒ„ํผ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ํ•จ์ˆ˜ ์ž…๋‹ˆ๋‹ค.This function converts data in a buffer into a string. — ๋ฒ„ํผ์— ์•„๋ž˜์˜ ์˜ˆ์‹œ…