Lines Matching refs:String

15     pub app: Option<String>,         // Server application name, e.g.: testapp
16 pub flash_ver: Option<String>, // Flash Player version, FMSc/1.0
17 pub swf_url: Option<String>, // URL of the source SWF file file://C:/FlvPlayer.swf
18 pub tc_url: Option<String>, // URL of the Server, rtmp://host:1935/testapp/instance1
25 pub page_url: Option<String>, // http://host/sample.html
26 pub pub_type: Option<String>,
30 pub fn new(app_name: String) -> Self { in new()
96 properties: IndexMap<String, Amf0ValueType>, in write_connect_with_value() argument
98 self.amf0_writer.write_string(&String::from("connect"))?; in write_connect_with_value()
110 self.amf0_writer.write_string(&String::from("connect"))?; in write_connect()
116 properties_map.insert(String::from("app"), Amf0ValueType::UTF8String(app)); in write_connect()
120 properties_map.insert(String::from("type"), Amf0ValueType::UTF8String(pub_type)); in write_connect()
125 String::from("flashVer"), in write_connect()
131 properties_map.insert(String::from("tcUrl"), Amf0ValueType::UTF8String(tc_url)); in write_connect()
135 properties_map.insert(String::from("swfUrl"), Amf0ValueType::UTF8String(swf_url)); in write_connect()
139 properties_map.insert(String::from("pageUrl"), Amf0ValueType::UTF8String(page_url)); in write_connect()
143 properties_map.insert(String::from("fpad"), Amf0ValueType::Boolean(fpad)); in write_connect()
148 String::from("capabilities"), in write_connect()
155 String::from("audioCodecs"), in write_connect()
162 String::from("videoCodecs"), in write_connect()
169 String::from("videoFunction"), in write_connect()
176 String::from("objectEncoding"), in write_connect()
195 self.amf0_writer.write_string(&String::from("_result"))?; in write_connect_response()
201 String::from("fmsVer"), in write_connect_response()
205 String::from("capabilities"), in write_connect_response()
214 String::from("level"), in write_connect_response()
218 String::from("code"), in write_connect_response()
222 String::from("description"), in write_connect_response()
226 String::from("objectEncoding"), in write_connect_response()
240 .write_string(&String::from("createStream"))?; in write_create_stream()
252 self.amf0_writer.write_string(&String::from("_result"))?; in write_create_stream_response()
263 stream_name: &String, in write_get_stream_length() argument
266 .write_string(&String::from("getStreamLength"))?; in write_get_stream_length()
281 self.amf0_writer.write_string(&String::from("_error"))?; in error()
288 String::from("level"), in error()
292 String::from("code"), in error()
296 String::from("description"), in error()