You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7184 lines
316 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapMediaBindingService.cpp
  2. Generated by gSOAP 2.8.17r from onvif.h
  3. Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
  4. The generated code is released under one of the following licenses:
  5. GPL or Genivia's license for commercial use.
  6. This program is released under the GPL with the additional exemption that
  7. compiling, linking, and/or using OpenSSL is allowed.
  8. */
  9. #include "soapMediaBindingService.h"
  10. MediaBindingService::MediaBindingService()
  11. { MediaBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  12. }
  13. MediaBindingService::MediaBindingService(const struct soap &_soap) : soap(_soap)
  14. { }
  15. MediaBindingService::MediaBindingService(soap_mode iomode)
  16. { MediaBindingService_init(iomode, iomode);
  17. }
  18. MediaBindingService::MediaBindingService(soap_mode imode, soap_mode omode)
  19. { MediaBindingService_init(imode, omode);
  20. }
  21. MediaBindingService::~MediaBindingService()
  22. { }
  23. void MediaBindingService::MediaBindingService_init(soap_mode imode, soap_mode omode)
  24. { soap_imode(this, imode);
  25. soap_omode(this, omode);
  26. static const struct Namespace namespaces[] =
  27. {
  28. {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
  29. {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
  30. {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
  31. {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
  32. {"c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", NULL, NULL},
  33. {"wsu", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", NULL, NULL},
  34. {"xenc", "http://www.w3.org/2001/04/xmlenc#", NULL, NULL},
  35. {"wsc", "http://schemas.xmlsoap.org/ws/2005/02/sc", NULL, NULL},
  36. {"ds", "http://www.w3.org/2000/09/xmldsig#", NULL, NULL},
  37. {"wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL},
  38. {"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
  39. {"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
  40. {"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
  41. {"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
  42. {"xmime", "http://tempuri.org/xmime.xsd", NULL, NULL},
  43. {"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL},
  44. {"tt", "http://www.onvif.org/ver10/schema", NULL, NULL},
  45. {"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL},
  46. {"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL},
  47. {"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL},
  48. {"tdn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL},
  49. {"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL},
  50. {"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL},
  51. {"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL},
  52. {"timg", "http://www.onvif.org/ver20/imaging/wsdl", NULL, NULL},
  53. {"tls", "http://www.onvif.org/ver10/display/wsdl", NULL, NULL},
  54. {"tmd", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL},
  55. {"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL},
  56. {"trc", "http://www.onvif.org/ver10/recording/wsdl", NULL, NULL},
  57. {"trp", "http://www.onvif.org/ver10/replay/wsdl", NULL, NULL},
  58. {"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL},
  59. {"trv", "http://www.onvif.org/ver10/receiver/wsdl", NULL, NULL},
  60. {"tse", "http://www.onvif.org/ver10/search/wsdl", NULL, NULL},
  61. {NULL, NULL, NULL, NULL}
  62. };
  63. soap_set_namespaces(this, namespaces);
  64. }
  65. void MediaBindingService::destroy()
  66. { soap_destroy(this);
  67. soap_end(this);
  68. }
  69. void MediaBindingService::reset()
  70. { destroy();
  71. soap_done(this);
  72. soap_initialize(this);
  73. MediaBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  74. }
  75. #ifndef WITH_PURE_VIRTUAL
  76. MediaBindingService *MediaBindingService::copy()
  77. { MediaBindingService *dup = SOAP_NEW_COPY(MediaBindingService(*(struct soap*)this));
  78. return dup;
  79. }
  80. #endif
  81. int MediaBindingService::soap_close_socket()
  82. { return soap_closesock(this);
  83. }
  84. int MediaBindingService::soap_force_close_socket()
  85. { return soap_force_closesock(this);
  86. }
  87. int MediaBindingService::soap_senderfault(const char *string, const char *detailXML)
  88. { return ::soap_sender_fault(this, string, detailXML);
  89. }
  90. int MediaBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
  91. { return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);
  92. }
  93. int MediaBindingService::soap_receiverfault(const char *string, const char *detailXML)
  94. { return ::soap_receiver_fault(this, string, detailXML);
  95. }
  96. int MediaBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
  97. { return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);
  98. }
  99. void MediaBindingService::soap_print_fault(FILE *fd)
  100. { ::soap_print_fault(this, fd);
  101. }
  102. #ifndef WITH_LEAN
  103. #ifndef WITH_COMPAT
  104. void MediaBindingService::soap_stream_fault(std::ostream& os)
  105. { ::soap_stream_fault(this, os);
  106. }
  107. #endif
  108. char *MediaBindingService::soap_sprint_fault(char *buf, size_t len)
  109. { return ::soap_sprint_fault(this, buf, len);
  110. }
  111. #endif
  112. void MediaBindingService::soap_noheader()
  113. { this->header = NULL;
  114. }
  115. void MediaBindingService::soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance)
  116. { ::soap_header(this);
  117. this->header->wsse__Security = wsse__Security;
  118. this->header->wsa__MessageID = wsa__MessageID;
  119. this->header->wsa__RelatesTo = wsa__RelatesTo;
  120. this->header->wsa__From = wsa__From;
  121. this->header->wsa__ReplyTo = wsa__ReplyTo;
  122. this->header->wsa__FaultTo = wsa__FaultTo;
  123. this->header->wsa__To = wsa__To;
  124. this->header->wsa__Action = wsa__Action;
  125. this->header->wsdd__AppSequence = wsdd__AppSequence;
  126. this->header->wsa5__MessageID = wsa5__MessageID;
  127. this->header->wsa5__RelatesTo = wsa5__RelatesTo;
  128. this->header->wsa5__From = wsa5__From;
  129. this->header->wsa5__ReplyTo = wsa5__ReplyTo;
  130. this->header->wsa5__FaultTo = wsa5__FaultTo;
  131. this->header->wsa5__To = wsa5__To;
  132. this->header->wsa5__Action = wsa5__Action;
  133. this->header->chan__ChannelInstance = chan__ChannelInstance;
  134. }
  135. const SOAP_ENV__Header *MediaBindingService::soap_header()
  136. { return this->header;
  137. }
  138. int MediaBindingService::run(int port)
  139. { if (soap_valid_socket(this->master) || soap_valid_socket(bind(NULL, port, 100)))
  140. { for (;;)
  141. { if (!soap_valid_socket(accept()) || serve())
  142. return this->error;
  143. soap_destroy(this);
  144. soap_end(this);
  145. }
  146. }
  147. else
  148. return this->error;
  149. return SOAP_OK;
  150. }
  151. SOAP_SOCKET MediaBindingService::bind(const char *host, int port, int backlog)
  152. { return soap_bind(this, host, port, backlog);
  153. }
  154. SOAP_SOCKET MediaBindingService::accept()
  155. { return soap_accept(this);
  156. }
  157. #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
  158. int MediaBindingService::ssl_accept()
  159. { return soap_ssl_accept(this);
  160. }
  161. #endif
  162. int MediaBindingService::serve()
  163. {
  164. #ifndef WITH_FASTCGI
  165. unsigned int k = this->max_keep_alive;
  166. #endif
  167. do
  168. {
  169. #ifndef WITH_FASTCGI
  170. if (this->max_keep_alive > 0 && !--k)
  171. this->keep_alive = 0;
  172. #endif
  173. if (soap_begin_serve(this))
  174. { if (this->error >= SOAP_STOP)
  175. continue;
  176. return this->error;
  177. }
  178. if (dispatch() || (this->fserveloop && this->fserveloop(this)))
  179. {
  180. #ifdef WITH_FASTCGI
  181. soap_send_fault(this);
  182. #else
  183. return soap_send_fault(this);
  184. #endif
  185. }
  186. #ifdef WITH_FASTCGI
  187. soap_destroy(this);
  188. soap_end(this);
  189. } while (1);
  190. #else
  191. } while (this->keep_alive);
  192. #endif
  193. return SOAP_OK;
  194. }
  195. static int serve___trt__GetServiceCapabilities(MediaBindingService*);
  196. static int serve___trt__GetVideoSources(MediaBindingService*);
  197. static int serve___trt__GetAudioSources(MediaBindingService*);
  198. static int serve___trt__GetAudioOutputs(MediaBindingService*);
  199. static int serve___trt__CreateProfile(MediaBindingService*);
  200. static int serve___trt__GetProfile(MediaBindingService*);
  201. static int serve___trt__GetProfiles(MediaBindingService*);
  202. static int serve___trt__AddVideoEncoderConfiguration(MediaBindingService*);
  203. static int serve___trt__AddVideoSourceConfiguration(MediaBindingService*);
  204. static int serve___trt__AddAudioEncoderConfiguration(MediaBindingService*);
  205. static int serve___trt__AddAudioSourceConfiguration(MediaBindingService*);
  206. static int serve___trt__AddPTZConfiguration(MediaBindingService*);
  207. static int serve___trt__AddVideoAnalyticsConfiguration(MediaBindingService*);
  208. static int serve___trt__AddMetadataConfiguration(MediaBindingService*);
  209. static int serve___trt__AddAudioOutputConfiguration(MediaBindingService*);
  210. static int serve___trt__AddAudioDecoderConfiguration(MediaBindingService*);
  211. static int serve___trt__RemoveVideoEncoderConfiguration(MediaBindingService*);
  212. static int serve___trt__RemoveVideoSourceConfiguration(MediaBindingService*);
  213. static int serve___trt__RemoveAudioEncoderConfiguration(MediaBindingService*);
  214. static int serve___trt__RemoveAudioSourceConfiguration(MediaBindingService*);
  215. static int serve___trt__RemovePTZConfiguration(MediaBindingService*);
  216. static int serve___trt__RemoveVideoAnalyticsConfiguration(MediaBindingService*);
  217. static int serve___trt__RemoveMetadataConfiguration(MediaBindingService*);
  218. static int serve___trt__RemoveAudioOutputConfiguration(MediaBindingService*);
  219. static int serve___trt__RemoveAudioDecoderConfiguration(MediaBindingService*);
  220. static int serve___trt__DeleteProfile(MediaBindingService*);
  221. static int serve___trt__GetVideoSourceConfigurations(MediaBindingService*);
  222. static int serve___trt__GetVideoEncoderConfigurations(MediaBindingService*);
  223. static int serve___trt__GetAudioSourceConfigurations(MediaBindingService*);
  224. static int serve___trt__GetAudioEncoderConfigurations(MediaBindingService*);
  225. static int serve___trt__GetVideoAnalyticsConfigurations(MediaBindingService*);
  226. static int serve___trt__GetMetadataConfigurations(MediaBindingService*);
  227. static int serve___trt__GetAudioOutputConfigurations(MediaBindingService*);
  228. static int serve___trt__GetAudioDecoderConfigurations(MediaBindingService*);
  229. static int serve___trt__GetVideoSourceConfiguration(MediaBindingService*);
  230. static int serve___trt__GetVideoEncoderConfiguration(MediaBindingService*);
  231. static int serve___trt__GetAudioSourceConfiguration(MediaBindingService*);
  232. static int serve___trt__GetAudioEncoderConfiguration(MediaBindingService*);
  233. static int serve___trt__GetVideoAnalyticsConfiguration(MediaBindingService*);
  234. static int serve___trt__GetMetadataConfiguration(MediaBindingService*);
  235. static int serve___trt__GetAudioOutputConfiguration(MediaBindingService*);
  236. static int serve___trt__GetAudioDecoderConfiguration(MediaBindingService*);
  237. static int serve___trt__GetCompatibleVideoEncoderConfigurations(MediaBindingService*);
  238. static int serve___trt__GetCompatibleVideoSourceConfigurations(MediaBindingService*);
  239. static int serve___trt__GetCompatibleAudioEncoderConfigurations(MediaBindingService*);
  240. static int serve___trt__GetCompatibleAudioSourceConfigurations(MediaBindingService*);
  241. static int serve___trt__GetCompatibleVideoAnalyticsConfigurations(MediaBindingService*);
  242. static int serve___trt__GetCompatibleMetadataConfigurations(MediaBindingService*);
  243. static int serve___trt__GetCompatibleAudioOutputConfigurations(MediaBindingService*);
  244. static int serve___trt__GetCompatibleAudioDecoderConfigurations(MediaBindingService*);
  245. static int serve___trt__SetVideoSourceConfiguration(MediaBindingService*);
  246. static int serve___trt__SetVideoEncoderConfiguration(MediaBindingService*);
  247. static int serve___trt__SetAudioSourceConfiguration(MediaBindingService*);
  248. static int serve___trt__SetAudioEncoderConfiguration(MediaBindingService*);
  249. static int serve___trt__SetVideoAnalyticsConfiguration(MediaBindingService*);
  250. static int serve___trt__SetMetadataConfiguration(MediaBindingService*);
  251. static int serve___trt__SetAudioOutputConfiguration(MediaBindingService*);
  252. static int serve___trt__SetAudioDecoderConfiguration(MediaBindingService*);
  253. static int serve___trt__GetVideoSourceConfigurationOptions(MediaBindingService*);
  254. static int serve___trt__GetVideoEncoderConfigurationOptions(MediaBindingService*);
  255. static int serve___trt__GetAudioSourceConfigurationOptions(MediaBindingService*);
  256. static int serve___trt__GetAudioEncoderConfigurationOptions(MediaBindingService*);
  257. static int serve___trt__GetMetadataConfigurationOptions(MediaBindingService*);
  258. static int serve___trt__GetAudioOutputConfigurationOptions(MediaBindingService*);
  259. static int serve___trt__GetAudioDecoderConfigurationOptions(MediaBindingService*);
  260. static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(MediaBindingService*);
  261. static int serve___trt__GetStreamUri(MediaBindingService*);
  262. static int serve___trt__StartMulticastStreaming(MediaBindingService*);
  263. static int serve___trt__StopMulticastStreaming(MediaBindingService*);
  264. static int serve___trt__SetSynchronizationPoint(MediaBindingService*);
  265. static int serve___trt__GetSnapshotUri(MediaBindingService*);
  266. static int serve___trt__GetVideoSourceModes(MediaBindingService*);
  267. static int serve___trt__SetVideoSourceMode(MediaBindingService*);
  268. static int serve___trt__GetOSDs(MediaBindingService*);
  269. static int serve___trt__GetOSD(MediaBindingService*);
  270. static int serve___trt__GetOSDOptions(MediaBindingService*);
  271. static int serve___trt__SetOSD(MediaBindingService*);
  272. static int serve___trt__CreateOSD(MediaBindingService*);
  273. static int serve___trt__DeleteOSD(MediaBindingService*);
  274. static int serve___trt__GetServiceCapabilities_(MediaBindingService*);
  275. static int serve___trt__GetVideoSources_(MediaBindingService*);
  276. static int serve___trt__GetAudioSources_(MediaBindingService*);
  277. static int serve___trt__GetAudioOutputs_(MediaBindingService*);
  278. static int serve___trt__CreateProfile_(MediaBindingService*);
  279. static int serve___trt__GetProfile_(MediaBindingService*);
  280. static int serve___trt__GetProfiles_(MediaBindingService*);
  281. static int serve___trt__AddVideoEncoderConfiguration_(MediaBindingService*);
  282. static int serve___trt__AddVideoSourceConfiguration_(MediaBindingService*);
  283. static int serve___trt__AddAudioEncoderConfiguration_(MediaBindingService*);
  284. static int serve___trt__AddAudioSourceConfiguration_(MediaBindingService*);
  285. static int serve___trt__AddPTZConfiguration_(MediaBindingService*);
  286. static int serve___trt__AddVideoAnalyticsConfiguration_(MediaBindingService*);
  287. static int serve___trt__AddMetadataConfiguration_(MediaBindingService*);
  288. static int serve___trt__AddAudioOutputConfiguration_(MediaBindingService*);
  289. static int serve___trt__AddAudioDecoderConfiguration_(MediaBindingService*);
  290. static int serve___trt__RemoveVideoEncoderConfiguration_(MediaBindingService*);
  291. static int serve___trt__RemoveVideoSourceConfiguration_(MediaBindingService*);
  292. static int serve___trt__RemoveAudioEncoderConfiguration_(MediaBindingService*);
  293. static int serve___trt__RemoveAudioSourceConfiguration_(MediaBindingService*);
  294. static int serve___trt__RemovePTZConfiguration_(MediaBindingService*);
  295. static int serve___trt__RemoveVideoAnalyticsConfiguration_(MediaBindingService*);
  296. static int serve___trt__RemoveMetadataConfiguration_(MediaBindingService*);
  297. static int serve___trt__RemoveAudioOutputConfiguration_(MediaBindingService*);
  298. static int serve___trt__RemoveAudioDecoderConfiguration_(MediaBindingService*);
  299. static int serve___trt__DeleteProfile_(MediaBindingService*);
  300. static int serve___trt__GetVideoSourceConfigurations_(MediaBindingService*);
  301. static int serve___trt__GetVideoEncoderConfigurations_(MediaBindingService*);
  302. static int serve___trt__GetAudioSourceConfigurations_(MediaBindingService*);
  303. static int serve___trt__GetAudioEncoderConfigurations_(MediaBindingService*);
  304. static int serve___trt__GetVideoAnalyticsConfigurations_(MediaBindingService*);
  305. static int serve___trt__GetMetadataConfigurations_(MediaBindingService*);
  306. static int serve___trt__GetAudioOutputConfigurations_(MediaBindingService*);
  307. static int serve___trt__GetAudioDecoderConfigurations_(MediaBindingService*);
  308. static int serve___trt__GetVideoSourceConfiguration_(MediaBindingService*);
  309. static int serve___trt__GetVideoEncoderConfiguration_(MediaBindingService*);
  310. static int serve___trt__GetAudioSourceConfiguration_(MediaBindingService*);
  311. static int serve___trt__GetAudioEncoderConfiguration_(MediaBindingService*);
  312. static int serve___trt__GetVideoAnalyticsConfiguration_(MediaBindingService*);
  313. static int serve___trt__GetMetadataConfiguration_(MediaBindingService*);
  314. static int serve___trt__GetAudioOutputConfiguration_(MediaBindingService*);
  315. static int serve___trt__GetAudioDecoderConfiguration_(MediaBindingService*);
  316. static int serve___trt__GetCompatibleVideoEncoderConfigurations_(MediaBindingService*);
  317. static int serve___trt__GetCompatibleVideoSourceConfigurations_(MediaBindingService*);
  318. static int serve___trt__GetCompatibleAudioEncoderConfigurations_(MediaBindingService*);
  319. static int serve___trt__GetCompatibleAudioSourceConfigurations_(MediaBindingService*);
  320. static int serve___trt__GetCompatibleVideoAnalyticsConfigurations_(MediaBindingService*);
  321. static int serve___trt__GetCompatibleMetadataConfigurations_(MediaBindingService*);
  322. static int serve___trt__GetCompatibleAudioOutputConfigurations_(MediaBindingService*);
  323. static int serve___trt__GetCompatibleAudioDecoderConfigurations_(MediaBindingService*);
  324. static int serve___trt__SetVideoSourceConfiguration_(MediaBindingService*);
  325. static int serve___trt__SetVideoEncoderConfiguration_(MediaBindingService*);
  326. static int serve___trt__SetAudioSourceConfiguration_(MediaBindingService*);
  327. static int serve___trt__SetAudioEncoderConfiguration_(MediaBindingService*);
  328. static int serve___trt__SetVideoAnalyticsConfiguration_(MediaBindingService*);
  329. static int serve___trt__SetMetadataConfiguration_(MediaBindingService*);
  330. static int serve___trt__SetAudioOutputConfiguration_(MediaBindingService*);
  331. static int serve___trt__SetAudioDecoderConfiguration_(MediaBindingService*);
  332. static int serve___trt__GetVideoSourceConfigurationOptions_(MediaBindingService*);
  333. static int serve___trt__GetVideoEncoderConfigurationOptions_(MediaBindingService*);
  334. static int serve___trt__GetAudioSourceConfigurationOptions_(MediaBindingService*);
  335. static int serve___trt__GetAudioEncoderConfigurationOptions_(MediaBindingService*);
  336. static int serve___trt__GetMetadataConfigurationOptions_(MediaBindingService*);
  337. static int serve___trt__GetAudioOutputConfigurationOptions_(MediaBindingService*);
  338. static int serve___trt__GetAudioDecoderConfigurationOptions_(MediaBindingService*);
  339. static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(MediaBindingService*);
  340. static int serve___trt__GetStreamUri_(MediaBindingService*);
  341. static int serve___trt__StartMulticastStreaming_(MediaBindingService*);
  342. static int serve___trt__StopMulticastStreaming_(MediaBindingService*);
  343. static int serve___trt__SetSynchronizationPoint_(MediaBindingService*);
  344. static int serve___trt__GetSnapshotUri_(MediaBindingService*);
  345. static int serve___trt__GetVideoSourceModes_(MediaBindingService*);
  346. static int serve___trt__SetVideoSourceMode_(MediaBindingService*);
  347. static int serve___trt__GetOSDs_(MediaBindingService*);
  348. static int serve___trt__GetOSD_(MediaBindingService*);
  349. static int serve___trt__GetOSDOptions_(MediaBindingService*);
  350. static int serve___trt__SetOSD_(MediaBindingService*);
  351. static int serve___trt__CreateOSD_(MediaBindingService*);
  352. static int serve___trt__DeleteOSD_(MediaBindingService*);
  353. int MediaBindingService::dispatch()
  354. { soap_peek_element(this);
  355. if (!soap_match_tag(this, this->tag, "trt:GetServiceCapabilities"))
  356. return serve___trt__GetServiceCapabilities(this);
  357. if (!soap_match_tag(this, this->tag, "trt:GetVideoSources"))
  358. return serve___trt__GetVideoSources(this);
  359. if (!soap_match_tag(this, this->tag, "trt:GetAudioSources"))
  360. return serve___trt__GetAudioSources(this);
  361. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputs"))
  362. return serve___trt__GetAudioOutputs(this);
  363. if (!soap_match_tag(this, this->tag, "trt:CreateProfile"))
  364. return serve___trt__CreateProfile(this);
  365. if (!soap_match_tag(this, this->tag, "trt:GetProfile"))
  366. return serve___trt__GetProfile(this);
  367. if (!soap_match_tag(this, this->tag, "trt:GetProfiles"))
  368. return serve___trt__GetProfiles(this);
  369. if (!soap_match_tag(this, this->tag, "trt:AddVideoEncoderConfiguration"))
  370. return serve___trt__AddVideoEncoderConfiguration(this);
  371. if (!soap_match_tag(this, this->tag, "trt:AddVideoSourceConfiguration"))
  372. return serve___trt__AddVideoSourceConfiguration(this);
  373. if (!soap_match_tag(this, this->tag, "trt:AddAudioEncoderConfiguration"))
  374. return serve___trt__AddAudioEncoderConfiguration(this);
  375. if (!soap_match_tag(this, this->tag, "trt:AddAudioSourceConfiguration"))
  376. return serve___trt__AddAudioSourceConfiguration(this);
  377. if (!soap_match_tag(this, this->tag, "trt:AddPTZConfiguration"))
  378. return serve___trt__AddPTZConfiguration(this);
  379. if (!soap_match_tag(this, this->tag, "trt:AddVideoAnalyticsConfiguration"))
  380. return serve___trt__AddVideoAnalyticsConfiguration(this);
  381. if (!soap_match_tag(this, this->tag, "trt:AddMetadataConfiguration"))
  382. return serve___trt__AddMetadataConfiguration(this);
  383. if (!soap_match_tag(this, this->tag, "trt:AddAudioOutputConfiguration"))
  384. return serve___trt__AddAudioOutputConfiguration(this);
  385. if (!soap_match_tag(this, this->tag, "trt:AddAudioDecoderConfiguration"))
  386. return serve___trt__AddAudioDecoderConfiguration(this);
  387. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoEncoderConfiguration"))
  388. return serve___trt__RemoveVideoEncoderConfiguration(this);
  389. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoSourceConfiguration"))
  390. return serve___trt__RemoveVideoSourceConfiguration(this);
  391. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioEncoderConfiguration"))
  392. return serve___trt__RemoveAudioEncoderConfiguration(this);
  393. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioSourceConfiguration"))
  394. return serve___trt__RemoveAudioSourceConfiguration(this);
  395. if (!soap_match_tag(this, this->tag, "trt:RemovePTZConfiguration"))
  396. return serve___trt__RemovePTZConfiguration(this);
  397. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoAnalyticsConfiguration"))
  398. return serve___trt__RemoveVideoAnalyticsConfiguration(this);
  399. if (!soap_match_tag(this, this->tag, "trt:RemoveMetadataConfiguration"))
  400. return serve___trt__RemoveMetadataConfiguration(this);
  401. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioOutputConfiguration"))
  402. return serve___trt__RemoveAudioOutputConfiguration(this);
  403. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioDecoderConfiguration"))
  404. return serve___trt__RemoveAudioDecoderConfiguration(this);
  405. if (!soap_match_tag(this, this->tag, "trt:DeleteProfile"))
  406. return serve___trt__DeleteProfile(this);
  407. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurations"))
  408. return serve___trt__GetVideoSourceConfigurations(this);
  409. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurations"))
  410. return serve___trt__GetVideoEncoderConfigurations(this);
  411. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurations"))
  412. return serve___trt__GetAudioSourceConfigurations(this);
  413. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurations"))
  414. return serve___trt__GetAudioEncoderConfigurations(this);
  415. if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfigurations"))
  416. return serve___trt__GetVideoAnalyticsConfigurations(this);
  417. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurations"))
  418. return serve___trt__GetMetadataConfigurations(this);
  419. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurations"))
  420. return serve___trt__GetAudioOutputConfigurations(this);
  421. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurations"))
  422. return serve___trt__GetAudioDecoderConfigurations(this);
  423. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfiguration"))
  424. return serve___trt__GetVideoSourceConfiguration(this);
  425. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfiguration"))
  426. return serve___trt__GetVideoEncoderConfiguration(this);
  427. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfiguration"))
  428. return serve___trt__GetAudioSourceConfiguration(this);
  429. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfiguration"))
  430. return serve___trt__GetAudioEncoderConfiguration(this);
  431. if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfiguration"))
  432. return serve___trt__GetVideoAnalyticsConfiguration(this);
  433. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfiguration"))
  434. return serve___trt__GetMetadataConfiguration(this);
  435. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfiguration"))
  436. return serve___trt__GetAudioOutputConfiguration(this);
  437. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfiguration"))
  438. return serve___trt__GetAudioDecoderConfiguration(this);
  439. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoEncoderConfigurations"))
  440. return serve___trt__GetCompatibleVideoEncoderConfigurations(this);
  441. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoSourceConfigurations"))
  442. return serve___trt__GetCompatibleVideoSourceConfigurations(this);
  443. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioEncoderConfigurations"))
  444. return serve___trt__GetCompatibleAudioEncoderConfigurations(this);
  445. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioSourceConfigurations"))
  446. return serve___trt__GetCompatibleAudioSourceConfigurations(this);
  447. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoAnalyticsConfigurations"))
  448. return serve___trt__GetCompatibleVideoAnalyticsConfigurations(this);
  449. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleMetadataConfigurations"))
  450. return serve___trt__GetCompatibleMetadataConfigurations(this);
  451. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioOutputConfigurations"))
  452. return serve___trt__GetCompatibleAudioOutputConfigurations(this);
  453. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioDecoderConfigurations"))
  454. return serve___trt__GetCompatibleAudioDecoderConfigurations(this);
  455. if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceConfiguration"))
  456. return serve___trt__SetVideoSourceConfiguration(this);
  457. if (!soap_match_tag(this, this->tag, "trt:SetVideoEncoderConfiguration"))
  458. return serve___trt__SetVideoEncoderConfiguration(this);
  459. if (!soap_match_tag(this, this->tag, "trt:SetAudioSourceConfiguration"))
  460. return serve___trt__SetAudioSourceConfiguration(this);
  461. if (!soap_match_tag(this, this->tag, "trt:SetAudioEncoderConfiguration"))
  462. return serve___trt__SetAudioEncoderConfiguration(this);
  463. if (!soap_match_tag(this, this->tag, "trt:SetVideoAnalyticsConfiguration"))
  464. return serve___trt__SetVideoAnalyticsConfiguration(this);
  465. if (!soap_match_tag(this, this->tag, "trt:SetMetadataConfiguration"))
  466. return serve___trt__SetMetadataConfiguration(this);
  467. if (!soap_match_tag(this, this->tag, "trt:SetAudioOutputConfiguration"))
  468. return serve___trt__SetAudioOutputConfiguration(this);
  469. if (!soap_match_tag(this, this->tag, "trt:SetAudioDecoderConfiguration"))
  470. return serve___trt__SetAudioDecoderConfiguration(this);
  471. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurationOptions"))
  472. return serve___trt__GetVideoSourceConfigurationOptions(this);
  473. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurationOptions"))
  474. return serve___trt__GetVideoEncoderConfigurationOptions(this);
  475. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurationOptions"))
  476. return serve___trt__GetAudioSourceConfigurationOptions(this);
  477. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurationOptions"))
  478. return serve___trt__GetAudioEncoderConfigurationOptions(this);
  479. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurationOptions"))
  480. return serve___trt__GetMetadataConfigurationOptions(this);
  481. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurationOptions"))
  482. return serve___trt__GetAudioOutputConfigurationOptions(this);
  483. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurationOptions"))
  484. return serve___trt__GetAudioDecoderConfigurationOptions(this);
  485. if (!soap_match_tag(this, this->tag, "trt:GetGuaranteedNumberOfVideoEncoderInstances"))
  486. return serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(this);
  487. if (!soap_match_tag(this, this->tag, "trt:GetStreamUri"))
  488. return serve___trt__GetStreamUri(this);
  489. if (!soap_match_tag(this, this->tag, "trt:StartMulticastStreaming"))
  490. return serve___trt__StartMulticastStreaming(this);
  491. if (!soap_match_tag(this, this->tag, "trt:StopMulticastStreaming"))
  492. return serve___trt__StopMulticastStreaming(this);
  493. if (!soap_match_tag(this, this->tag, "trt:SetSynchronizationPoint"))
  494. return serve___trt__SetSynchronizationPoint(this);
  495. if (!soap_match_tag(this, this->tag, "trt:GetSnapshotUri"))
  496. return serve___trt__GetSnapshotUri(this);
  497. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceModes"))
  498. return serve___trt__GetVideoSourceModes(this);
  499. if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceMode"))
  500. return serve___trt__SetVideoSourceMode(this);
  501. if (!soap_match_tag(this, this->tag, "trt:GetOSDs"))
  502. return serve___trt__GetOSDs(this);
  503. if (!soap_match_tag(this, this->tag, "trt:GetOSD"))
  504. return serve___trt__GetOSD(this);
  505. if (!soap_match_tag(this, this->tag, "trt:GetOSDOptions"))
  506. return serve___trt__GetOSDOptions(this);
  507. if (!soap_match_tag(this, this->tag, "trt:SetOSD"))
  508. return serve___trt__SetOSD(this);
  509. if (!soap_match_tag(this, this->tag, "trt:CreateOSD"))
  510. return serve___trt__CreateOSD(this);
  511. if (!soap_match_tag(this, this->tag, "trt:DeleteOSD"))
  512. return serve___trt__DeleteOSD(this);
  513. if (!soap_match_tag(this, this->tag, "trt:GetServiceCapabilities"))
  514. return serve___trt__GetServiceCapabilities_(this);
  515. if (!soap_match_tag(this, this->tag, "trt:GetVideoSources"))
  516. return serve___trt__GetVideoSources_(this);
  517. if (!soap_match_tag(this, this->tag, "trt:GetAudioSources"))
  518. return serve___trt__GetAudioSources_(this);
  519. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputs"))
  520. return serve___trt__GetAudioOutputs_(this);
  521. if (!soap_match_tag(this, this->tag, "trt:CreateProfile"))
  522. return serve___trt__CreateProfile_(this);
  523. if (!soap_match_tag(this, this->tag, "trt:GetProfile"))
  524. return serve___trt__GetProfile_(this);
  525. if (!soap_match_tag(this, this->tag, "trt:GetProfiles"))
  526. return serve___trt__GetProfiles_(this);
  527. if (!soap_match_tag(this, this->tag, "trt:AddVideoEncoderConfiguration"))
  528. return serve___trt__AddVideoEncoderConfiguration_(this);
  529. if (!soap_match_tag(this, this->tag, "trt:AddVideoSourceConfiguration"))
  530. return serve___trt__AddVideoSourceConfiguration_(this);
  531. if (!soap_match_tag(this, this->tag, "trt:AddAudioEncoderConfiguration"))
  532. return serve___trt__AddAudioEncoderConfiguration_(this);
  533. if (!soap_match_tag(this, this->tag, "trt:AddAudioSourceConfiguration"))
  534. return serve___trt__AddAudioSourceConfiguration_(this);
  535. if (!soap_match_tag(this, this->tag, "trt:AddPTZConfiguration"))
  536. return serve___trt__AddPTZConfiguration_(this);
  537. if (!soap_match_tag(this, this->tag, "trt:AddVideoAnalyticsConfiguration"))
  538. return serve___trt__AddVideoAnalyticsConfiguration_(this);
  539. if (!soap_match_tag(this, this->tag, "trt:AddMetadataConfiguration"))
  540. return serve___trt__AddMetadataConfiguration_(this);
  541. if (!soap_match_tag(this, this->tag, "trt:AddAudioOutputConfiguration"))
  542. return serve___trt__AddAudioOutputConfiguration_(this);
  543. if (!soap_match_tag(this, this->tag, "trt:AddAudioDecoderConfiguration"))
  544. return serve___trt__AddAudioDecoderConfiguration_(this);
  545. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoEncoderConfiguration"))
  546. return serve___trt__RemoveVideoEncoderConfiguration_(this);
  547. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoSourceConfiguration"))
  548. return serve___trt__RemoveVideoSourceConfiguration_(this);
  549. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioEncoderConfiguration"))
  550. return serve___trt__RemoveAudioEncoderConfiguration_(this);
  551. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioSourceConfiguration"))
  552. return serve___trt__RemoveAudioSourceConfiguration_(this);
  553. if (!soap_match_tag(this, this->tag, "trt:RemovePTZConfiguration"))
  554. return serve___trt__RemovePTZConfiguration_(this);
  555. if (!soap_match_tag(this, this->tag, "trt:RemoveVideoAnalyticsConfiguration"))
  556. return serve___trt__RemoveVideoAnalyticsConfiguration_(this);
  557. if (!soap_match_tag(this, this->tag, "trt:RemoveMetadataConfiguration"))
  558. return serve___trt__RemoveMetadataConfiguration_(this);
  559. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioOutputConfiguration"))
  560. return serve___trt__RemoveAudioOutputConfiguration_(this);
  561. if (!soap_match_tag(this, this->tag, "trt:RemoveAudioDecoderConfiguration"))
  562. return serve___trt__RemoveAudioDecoderConfiguration_(this);
  563. if (!soap_match_tag(this, this->tag, "trt:DeleteProfile"))
  564. return serve___trt__DeleteProfile_(this);
  565. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurations"))
  566. return serve___trt__GetVideoSourceConfigurations_(this);
  567. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurations"))
  568. return serve___trt__GetVideoEncoderConfigurations_(this);
  569. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurations"))
  570. return serve___trt__GetAudioSourceConfigurations_(this);
  571. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurations"))
  572. return serve___trt__GetAudioEncoderConfigurations_(this);
  573. if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfigurations"))
  574. return serve___trt__GetVideoAnalyticsConfigurations_(this);
  575. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurations"))
  576. return serve___trt__GetMetadataConfigurations_(this);
  577. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurations"))
  578. return serve___trt__GetAudioOutputConfigurations_(this);
  579. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurations"))
  580. return serve___trt__GetAudioDecoderConfigurations_(this);
  581. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfiguration"))
  582. return serve___trt__GetVideoSourceConfiguration_(this);
  583. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfiguration"))
  584. return serve___trt__GetVideoEncoderConfiguration_(this);
  585. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfiguration"))
  586. return serve___trt__GetAudioSourceConfiguration_(this);
  587. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfiguration"))
  588. return serve___trt__GetAudioEncoderConfiguration_(this);
  589. if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfiguration"))
  590. return serve___trt__GetVideoAnalyticsConfiguration_(this);
  591. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfiguration"))
  592. return serve___trt__GetMetadataConfiguration_(this);
  593. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfiguration"))
  594. return serve___trt__GetAudioOutputConfiguration_(this);
  595. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfiguration"))
  596. return serve___trt__GetAudioDecoderConfiguration_(this);
  597. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoEncoderConfigurations"))
  598. return serve___trt__GetCompatibleVideoEncoderConfigurations_(this);
  599. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoSourceConfigurations"))
  600. return serve___trt__GetCompatibleVideoSourceConfigurations_(this);
  601. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioEncoderConfigurations"))
  602. return serve___trt__GetCompatibleAudioEncoderConfigurations_(this);
  603. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioSourceConfigurations"))
  604. return serve___trt__GetCompatibleAudioSourceConfigurations_(this);
  605. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoAnalyticsConfigurations"))
  606. return serve___trt__GetCompatibleVideoAnalyticsConfigurations_(this);
  607. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleMetadataConfigurations"))
  608. return serve___trt__GetCompatibleMetadataConfigurations_(this);
  609. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioOutputConfigurations"))
  610. return serve___trt__GetCompatibleAudioOutputConfigurations_(this);
  611. if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioDecoderConfigurations"))
  612. return serve___trt__GetCompatibleAudioDecoderConfigurations_(this);
  613. if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceConfiguration"))
  614. return serve___trt__SetVideoSourceConfiguration_(this);
  615. if (!soap_match_tag(this, this->tag, "trt:SetVideoEncoderConfiguration"))
  616. return serve___trt__SetVideoEncoderConfiguration_(this);
  617. if (!soap_match_tag(this, this->tag, "trt:SetAudioSourceConfiguration"))
  618. return serve___trt__SetAudioSourceConfiguration_(this);
  619. if (!soap_match_tag(this, this->tag, "trt:SetAudioEncoderConfiguration"))
  620. return serve___trt__SetAudioEncoderConfiguration_(this);
  621. if (!soap_match_tag(this, this->tag, "trt:SetVideoAnalyticsConfiguration"))
  622. return serve___trt__SetVideoAnalyticsConfiguration_(this);
  623. if (!soap_match_tag(this, this->tag, "trt:SetMetadataConfiguration"))
  624. return serve___trt__SetMetadataConfiguration_(this);
  625. if (!soap_match_tag(this, this->tag, "trt:SetAudioOutputConfiguration"))
  626. return serve___trt__SetAudioOutputConfiguration_(this);
  627. if (!soap_match_tag(this, this->tag, "trt:SetAudioDecoderConfiguration"))
  628. return serve___trt__SetAudioDecoderConfiguration_(this);
  629. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurationOptions"))
  630. return serve___trt__GetVideoSourceConfigurationOptions_(this);
  631. if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurationOptions"))
  632. return serve___trt__GetVideoEncoderConfigurationOptions_(this);
  633. if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurationOptions"))
  634. return serve___trt__GetAudioSourceConfigurationOptions_(this);
  635. if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurationOptions"))
  636. return serve___trt__GetAudioEncoderConfigurationOptions_(this);
  637. if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurationOptions"))
  638. return serve___trt__GetMetadataConfigurationOptions_(this);
  639. if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurationOptions"))
  640. return serve___trt__GetAudioOutputConfigurationOptions_(this);
  641. if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurationOptions"))
  642. return serve___trt__GetAudioDecoderConfigurationOptions_(this);
  643. if (!soap_match_tag(this, this->tag, "trt:GetGuaranteedNumberOfVideoEncoderInstances"))
  644. return serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(this);
  645. if (!soap_match_tag(this, this->tag, "trt:GetStreamUri"))
  646. return serve___trt__GetStreamUri_(this);
  647. if (!soap_match_tag(this, this->tag, "trt:StartMulticastStreaming"))
  648. return serve___trt__StartMulticastStreaming_(this);
  649. if (!soap_match_tag(this, this->tag, "trt:StopMulticastStreaming"))
  650. return serve___trt__StopMulticastStreaming_(this);
  651. if (!soap_match_tag(this, this->tag, "trt:SetSynchronizationPoint"))
  652. return serve___trt__SetSynchronizationPoint_(this);
  653. if (!soap_match_tag(this, this->tag, "trt:GetSnapshotUri"))
  654. return serve___trt__GetSnapshotUri_(this);
  655. if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceModes"))
  656. return serve___trt__GetVideoSourceModes_(this);
  657. if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceMode"))
  658. return serve___trt__SetVideoSourceMode_(this);
  659. if (!soap_match_tag(this, this->tag, "trt:GetOSDs"))
  660. return serve___trt__GetOSDs_(this);
  661. if (!soap_match_tag(this, this->tag, "trt:GetOSD"))
  662. return serve___trt__GetOSD_(this);
  663. if (!soap_match_tag(this, this->tag, "trt:GetOSDOptions"))
  664. return serve___trt__GetOSDOptions_(this);
  665. if (!soap_match_tag(this, this->tag, "trt:SetOSD"))
  666. return serve___trt__SetOSD_(this);
  667. if (!soap_match_tag(this, this->tag, "trt:CreateOSD"))
  668. return serve___trt__CreateOSD_(this);
  669. if (!soap_match_tag(this, this->tag, "trt:DeleteOSD"))
  670. return serve___trt__DeleteOSD_(this);
  671. return this->error = SOAP_NO_METHOD;
  672. }
  673. static int serve___trt__GetServiceCapabilities(MediaBindingService *soap)
  674. { struct __trt__GetServiceCapabilities soap_tmp___trt__GetServiceCapabilities;
  675. _trt__GetServiceCapabilitiesResponse trt__GetServiceCapabilitiesResponse;
  676. trt__GetServiceCapabilitiesResponse.soap_default(soap);
  677. soap_default___trt__GetServiceCapabilities(soap, &soap_tmp___trt__GetServiceCapabilities);
  678. if (!soap_get___trt__GetServiceCapabilities(soap, &soap_tmp___trt__GetServiceCapabilities, "-trt:GetServiceCapabilities", NULL))
  679. return soap->error;
  680. if (soap_body_end_in(soap)
  681. || soap_envelope_end_in(soap)
  682. || soap_end_recv(soap))
  683. return soap->error;
  684. soap->error = soap->GetServiceCapabilities(soap_tmp___trt__GetServiceCapabilities.trt__GetServiceCapabilities, &trt__GetServiceCapabilitiesResponse);
  685. if (soap->error)
  686. return soap->error;
  687. soap->encodingStyle = NULL;
  688. soap_serializeheader(soap);
  689. trt__GetServiceCapabilitiesResponse.soap_serialize(soap);
  690. if (soap_begin_count(soap))
  691. return soap->error;
  692. if (soap->mode & SOAP_IO_LENGTH)
  693. { if (soap_envelope_begin_out(soap)
  694. || soap_putheader(soap)
  695. || soap_body_begin_out(soap)
  696. || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt:GetServiceCapabilitiesResponse", "")
  697. || soap_body_end_out(soap)
  698. || soap_envelope_end_out(soap))
  699. return soap->error;
  700. };
  701. if (soap_end_count(soap)
  702. || soap_response(soap, SOAP_OK)
  703. || soap_envelope_begin_out(soap)
  704. || soap_putheader(soap)
  705. || soap_body_begin_out(soap)
  706. || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt:GetServiceCapabilitiesResponse", "")
  707. || soap_body_end_out(soap)
  708. || soap_envelope_end_out(soap)
  709. || soap_end_send(soap))
  710. return soap->error;
  711. return soap_closesock(soap);
  712. }
  713. static int serve___trt__GetVideoSources(MediaBindingService *soap)
  714. { struct __trt__GetVideoSources soap_tmp___trt__GetVideoSources;
  715. _trt__GetVideoSourcesResponse trt__GetVideoSourcesResponse;
  716. trt__GetVideoSourcesResponse.soap_default(soap);
  717. soap_default___trt__GetVideoSources(soap, &soap_tmp___trt__GetVideoSources);
  718. if (!soap_get___trt__GetVideoSources(soap, &soap_tmp___trt__GetVideoSources, "-trt:GetVideoSources", NULL))
  719. return soap->error;
  720. if (soap_body_end_in(soap)
  721. || soap_envelope_end_in(soap)
  722. || soap_end_recv(soap))
  723. return soap->error;
  724. soap->error = soap->GetVideoSources(soap_tmp___trt__GetVideoSources.trt__GetVideoSources, &trt__GetVideoSourcesResponse);
  725. if (soap->error)
  726. return soap->error;
  727. soap->encodingStyle = NULL;
  728. soap_serializeheader(soap);
  729. trt__GetVideoSourcesResponse.soap_serialize(soap);
  730. if (soap_begin_count(soap))
  731. return soap->error;
  732. if (soap->mode & SOAP_IO_LENGTH)
  733. { if (soap_envelope_begin_out(soap)
  734. || soap_putheader(soap)
  735. || soap_body_begin_out(soap)
  736. || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "")
  737. || soap_body_end_out(soap)
  738. || soap_envelope_end_out(soap))
  739. return soap->error;
  740. };
  741. if (soap_end_count(soap)
  742. || soap_response(soap, SOAP_OK)
  743. || soap_envelope_begin_out(soap)
  744. || soap_putheader(soap)
  745. || soap_body_begin_out(soap)
  746. || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "")
  747. || soap_body_end_out(soap)
  748. || soap_envelope_end_out(soap)
  749. || soap_end_send(soap))
  750. return soap->error;
  751. return soap_closesock(soap);
  752. }
  753. static int serve___trt__GetAudioSources(MediaBindingService *soap)
  754. { struct __trt__GetAudioSources soap_tmp___trt__GetAudioSources;
  755. _trt__GetAudioSourcesResponse trt__GetAudioSourcesResponse;
  756. trt__GetAudioSourcesResponse.soap_default(soap);
  757. soap_default___trt__GetAudioSources(soap, &soap_tmp___trt__GetAudioSources);
  758. if (!soap_get___trt__GetAudioSources(soap, &soap_tmp___trt__GetAudioSources, "-trt:GetAudioSources", NULL))
  759. return soap->error;
  760. if (soap_body_end_in(soap)
  761. || soap_envelope_end_in(soap)
  762. || soap_end_recv(soap))
  763. return soap->error;
  764. soap->error = soap->GetAudioSources(soap_tmp___trt__GetAudioSources.trt__GetAudioSources, &trt__GetAudioSourcesResponse);
  765. if (soap->error)
  766. return soap->error;
  767. soap->encodingStyle = NULL;
  768. soap_serializeheader(soap);
  769. trt__GetAudioSourcesResponse.soap_serialize(soap);
  770. if (soap_begin_count(soap))
  771. return soap->error;
  772. if (soap->mode & SOAP_IO_LENGTH)
  773. { if (soap_envelope_begin_out(soap)
  774. || soap_putheader(soap)
  775. || soap_body_begin_out(soap)
  776. || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "")
  777. || soap_body_end_out(soap)
  778. || soap_envelope_end_out(soap))
  779. return soap->error;
  780. };
  781. if (soap_end_count(soap)
  782. || soap_response(soap, SOAP_OK)
  783. || soap_envelope_begin_out(soap)
  784. || soap_putheader(soap)
  785. || soap_body_begin_out(soap)
  786. || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "")
  787. || soap_body_end_out(soap)
  788. || soap_envelope_end_out(soap)
  789. || soap_end_send(soap))
  790. return soap->error;
  791. return soap_closesock(soap);
  792. }
  793. static int serve___trt__GetAudioOutputs(MediaBindingService *soap)
  794. { struct __trt__GetAudioOutputs soap_tmp___trt__GetAudioOutputs;
  795. _trt__GetAudioOutputsResponse trt__GetAudioOutputsResponse;
  796. trt__GetAudioOutputsResponse.soap_default(soap);
  797. soap_default___trt__GetAudioOutputs(soap, &soap_tmp___trt__GetAudioOutputs);
  798. if (!soap_get___trt__GetAudioOutputs(soap, &soap_tmp___trt__GetAudioOutputs, "-trt:GetAudioOutputs", NULL))
  799. return soap->error;
  800. if (soap_body_end_in(soap)
  801. || soap_envelope_end_in(soap)
  802. || soap_end_recv(soap))
  803. return soap->error;
  804. soap->error = soap->GetAudioOutputs(soap_tmp___trt__GetAudioOutputs.trt__GetAudioOutputs, &trt__GetAudioOutputsResponse);
  805. if (soap->error)
  806. return soap->error;
  807. soap->encodingStyle = NULL;
  808. soap_serializeheader(soap);
  809. trt__GetAudioOutputsResponse.soap_serialize(soap);
  810. if (soap_begin_count(soap))
  811. return soap->error;
  812. if (soap->mode & SOAP_IO_LENGTH)
  813. { if (soap_envelope_begin_out(soap)
  814. || soap_putheader(soap)
  815. || soap_body_begin_out(soap)
  816. || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "")
  817. || soap_body_end_out(soap)
  818. || soap_envelope_end_out(soap))
  819. return soap->error;
  820. };
  821. if (soap_end_count(soap)
  822. || soap_response(soap, SOAP_OK)
  823. || soap_envelope_begin_out(soap)
  824. || soap_putheader(soap)
  825. || soap_body_begin_out(soap)
  826. || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "")
  827. || soap_body_end_out(soap)
  828. || soap_envelope_end_out(soap)
  829. || soap_end_send(soap))
  830. return soap->error;
  831. return soap_closesock(soap);
  832. }
  833. static int serve___trt__CreateProfile(MediaBindingService *soap)
  834. { struct __trt__CreateProfile soap_tmp___trt__CreateProfile;
  835. _trt__CreateProfileResponse trt__CreateProfileResponse;
  836. trt__CreateProfileResponse.soap_default(soap);
  837. soap_default___trt__CreateProfile(soap, &soap_tmp___trt__CreateProfile);
  838. if (!soap_get___trt__CreateProfile(soap, &soap_tmp___trt__CreateProfile, "-trt:CreateProfile", NULL))
  839. return soap->error;
  840. if (soap_body_end_in(soap)
  841. || soap_envelope_end_in(soap)
  842. || soap_end_recv(soap))
  843. return soap->error;
  844. soap->error = soap->CreateProfile(soap_tmp___trt__CreateProfile.trt__CreateProfile, &trt__CreateProfileResponse);
  845. if (soap->error)
  846. return soap->error;
  847. soap->encodingStyle = NULL;
  848. soap_serializeheader(soap);
  849. trt__CreateProfileResponse.soap_serialize(soap);
  850. if (soap_begin_count(soap))
  851. return soap->error;
  852. if (soap->mode & SOAP_IO_LENGTH)
  853. { if (soap_envelope_begin_out(soap)
  854. || soap_putheader(soap)
  855. || soap_body_begin_out(soap)
  856. || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "")
  857. || soap_body_end_out(soap)
  858. || soap_envelope_end_out(soap))
  859. return soap->error;
  860. };
  861. if (soap_end_count(soap)
  862. || soap_response(soap, SOAP_OK)
  863. || soap_envelope_begin_out(soap)
  864. || soap_putheader(soap)
  865. || soap_body_begin_out(soap)
  866. || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "")
  867. || soap_body_end_out(soap)
  868. || soap_envelope_end_out(soap)
  869. || soap_end_send(soap))
  870. return soap->error;
  871. return soap_closesock(soap);
  872. }
  873. static int serve___trt__GetProfile(MediaBindingService *soap)
  874. { struct __trt__GetProfile soap_tmp___trt__GetProfile;
  875. _trt__GetProfileResponse trt__GetProfileResponse;
  876. trt__GetProfileResponse.soap_default(soap);
  877. soap_default___trt__GetProfile(soap, &soap_tmp___trt__GetProfile);
  878. if (!soap_get___trt__GetProfile(soap, &soap_tmp___trt__GetProfile, "-trt:GetProfile", NULL))
  879. return soap->error;
  880. if (soap_body_end_in(soap)
  881. || soap_envelope_end_in(soap)
  882. || soap_end_recv(soap))
  883. return soap->error;
  884. soap->error = soap->GetProfile(soap_tmp___trt__GetProfile.trt__GetProfile, &trt__GetProfileResponse);
  885. if (soap->error)
  886. return soap->error;
  887. soap->encodingStyle = NULL;
  888. soap_serializeheader(soap);
  889. trt__GetProfileResponse.soap_serialize(soap);
  890. if (soap_begin_count(soap))
  891. return soap->error;
  892. if (soap->mode & SOAP_IO_LENGTH)
  893. { if (soap_envelope_begin_out(soap)
  894. || soap_putheader(soap)
  895. || soap_body_begin_out(soap)
  896. || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "")
  897. || soap_body_end_out(soap)
  898. || soap_envelope_end_out(soap))
  899. return soap->error;
  900. };
  901. if (soap_end_count(soap)
  902. || soap_response(soap, SOAP_OK)
  903. || soap_envelope_begin_out(soap)
  904. || soap_putheader(soap)
  905. || soap_body_begin_out(soap)
  906. || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "")
  907. || soap_body_end_out(soap)
  908. || soap_envelope_end_out(soap)
  909. || soap_end_send(soap))
  910. return soap->error;
  911. return soap_closesock(soap);
  912. }
  913. static int serve___trt__GetProfiles(MediaBindingService *soap)
  914. { struct __trt__GetProfiles soap_tmp___trt__GetProfiles;
  915. _trt__GetProfilesResponse trt__GetProfilesResponse;
  916. trt__GetProfilesResponse.soap_default(soap);
  917. soap_default___trt__GetProfiles(soap, &soap_tmp___trt__GetProfiles);
  918. if (!soap_get___trt__GetProfiles(soap, &soap_tmp___trt__GetProfiles, "-trt:GetProfiles", NULL))
  919. return soap->error;
  920. if (soap_body_end_in(soap)
  921. || soap_envelope_end_in(soap)
  922. || soap_end_recv(soap))
  923. return soap->error;
  924. soap->error = soap->GetProfiles(soap_tmp___trt__GetProfiles.trt__GetProfiles, &trt__GetProfilesResponse);
  925. if (soap->error)
  926. return soap->error;
  927. soap->encodingStyle = NULL;
  928. soap_serializeheader(soap);
  929. trt__GetProfilesResponse.soap_serialize(soap);
  930. if (soap_begin_count(soap))
  931. return soap->error;
  932. if (soap->mode & SOAP_IO_LENGTH)
  933. { if (soap_envelope_begin_out(soap)
  934. || soap_putheader(soap)
  935. || soap_body_begin_out(soap)
  936. || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "")
  937. || soap_body_end_out(soap)
  938. || soap_envelope_end_out(soap))
  939. return soap->error;
  940. };
  941. if (soap_end_count(soap)
  942. || soap_response(soap, SOAP_OK)
  943. || soap_envelope_begin_out(soap)
  944. || soap_putheader(soap)
  945. || soap_body_begin_out(soap)
  946. || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "")
  947. || soap_body_end_out(soap)
  948. || soap_envelope_end_out(soap)
  949. || soap_end_send(soap))
  950. return soap->error;
  951. return soap_closesock(soap);
  952. }
  953. static int serve___trt__AddVideoEncoderConfiguration(MediaBindingService *soap)
  954. { struct __trt__AddVideoEncoderConfiguration soap_tmp___trt__AddVideoEncoderConfiguration;
  955. _trt__AddVideoEncoderConfigurationResponse trt__AddVideoEncoderConfigurationResponse;
  956. trt__AddVideoEncoderConfigurationResponse.soap_default(soap);
  957. soap_default___trt__AddVideoEncoderConfiguration(soap, &soap_tmp___trt__AddVideoEncoderConfiguration);
  958. if (!soap_get___trt__AddVideoEncoderConfiguration(soap, &soap_tmp___trt__AddVideoEncoderConfiguration, "-trt:AddVideoEncoderConfiguration", NULL))
  959. return soap->error;
  960. if (soap_body_end_in(soap)
  961. || soap_envelope_end_in(soap)
  962. || soap_end_recv(soap))
  963. return soap->error;
  964. soap->error = soap->AddVideoEncoderConfiguration(soap_tmp___trt__AddVideoEncoderConfiguration.trt__AddVideoEncoderConfiguration, &trt__AddVideoEncoderConfigurationResponse);
  965. if (soap->error)
  966. return soap->error;
  967. soap->encodingStyle = NULL;
  968. soap_serializeheader(soap);
  969. trt__AddVideoEncoderConfigurationResponse.soap_serialize(soap);
  970. if (soap_begin_count(soap))
  971. return soap->error;
  972. if (soap->mode & SOAP_IO_LENGTH)
  973. { if (soap_envelope_begin_out(soap)
  974. || soap_putheader(soap)
  975. || soap_body_begin_out(soap)
  976. || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "")
  977. || soap_body_end_out(soap)
  978. || soap_envelope_end_out(soap))
  979. return soap->error;
  980. };
  981. if (soap_end_count(soap)
  982. || soap_response(soap, SOAP_OK)
  983. || soap_envelope_begin_out(soap)
  984. || soap_putheader(soap)
  985. || soap_body_begin_out(soap)
  986. || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "")
  987. || soap_body_end_out(soap)
  988. || soap_envelope_end_out(soap)
  989. || soap_end_send(soap))
  990. return soap->error;
  991. return soap_closesock(soap);
  992. }
  993. static int serve___trt__AddVideoSourceConfiguration(MediaBindingService *soap)
  994. { struct __trt__AddVideoSourceConfiguration soap_tmp___trt__AddVideoSourceConfiguration;
  995. _trt__AddVideoSourceConfigurationResponse trt__AddVideoSourceConfigurationResponse;
  996. trt__AddVideoSourceConfigurationResponse.soap_default(soap);
  997. soap_default___trt__AddVideoSourceConfiguration(soap, &soap_tmp___trt__AddVideoSourceConfiguration);
  998. if (!soap_get___trt__AddVideoSourceConfiguration(soap, &soap_tmp___trt__AddVideoSourceConfiguration, "-trt:AddVideoSourceConfiguration", NULL))
  999. return soap->error;
  1000. if (soap_body_end_in(soap)
  1001. || soap_envelope_end_in(soap)
  1002. || soap_end_recv(soap))
  1003. return soap->error;
  1004. soap->error = soap->AddVideoSourceConfiguration(soap_tmp___trt__AddVideoSourceConfiguration.trt__AddVideoSourceConfiguration, &trt__AddVideoSourceConfigurationResponse);
  1005. if (soap->error)
  1006. return soap->error;
  1007. soap->encodingStyle = NULL;
  1008. soap_serializeheader(soap);
  1009. trt__AddVideoSourceConfigurationResponse.soap_serialize(soap);
  1010. if (soap_begin_count(soap))
  1011. return soap->error;
  1012. if (soap->mode & SOAP_IO_LENGTH)
  1013. { if (soap_envelope_begin_out(soap)
  1014. || soap_putheader(soap)
  1015. || soap_body_begin_out(soap)
  1016. || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "")
  1017. || soap_body_end_out(soap)
  1018. || soap_envelope_end_out(soap))
  1019. return soap->error;
  1020. };
  1021. if (soap_end_count(soap)
  1022. || soap_response(soap, SOAP_OK)
  1023. || soap_envelope_begin_out(soap)
  1024. || soap_putheader(soap)
  1025. || soap_body_begin_out(soap)
  1026. || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "")
  1027. || soap_body_end_out(soap)
  1028. || soap_envelope_end_out(soap)
  1029. || soap_end_send(soap))
  1030. return soap->error;
  1031. return soap_closesock(soap);
  1032. }
  1033. static int serve___trt__AddAudioEncoderConfiguration(MediaBindingService *soap)
  1034. { struct __trt__AddAudioEncoderConfiguration soap_tmp___trt__AddAudioEncoderConfiguration;
  1035. _trt__AddAudioEncoderConfigurationResponse trt__AddAudioEncoderConfigurationResponse;
  1036. trt__AddAudioEncoderConfigurationResponse.soap_default(soap);
  1037. soap_default___trt__AddAudioEncoderConfiguration(soap, &soap_tmp___trt__AddAudioEncoderConfiguration);
  1038. if (!soap_get___trt__AddAudioEncoderConfiguration(soap, &soap_tmp___trt__AddAudioEncoderConfiguration, "-trt:AddAudioEncoderConfiguration", NULL))
  1039. return soap->error;
  1040. if (soap_body_end_in(soap)
  1041. || soap_envelope_end_in(soap)
  1042. || soap_end_recv(soap))
  1043. return soap->error;
  1044. soap->error = soap->AddAudioEncoderConfiguration(soap_tmp___trt__AddAudioEncoderConfiguration.trt__AddAudioEncoderConfiguration, &trt__AddAudioEncoderConfigurationResponse);
  1045. if (soap->error)
  1046. return soap->error;
  1047. soap->encodingStyle = NULL;
  1048. soap_serializeheader(soap);
  1049. trt__AddAudioEncoderConfigurationResponse.soap_serialize(soap);
  1050. if (soap_begin_count(soap))
  1051. return soap->error;
  1052. if (soap->mode & SOAP_IO_LENGTH)
  1053. { if (soap_envelope_begin_out(soap)
  1054. || soap_putheader(soap)
  1055. || soap_body_begin_out(soap)
  1056. || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "")
  1057. || soap_body_end_out(soap)
  1058. || soap_envelope_end_out(soap))
  1059. return soap->error;
  1060. };
  1061. if (soap_end_count(soap)
  1062. || soap_response(soap, SOAP_OK)
  1063. || soap_envelope_begin_out(soap)
  1064. || soap_putheader(soap)
  1065. || soap_body_begin_out(soap)
  1066. || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "")
  1067. || soap_body_end_out(soap)
  1068. || soap_envelope_end_out(soap)
  1069. || soap_end_send(soap))
  1070. return soap->error;
  1071. return soap_closesock(soap);
  1072. }
  1073. static int serve___trt__AddAudioSourceConfiguration(MediaBindingService *soap)
  1074. { struct __trt__AddAudioSourceConfiguration soap_tmp___trt__AddAudioSourceConfiguration;
  1075. _trt__AddAudioSourceConfigurationResponse trt__AddAudioSourceConfigurationResponse;
  1076. trt__AddAudioSourceConfigurationResponse.soap_default(soap);
  1077. soap_default___trt__AddAudioSourceConfiguration(soap, &soap_tmp___trt__AddAudioSourceConfiguration);
  1078. if (!soap_get___trt__AddAudioSourceConfiguration(soap, &soap_tmp___trt__AddAudioSourceConfiguration, "-trt:AddAudioSourceConfiguration", NULL))
  1079. return soap->error;
  1080. if (soap_body_end_in(soap)
  1081. || soap_envelope_end_in(soap)
  1082. || soap_end_recv(soap))
  1083. return soap->error;
  1084. soap->error = soap->AddAudioSourceConfiguration(soap_tmp___trt__AddAudioSourceConfiguration.trt__AddAudioSourceConfiguration, &trt__AddAudioSourceConfigurationResponse);
  1085. if (soap->error)
  1086. return soap->error;
  1087. soap->encodingStyle = NULL;
  1088. soap_serializeheader(soap);
  1089. trt__AddAudioSourceConfigurationResponse.soap_serialize(soap);
  1090. if (soap_begin_count(soap))
  1091. return soap->error;
  1092. if (soap->mode & SOAP_IO_LENGTH)
  1093. { if (soap_envelope_begin_out(soap)
  1094. || soap_putheader(soap)
  1095. || soap_body_begin_out(soap)
  1096. || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "")
  1097. || soap_body_end_out(soap)
  1098. || soap_envelope_end_out(soap))
  1099. return soap->error;
  1100. };
  1101. if (soap_end_count(soap)
  1102. || soap_response(soap, SOAP_OK)
  1103. || soap_envelope_begin_out(soap)
  1104. || soap_putheader(soap)
  1105. || soap_body_begin_out(soap)
  1106. || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "")
  1107. || soap_body_end_out(soap)
  1108. || soap_envelope_end_out(soap)
  1109. || soap_end_send(soap))
  1110. return soap->error;
  1111. return soap_closesock(soap);
  1112. }
  1113. static int serve___trt__AddPTZConfiguration(MediaBindingService *soap)
  1114. { struct __trt__AddPTZConfiguration soap_tmp___trt__AddPTZConfiguration;
  1115. _trt__AddPTZConfigurationResponse trt__AddPTZConfigurationResponse;
  1116. trt__AddPTZConfigurationResponse.soap_default(soap);
  1117. soap_default___trt__AddPTZConfiguration(soap, &soap_tmp___trt__AddPTZConfiguration);
  1118. if (!soap_get___trt__AddPTZConfiguration(soap, &soap_tmp___trt__AddPTZConfiguration, "-trt:AddPTZConfiguration", NULL))
  1119. return soap->error;
  1120. if (soap_body_end_in(soap)
  1121. || soap_envelope_end_in(soap)
  1122. || soap_end_recv(soap))
  1123. return soap->error;
  1124. soap->error = soap->AddPTZConfiguration(soap_tmp___trt__AddPTZConfiguration.trt__AddPTZConfiguration, &trt__AddPTZConfigurationResponse);
  1125. if (soap->error)
  1126. return soap->error;
  1127. soap->encodingStyle = NULL;
  1128. soap_serializeheader(soap);
  1129. trt__AddPTZConfigurationResponse.soap_serialize(soap);
  1130. if (soap_begin_count(soap))
  1131. return soap->error;
  1132. if (soap->mode & SOAP_IO_LENGTH)
  1133. { if (soap_envelope_begin_out(soap)
  1134. || soap_putheader(soap)
  1135. || soap_body_begin_out(soap)
  1136. || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "")
  1137. || soap_body_end_out(soap)
  1138. || soap_envelope_end_out(soap))
  1139. return soap->error;
  1140. };
  1141. if (soap_end_count(soap)
  1142. || soap_response(soap, SOAP_OK)
  1143. || soap_envelope_begin_out(soap)
  1144. || soap_putheader(soap)
  1145. || soap_body_begin_out(soap)
  1146. || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "")
  1147. || soap_body_end_out(soap)
  1148. || soap_envelope_end_out(soap)
  1149. || soap_end_send(soap))
  1150. return soap->error;
  1151. return soap_closesock(soap);
  1152. }
  1153. static int serve___trt__AddVideoAnalyticsConfiguration(MediaBindingService *soap)
  1154. { struct __trt__AddVideoAnalyticsConfiguration soap_tmp___trt__AddVideoAnalyticsConfiguration;
  1155. _trt__AddVideoAnalyticsConfigurationResponse trt__AddVideoAnalyticsConfigurationResponse;
  1156. trt__AddVideoAnalyticsConfigurationResponse.soap_default(soap);
  1157. soap_default___trt__AddVideoAnalyticsConfiguration(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration);
  1158. if (!soap_get___trt__AddVideoAnalyticsConfiguration(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration, "-trt:AddVideoAnalyticsConfiguration", NULL))
  1159. return soap->error;
  1160. if (soap_body_end_in(soap)
  1161. || soap_envelope_end_in(soap)
  1162. || soap_end_recv(soap))
  1163. return soap->error;
  1164. soap->error = soap->AddVideoAnalyticsConfiguration(soap_tmp___trt__AddVideoAnalyticsConfiguration.trt__AddVideoAnalyticsConfiguration, &trt__AddVideoAnalyticsConfigurationResponse);
  1165. if (soap->error)
  1166. return soap->error;
  1167. soap->encodingStyle = NULL;
  1168. soap_serializeheader(soap);
  1169. trt__AddVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  1170. if (soap_begin_count(soap))
  1171. return soap->error;
  1172. if (soap->mode & SOAP_IO_LENGTH)
  1173. { if (soap_envelope_begin_out(soap)
  1174. || soap_putheader(soap)
  1175. || soap_body_begin_out(soap)
  1176. || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "")
  1177. || soap_body_end_out(soap)
  1178. || soap_envelope_end_out(soap))
  1179. return soap->error;
  1180. };
  1181. if (soap_end_count(soap)
  1182. || soap_response(soap, SOAP_OK)
  1183. || soap_envelope_begin_out(soap)
  1184. || soap_putheader(soap)
  1185. || soap_body_begin_out(soap)
  1186. || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "")
  1187. || soap_body_end_out(soap)
  1188. || soap_envelope_end_out(soap)
  1189. || soap_end_send(soap))
  1190. return soap->error;
  1191. return soap_closesock(soap);
  1192. }
  1193. static int serve___trt__AddMetadataConfiguration(MediaBindingService *soap)
  1194. { struct __trt__AddMetadataConfiguration soap_tmp___trt__AddMetadataConfiguration;
  1195. _trt__AddMetadataConfigurationResponse trt__AddMetadataConfigurationResponse;
  1196. trt__AddMetadataConfigurationResponse.soap_default(soap);
  1197. soap_default___trt__AddMetadataConfiguration(soap, &soap_tmp___trt__AddMetadataConfiguration);
  1198. if (!soap_get___trt__AddMetadataConfiguration(soap, &soap_tmp___trt__AddMetadataConfiguration, "-trt:AddMetadataConfiguration", NULL))
  1199. return soap->error;
  1200. if (soap_body_end_in(soap)
  1201. || soap_envelope_end_in(soap)
  1202. || soap_end_recv(soap))
  1203. return soap->error;
  1204. soap->error = soap->AddMetadataConfiguration(soap_tmp___trt__AddMetadataConfiguration.trt__AddMetadataConfiguration, &trt__AddMetadataConfigurationResponse);
  1205. if (soap->error)
  1206. return soap->error;
  1207. soap->encodingStyle = NULL;
  1208. soap_serializeheader(soap);
  1209. trt__AddMetadataConfigurationResponse.soap_serialize(soap);
  1210. if (soap_begin_count(soap))
  1211. return soap->error;
  1212. if (soap->mode & SOAP_IO_LENGTH)
  1213. { if (soap_envelope_begin_out(soap)
  1214. || soap_putheader(soap)
  1215. || soap_body_begin_out(soap)
  1216. || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "")
  1217. || soap_body_end_out(soap)
  1218. || soap_envelope_end_out(soap))
  1219. return soap->error;
  1220. };
  1221. if (soap_end_count(soap)
  1222. || soap_response(soap, SOAP_OK)
  1223. || soap_envelope_begin_out(soap)
  1224. || soap_putheader(soap)
  1225. || soap_body_begin_out(soap)
  1226. || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "")
  1227. || soap_body_end_out(soap)
  1228. || soap_envelope_end_out(soap)
  1229. || soap_end_send(soap))
  1230. return soap->error;
  1231. return soap_closesock(soap);
  1232. }
  1233. static int serve___trt__AddAudioOutputConfiguration(MediaBindingService *soap)
  1234. { struct __trt__AddAudioOutputConfiguration soap_tmp___trt__AddAudioOutputConfiguration;
  1235. _trt__AddAudioOutputConfigurationResponse trt__AddAudioOutputConfigurationResponse;
  1236. trt__AddAudioOutputConfigurationResponse.soap_default(soap);
  1237. soap_default___trt__AddAudioOutputConfiguration(soap, &soap_tmp___trt__AddAudioOutputConfiguration);
  1238. if (!soap_get___trt__AddAudioOutputConfiguration(soap, &soap_tmp___trt__AddAudioOutputConfiguration, "-trt:AddAudioOutputConfiguration", NULL))
  1239. return soap->error;
  1240. if (soap_body_end_in(soap)
  1241. || soap_envelope_end_in(soap)
  1242. || soap_end_recv(soap))
  1243. return soap->error;
  1244. soap->error = soap->AddAudioOutputConfiguration(soap_tmp___trt__AddAudioOutputConfiguration.trt__AddAudioOutputConfiguration, &trt__AddAudioOutputConfigurationResponse);
  1245. if (soap->error)
  1246. return soap->error;
  1247. soap->encodingStyle = NULL;
  1248. soap_serializeheader(soap);
  1249. trt__AddAudioOutputConfigurationResponse.soap_serialize(soap);
  1250. if (soap_begin_count(soap))
  1251. return soap->error;
  1252. if (soap->mode & SOAP_IO_LENGTH)
  1253. { if (soap_envelope_begin_out(soap)
  1254. || soap_putheader(soap)
  1255. || soap_body_begin_out(soap)
  1256. || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "")
  1257. || soap_body_end_out(soap)
  1258. || soap_envelope_end_out(soap))
  1259. return soap->error;
  1260. };
  1261. if (soap_end_count(soap)
  1262. || soap_response(soap, SOAP_OK)
  1263. || soap_envelope_begin_out(soap)
  1264. || soap_putheader(soap)
  1265. || soap_body_begin_out(soap)
  1266. || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "")
  1267. || soap_body_end_out(soap)
  1268. || soap_envelope_end_out(soap)
  1269. || soap_end_send(soap))
  1270. return soap->error;
  1271. return soap_closesock(soap);
  1272. }
  1273. static int serve___trt__AddAudioDecoderConfiguration(MediaBindingService *soap)
  1274. { struct __trt__AddAudioDecoderConfiguration soap_tmp___trt__AddAudioDecoderConfiguration;
  1275. _trt__AddAudioDecoderConfigurationResponse trt__AddAudioDecoderConfigurationResponse;
  1276. trt__AddAudioDecoderConfigurationResponse.soap_default(soap);
  1277. soap_default___trt__AddAudioDecoderConfiguration(soap, &soap_tmp___trt__AddAudioDecoderConfiguration);
  1278. if (!soap_get___trt__AddAudioDecoderConfiguration(soap, &soap_tmp___trt__AddAudioDecoderConfiguration, "-trt:AddAudioDecoderConfiguration", NULL))
  1279. return soap->error;
  1280. if (soap_body_end_in(soap)
  1281. || soap_envelope_end_in(soap)
  1282. || soap_end_recv(soap))
  1283. return soap->error;
  1284. soap->error = soap->AddAudioDecoderConfiguration(soap_tmp___trt__AddAudioDecoderConfiguration.trt__AddAudioDecoderConfiguration, &trt__AddAudioDecoderConfigurationResponse);
  1285. if (soap->error)
  1286. return soap->error;
  1287. soap->encodingStyle = NULL;
  1288. soap_serializeheader(soap);
  1289. trt__AddAudioDecoderConfigurationResponse.soap_serialize(soap);
  1290. if (soap_begin_count(soap))
  1291. return soap->error;
  1292. if (soap->mode & SOAP_IO_LENGTH)
  1293. { if (soap_envelope_begin_out(soap)
  1294. || soap_putheader(soap)
  1295. || soap_body_begin_out(soap)
  1296. || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "")
  1297. || soap_body_end_out(soap)
  1298. || soap_envelope_end_out(soap))
  1299. return soap->error;
  1300. };
  1301. if (soap_end_count(soap)
  1302. || soap_response(soap, SOAP_OK)
  1303. || soap_envelope_begin_out(soap)
  1304. || soap_putheader(soap)
  1305. || soap_body_begin_out(soap)
  1306. || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "")
  1307. || soap_body_end_out(soap)
  1308. || soap_envelope_end_out(soap)
  1309. || soap_end_send(soap))
  1310. return soap->error;
  1311. return soap_closesock(soap);
  1312. }
  1313. static int serve___trt__RemoveVideoEncoderConfiguration(MediaBindingService *soap)
  1314. { struct __trt__RemoveVideoEncoderConfiguration soap_tmp___trt__RemoveVideoEncoderConfiguration;
  1315. _trt__RemoveVideoEncoderConfigurationResponse trt__RemoveVideoEncoderConfigurationResponse;
  1316. trt__RemoveVideoEncoderConfigurationResponse.soap_default(soap);
  1317. soap_default___trt__RemoveVideoEncoderConfiguration(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration);
  1318. if (!soap_get___trt__RemoveVideoEncoderConfiguration(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration, "-trt:RemoveVideoEncoderConfiguration", NULL))
  1319. return soap->error;
  1320. if (soap_body_end_in(soap)
  1321. || soap_envelope_end_in(soap)
  1322. || soap_end_recv(soap))
  1323. return soap->error;
  1324. soap->error = soap->RemoveVideoEncoderConfiguration(soap_tmp___trt__RemoveVideoEncoderConfiguration.trt__RemoveVideoEncoderConfiguration, &trt__RemoveVideoEncoderConfigurationResponse);
  1325. if (soap->error)
  1326. return soap->error;
  1327. soap->encodingStyle = NULL;
  1328. soap_serializeheader(soap);
  1329. trt__RemoveVideoEncoderConfigurationResponse.soap_serialize(soap);
  1330. if (soap_begin_count(soap))
  1331. return soap->error;
  1332. if (soap->mode & SOAP_IO_LENGTH)
  1333. { if (soap_envelope_begin_out(soap)
  1334. || soap_putheader(soap)
  1335. || soap_body_begin_out(soap)
  1336. || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "")
  1337. || soap_body_end_out(soap)
  1338. || soap_envelope_end_out(soap))
  1339. return soap->error;
  1340. };
  1341. if (soap_end_count(soap)
  1342. || soap_response(soap, SOAP_OK)
  1343. || soap_envelope_begin_out(soap)
  1344. || soap_putheader(soap)
  1345. || soap_body_begin_out(soap)
  1346. || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "")
  1347. || soap_body_end_out(soap)
  1348. || soap_envelope_end_out(soap)
  1349. || soap_end_send(soap))
  1350. return soap->error;
  1351. return soap_closesock(soap);
  1352. }
  1353. static int serve___trt__RemoveVideoSourceConfiguration(MediaBindingService *soap)
  1354. { struct __trt__RemoveVideoSourceConfiguration soap_tmp___trt__RemoveVideoSourceConfiguration;
  1355. _trt__RemoveVideoSourceConfigurationResponse trt__RemoveVideoSourceConfigurationResponse;
  1356. trt__RemoveVideoSourceConfigurationResponse.soap_default(soap);
  1357. soap_default___trt__RemoveVideoSourceConfiguration(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration);
  1358. if (!soap_get___trt__RemoveVideoSourceConfiguration(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration, "-trt:RemoveVideoSourceConfiguration", NULL))
  1359. return soap->error;
  1360. if (soap_body_end_in(soap)
  1361. || soap_envelope_end_in(soap)
  1362. || soap_end_recv(soap))
  1363. return soap->error;
  1364. soap->error = soap->RemoveVideoSourceConfiguration(soap_tmp___trt__RemoveVideoSourceConfiguration.trt__RemoveVideoSourceConfiguration, &trt__RemoveVideoSourceConfigurationResponse);
  1365. if (soap->error)
  1366. return soap->error;
  1367. soap->encodingStyle = NULL;
  1368. soap_serializeheader(soap);
  1369. trt__RemoveVideoSourceConfigurationResponse.soap_serialize(soap);
  1370. if (soap_begin_count(soap))
  1371. return soap->error;
  1372. if (soap->mode & SOAP_IO_LENGTH)
  1373. { if (soap_envelope_begin_out(soap)
  1374. || soap_putheader(soap)
  1375. || soap_body_begin_out(soap)
  1376. || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "")
  1377. || soap_body_end_out(soap)
  1378. || soap_envelope_end_out(soap))
  1379. return soap->error;
  1380. };
  1381. if (soap_end_count(soap)
  1382. || soap_response(soap, SOAP_OK)
  1383. || soap_envelope_begin_out(soap)
  1384. || soap_putheader(soap)
  1385. || soap_body_begin_out(soap)
  1386. || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "")
  1387. || soap_body_end_out(soap)
  1388. || soap_envelope_end_out(soap)
  1389. || soap_end_send(soap))
  1390. return soap->error;
  1391. return soap_closesock(soap);
  1392. }
  1393. static int serve___trt__RemoveAudioEncoderConfiguration(MediaBindingService *soap)
  1394. { struct __trt__RemoveAudioEncoderConfiguration soap_tmp___trt__RemoveAudioEncoderConfiguration;
  1395. _trt__RemoveAudioEncoderConfigurationResponse trt__RemoveAudioEncoderConfigurationResponse;
  1396. trt__RemoveAudioEncoderConfigurationResponse.soap_default(soap);
  1397. soap_default___trt__RemoveAudioEncoderConfiguration(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration);
  1398. if (!soap_get___trt__RemoveAudioEncoderConfiguration(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration, "-trt:RemoveAudioEncoderConfiguration", NULL))
  1399. return soap->error;
  1400. if (soap_body_end_in(soap)
  1401. || soap_envelope_end_in(soap)
  1402. || soap_end_recv(soap))
  1403. return soap->error;
  1404. soap->error = soap->RemoveAudioEncoderConfiguration(soap_tmp___trt__RemoveAudioEncoderConfiguration.trt__RemoveAudioEncoderConfiguration, &trt__RemoveAudioEncoderConfigurationResponse);
  1405. if (soap->error)
  1406. return soap->error;
  1407. soap->encodingStyle = NULL;
  1408. soap_serializeheader(soap);
  1409. trt__RemoveAudioEncoderConfigurationResponse.soap_serialize(soap);
  1410. if (soap_begin_count(soap))
  1411. return soap->error;
  1412. if (soap->mode & SOAP_IO_LENGTH)
  1413. { if (soap_envelope_begin_out(soap)
  1414. || soap_putheader(soap)
  1415. || soap_body_begin_out(soap)
  1416. || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "")
  1417. || soap_body_end_out(soap)
  1418. || soap_envelope_end_out(soap))
  1419. return soap->error;
  1420. };
  1421. if (soap_end_count(soap)
  1422. || soap_response(soap, SOAP_OK)
  1423. || soap_envelope_begin_out(soap)
  1424. || soap_putheader(soap)
  1425. || soap_body_begin_out(soap)
  1426. || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "")
  1427. || soap_body_end_out(soap)
  1428. || soap_envelope_end_out(soap)
  1429. || soap_end_send(soap))
  1430. return soap->error;
  1431. return soap_closesock(soap);
  1432. }
  1433. static int serve___trt__RemoveAudioSourceConfiguration(MediaBindingService *soap)
  1434. { struct __trt__RemoveAudioSourceConfiguration soap_tmp___trt__RemoveAudioSourceConfiguration;
  1435. _trt__RemoveAudioSourceConfigurationResponse trt__RemoveAudioSourceConfigurationResponse;
  1436. trt__RemoveAudioSourceConfigurationResponse.soap_default(soap);
  1437. soap_default___trt__RemoveAudioSourceConfiguration(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration);
  1438. if (!soap_get___trt__RemoveAudioSourceConfiguration(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration, "-trt:RemoveAudioSourceConfiguration", NULL))
  1439. return soap->error;
  1440. if (soap_body_end_in(soap)
  1441. || soap_envelope_end_in(soap)
  1442. || soap_end_recv(soap))
  1443. return soap->error;
  1444. soap->error = soap->RemoveAudioSourceConfiguration(soap_tmp___trt__RemoveAudioSourceConfiguration.trt__RemoveAudioSourceConfiguration, &trt__RemoveAudioSourceConfigurationResponse);
  1445. if (soap->error)
  1446. return soap->error;
  1447. soap->encodingStyle = NULL;
  1448. soap_serializeheader(soap);
  1449. trt__RemoveAudioSourceConfigurationResponse.soap_serialize(soap);
  1450. if (soap_begin_count(soap))
  1451. return soap->error;
  1452. if (soap->mode & SOAP_IO_LENGTH)
  1453. { if (soap_envelope_begin_out(soap)
  1454. || soap_putheader(soap)
  1455. || soap_body_begin_out(soap)
  1456. || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "")
  1457. || soap_body_end_out(soap)
  1458. || soap_envelope_end_out(soap))
  1459. return soap->error;
  1460. };
  1461. if (soap_end_count(soap)
  1462. || soap_response(soap, SOAP_OK)
  1463. || soap_envelope_begin_out(soap)
  1464. || soap_putheader(soap)
  1465. || soap_body_begin_out(soap)
  1466. || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "")
  1467. || soap_body_end_out(soap)
  1468. || soap_envelope_end_out(soap)
  1469. || soap_end_send(soap))
  1470. return soap->error;
  1471. return soap_closesock(soap);
  1472. }
  1473. static int serve___trt__RemovePTZConfiguration(MediaBindingService *soap)
  1474. { struct __trt__RemovePTZConfiguration soap_tmp___trt__RemovePTZConfiguration;
  1475. _trt__RemovePTZConfigurationResponse trt__RemovePTZConfigurationResponse;
  1476. trt__RemovePTZConfigurationResponse.soap_default(soap);
  1477. soap_default___trt__RemovePTZConfiguration(soap, &soap_tmp___trt__RemovePTZConfiguration);
  1478. if (!soap_get___trt__RemovePTZConfiguration(soap, &soap_tmp___trt__RemovePTZConfiguration, "-trt:RemovePTZConfiguration", NULL))
  1479. return soap->error;
  1480. if (soap_body_end_in(soap)
  1481. || soap_envelope_end_in(soap)
  1482. || soap_end_recv(soap))
  1483. return soap->error;
  1484. soap->error = soap->RemovePTZConfiguration(soap_tmp___trt__RemovePTZConfiguration.trt__RemovePTZConfiguration, &trt__RemovePTZConfigurationResponse);
  1485. if (soap->error)
  1486. return soap->error;
  1487. soap->encodingStyle = NULL;
  1488. soap_serializeheader(soap);
  1489. trt__RemovePTZConfigurationResponse.soap_serialize(soap);
  1490. if (soap_begin_count(soap))
  1491. return soap->error;
  1492. if (soap->mode & SOAP_IO_LENGTH)
  1493. { if (soap_envelope_begin_out(soap)
  1494. || soap_putheader(soap)
  1495. || soap_body_begin_out(soap)
  1496. || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "")
  1497. || soap_body_end_out(soap)
  1498. || soap_envelope_end_out(soap))
  1499. return soap->error;
  1500. };
  1501. if (soap_end_count(soap)
  1502. || soap_response(soap, SOAP_OK)
  1503. || soap_envelope_begin_out(soap)
  1504. || soap_putheader(soap)
  1505. || soap_body_begin_out(soap)
  1506. || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "")
  1507. || soap_body_end_out(soap)
  1508. || soap_envelope_end_out(soap)
  1509. || soap_end_send(soap))
  1510. return soap->error;
  1511. return soap_closesock(soap);
  1512. }
  1513. static int serve___trt__RemoveVideoAnalyticsConfiguration(MediaBindingService *soap)
  1514. { struct __trt__RemoveVideoAnalyticsConfiguration soap_tmp___trt__RemoveVideoAnalyticsConfiguration;
  1515. _trt__RemoveVideoAnalyticsConfigurationResponse trt__RemoveVideoAnalyticsConfigurationResponse;
  1516. trt__RemoveVideoAnalyticsConfigurationResponse.soap_default(soap);
  1517. soap_default___trt__RemoveVideoAnalyticsConfiguration(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration);
  1518. if (!soap_get___trt__RemoveVideoAnalyticsConfiguration(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration, "-trt:RemoveVideoAnalyticsConfiguration", NULL))
  1519. return soap->error;
  1520. if (soap_body_end_in(soap)
  1521. || soap_envelope_end_in(soap)
  1522. || soap_end_recv(soap))
  1523. return soap->error;
  1524. soap->error = soap->RemoveVideoAnalyticsConfiguration(soap_tmp___trt__RemoveVideoAnalyticsConfiguration.trt__RemoveVideoAnalyticsConfiguration, &trt__RemoveVideoAnalyticsConfigurationResponse);
  1525. if (soap->error)
  1526. return soap->error;
  1527. soap->encodingStyle = NULL;
  1528. soap_serializeheader(soap);
  1529. trt__RemoveVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  1530. if (soap_begin_count(soap))
  1531. return soap->error;
  1532. if (soap->mode & SOAP_IO_LENGTH)
  1533. { if (soap_envelope_begin_out(soap)
  1534. || soap_putheader(soap)
  1535. || soap_body_begin_out(soap)
  1536. || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "")
  1537. || soap_body_end_out(soap)
  1538. || soap_envelope_end_out(soap))
  1539. return soap->error;
  1540. };
  1541. if (soap_end_count(soap)
  1542. || soap_response(soap, SOAP_OK)
  1543. || soap_envelope_begin_out(soap)
  1544. || soap_putheader(soap)
  1545. || soap_body_begin_out(soap)
  1546. || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "")
  1547. || soap_body_end_out(soap)
  1548. || soap_envelope_end_out(soap)
  1549. || soap_end_send(soap))
  1550. return soap->error;
  1551. return soap_closesock(soap);
  1552. }
  1553. static int serve___trt__RemoveMetadataConfiguration(MediaBindingService *soap)
  1554. { struct __trt__RemoveMetadataConfiguration soap_tmp___trt__RemoveMetadataConfiguration;
  1555. _trt__RemoveMetadataConfigurationResponse trt__RemoveMetadataConfigurationResponse;
  1556. trt__RemoveMetadataConfigurationResponse.soap_default(soap);
  1557. soap_default___trt__RemoveMetadataConfiguration(soap, &soap_tmp___trt__RemoveMetadataConfiguration);
  1558. if (!soap_get___trt__RemoveMetadataConfiguration(soap, &soap_tmp___trt__RemoveMetadataConfiguration, "-trt:RemoveMetadataConfiguration", NULL))
  1559. return soap->error;
  1560. if (soap_body_end_in(soap)
  1561. || soap_envelope_end_in(soap)
  1562. || soap_end_recv(soap))
  1563. return soap->error;
  1564. soap->error = soap->RemoveMetadataConfiguration(soap_tmp___trt__RemoveMetadataConfiguration.trt__RemoveMetadataConfiguration, &trt__RemoveMetadataConfigurationResponse);
  1565. if (soap->error)
  1566. return soap->error;
  1567. soap->encodingStyle = NULL;
  1568. soap_serializeheader(soap);
  1569. trt__RemoveMetadataConfigurationResponse.soap_serialize(soap);
  1570. if (soap_begin_count(soap))
  1571. return soap->error;
  1572. if (soap->mode & SOAP_IO_LENGTH)
  1573. { if (soap_envelope_begin_out(soap)
  1574. || soap_putheader(soap)
  1575. || soap_body_begin_out(soap)
  1576. || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "")
  1577. || soap_body_end_out(soap)
  1578. || soap_envelope_end_out(soap))
  1579. return soap->error;
  1580. };
  1581. if (soap_end_count(soap)
  1582. || soap_response(soap, SOAP_OK)
  1583. || soap_envelope_begin_out(soap)
  1584. || soap_putheader(soap)
  1585. || soap_body_begin_out(soap)
  1586. || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "")
  1587. || soap_body_end_out(soap)
  1588. || soap_envelope_end_out(soap)
  1589. || soap_end_send(soap))
  1590. return soap->error;
  1591. return soap_closesock(soap);
  1592. }
  1593. static int serve___trt__RemoveAudioOutputConfiguration(MediaBindingService *soap)
  1594. { struct __trt__RemoveAudioOutputConfiguration soap_tmp___trt__RemoveAudioOutputConfiguration;
  1595. _trt__RemoveAudioOutputConfigurationResponse trt__RemoveAudioOutputConfigurationResponse;
  1596. trt__RemoveAudioOutputConfigurationResponse.soap_default(soap);
  1597. soap_default___trt__RemoveAudioOutputConfiguration(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration);
  1598. if (!soap_get___trt__RemoveAudioOutputConfiguration(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration, "-trt:RemoveAudioOutputConfiguration", NULL))
  1599. return soap->error;
  1600. if (soap_body_end_in(soap)
  1601. || soap_envelope_end_in(soap)
  1602. || soap_end_recv(soap))
  1603. return soap->error;
  1604. soap->error = soap->RemoveAudioOutputConfiguration(soap_tmp___trt__RemoveAudioOutputConfiguration.trt__RemoveAudioOutputConfiguration, &trt__RemoveAudioOutputConfigurationResponse);
  1605. if (soap->error)
  1606. return soap->error;
  1607. soap->encodingStyle = NULL;
  1608. soap_serializeheader(soap);
  1609. trt__RemoveAudioOutputConfigurationResponse.soap_serialize(soap);
  1610. if (soap_begin_count(soap))
  1611. return soap->error;
  1612. if (soap->mode & SOAP_IO_LENGTH)
  1613. { if (soap_envelope_begin_out(soap)
  1614. || soap_putheader(soap)
  1615. || soap_body_begin_out(soap)
  1616. || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "")
  1617. || soap_body_end_out(soap)
  1618. || soap_envelope_end_out(soap))
  1619. return soap->error;
  1620. };
  1621. if (soap_end_count(soap)
  1622. || soap_response(soap, SOAP_OK)
  1623. || soap_envelope_begin_out(soap)
  1624. || soap_putheader(soap)
  1625. || soap_body_begin_out(soap)
  1626. || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "")
  1627. || soap_body_end_out(soap)
  1628. || soap_envelope_end_out(soap)
  1629. || soap_end_send(soap))
  1630. return soap->error;
  1631. return soap_closesock(soap);
  1632. }
  1633. static int serve___trt__RemoveAudioDecoderConfiguration(MediaBindingService *soap)
  1634. { struct __trt__RemoveAudioDecoderConfiguration soap_tmp___trt__RemoveAudioDecoderConfiguration;
  1635. _trt__RemoveAudioDecoderConfigurationResponse trt__RemoveAudioDecoderConfigurationResponse;
  1636. trt__RemoveAudioDecoderConfigurationResponse.soap_default(soap);
  1637. soap_default___trt__RemoveAudioDecoderConfiguration(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration);
  1638. if (!soap_get___trt__RemoveAudioDecoderConfiguration(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration, "-trt:RemoveAudioDecoderConfiguration", NULL))
  1639. return soap->error;
  1640. if (soap_body_end_in(soap)
  1641. || soap_envelope_end_in(soap)
  1642. || soap_end_recv(soap))
  1643. return soap->error;
  1644. soap->error = soap->RemoveAudioDecoderConfiguration(soap_tmp___trt__RemoveAudioDecoderConfiguration.trt__RemoveAudioDecoderConfiguration, &trt__RemoveAudioDecoderConfigurationResponse);
  1645. if (soap->error)
  1646. return soap->error;
  1647. soap->encodingStyle = NULL;
  1648. soap_serializeheader(soap);
  1649. trt__RemoveAudioDecoderConfigurationResponse.soap_serialize(soap);
  1650. if (soap_begin_count(soap))
  1651. return soap->error;
  1652. if (soap->mode & SOAP_IO_LENGTH)
  1653. { if (soap_envelope_begin_out(soap)
  1654. || soap_putheader(soap)
  1655. || soap_body_begin_out(soap)
  1656. || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "")
  1657. || soap_body_end_out(soap)
  1658. || soap_envelope_end_out(soap))
  1659. return soap->error;
  1660. };
  1661. if (soap_end_count(soap)
  1662. || soap_response(soap, SOAP_OK)
  1663. || soap_envelope_begin_out(soap)
  1664. || soap_putheader(soap)
  1665. || soap_body_begin_out(soap)
  1666. || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "")
  1667. || soap_body_end_out(soap)
  1668. || soap_envelope_end_out(soap)
  1669. || soap_end_send(soap))
  1670. return soap->error;
  1671. return soap_closesock(soap);
  1672. }
  1673. static int serve___trt__DeleteProfile(MediaBindingService *soap)
  1674. { struct __trt__DeleteProfile soap_tmp___trt__DeleteProfile;
  1675. _trt__DeleteProfileResponse trt__DeleteProfileResponse;
  1676. trt__DeleteProfileResponse.soap_default(soap);
  1677. soap_default___trt__DeleteProfile(soap, &soap_tmp___trt__DeleteProfile);
  1678. if (!soap_get___trt__DeleteProfile(soap, &soap_tmp___trt__DeleteProfile, "-trt:DeleteProfile", NULL))
  1679. return soap->error;
  1680. if (soap_body_end_in(soap)
  1681. || soap_envelope_end_in(soap)
  1682. || soap_end_recv(soap))
  1683. return soap->error;
  1684. soap->error = soap->DeleteProfile(soap_tmp___trt__DeleteProfile.trt__DeleteProfile, &trt__DeleteProfileResponse);
  1685. if (soap->error)
  1686. return soap->error;
  1687. soap->encodingStyle = NULL;
  1688. soap_serializeheader(soap);
  1689. trt__DeleteProfileResponse.soap_serialize(soap);
  1690. if (soap_begin_count(soap))
  1691. return soap->error;
  1692. if (soap->mode & SOAP_IO_LENGTH)
  1693. { if (soap_envelope_begin_out(soap)
  1694. || soap_putheader(soap)
  1695. || soap_body_begin_out(soap)
  1696. || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "")
  1697. || soap_body_end_out(soap)
  1698. || soap_envelope_end_out(soap))
  1699. return soap->error;
  1700. };
  1701. if (soap_end_count(soap)
  1702. || soap_response(soap, SOAP_OK)
  1703. || soap_envelope_begin_out(soap)
  1704. || soap_putheader(soap)
  1705. || soap_body_begin_out(soap)
  1706. || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "")
  1707. || soap_body_end_out(soap)
  1708. || soap_envelope_end_out(soap)
  1709. || soap_end_send(soap))
  1710. return soap->error;
  1711. return soap_closesock(soap);
  1712. }
  1713. static int serve___trt__GetVideoSourceConfigurations(MediaBindingService *soap)
  1714. { struct __trt__GetVideoSourceConfigurations soap_tmp___trt__GetVideoSourceConfigurations;
  1715. _trt__GetVideoSourceConfigurationsResponse trt__GetVideoSourceConfigurationsResponse;
  1716. trt__GetVideoSourceConfigurationsResponse.soap_default(soap);
  1717. soap_default___trt__GetVideoSourceConfigurations(soap, &soap_tmp___trt__GetVideoSourceConfigurations);
  1718. if (!soap_get___trt__GetVideoSourceConfigurations(soap, &soap_tmp___trt__GetVideoSourceConfigurations, "-trt:GetVideoSourceConfigurations", NULL))
  1719. return soap->error;
  1720. if (soap_body_end_in(soap)
  1721. || soap_envelope_end_in(soap)
  1722. || soap_end_recv(soap))
  1723. return soap->error;
  1724. soap->error = soap->GetVideoSourceConfigurations(soap_tmp___trt__GetVideoSourceConfigurations.trt__GetVideoSourceConfigurations, &trt__GetVideoSourceConfigurationsResponse);
  1725. if (soap->error)
  1726. return soap->error;
  1727. soap->encodingStyle = NULL;
  1728. soap_serializeheader(soap);
  1729. trt__GetVideoSourceConfigurationsResponse.soap_serialize(soap);
  1730. if (soap_begin_count(soap))
  1731. return soap->error;
  1732. if (soap->mode & SOAP_IO_LENGTH)
  1733. { if (soap_envelope_begin_out(soap)
  1734. || soap_putheader(soap)
  1735. || soap_body_begin_out(soap)
  1736. || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "")
  1737. || soap_body_end_out(soap)
  1738. || soap_envelope_end_out(soap))
  1739. return soap->error;
  1740. };
  1741. if (soap_end_count(soap)
  1742. || soap_response(soap, SOAP_OK)
  1743. || soap_envelope_begin_out(soap)
  1744. || soap_putheader(soap)
  1745. || soap_body_begin_out(soap)
  1746. || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "")
  1747. || soap_body_end_out(soap)
  1748. || soap_envelope_end_out(soap)
  1749. || soap_end_send(soap))
  1750. return soap->error;
  1751. return soap_closesock(soap);
  1752. }
  1753. static int serve___trt__GetVideoEncoderConfigurations(MediaBindingService *soap)
  1754. { struct __trt__GetVideoEncoderConfigurations soap_tmp___trt__GetVideoEncoderConfigurations;
  1755. _trt__GetVideoEncoderConfigurationsResponse trt__GetVideoEncoderConfigurationsResponse;
  1756. trt__GetVideoEncoderConfigurationsResponse.soap_default(soap);
  1757. soap_default___trt__GetVideoEncoderConfigurations(soap, &soap_tmp___trt__GetVideoEncoderConfigurations);
  1758. if (!soap_get___trt__GetVideoEncoderConfigurations(soap, &soap_tmp___trt__GetVideoEncoderConfigurations, "-trt:GetVideoEncoderConfigurations", NULL))
  1759. return soap->error;
  1760. if (soap_body_end_in(soap)
  1761. || soap_envelope_end_in(soap)
  1762. || soap_end_recv(soap))
  1763. return soap->error;
  1764. soap->error = soap->GetVideoEncoderConfigurations(soap_tmp___trt__GetVideoEncoderConfigurations.trt__GetVideoEncoderConfigurations, &trt__GetVideoEncoderConfigurationsResponse);
  1765. if (soap->error)
  1766. return soap->error;
  1767. soap->encodingStyle = NULL;
  1768. soap_serializeheader(soap);
  1769. trt__GetVideoEncoderConfigurationsResponse.soap_serialize(soap);
  1770. if (soap_begin_count(soap))
  1771. return soap->error;
  1772. if (soap->mode & SOAP_IO_LENGTH)
  1773. { if (soap_envelope_begin_out(soap)
  1774. || soap_putheader(soap)
  1775. || soap_body_begin_out(soap)
  1776. || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "")
  1777. || soap_body_end_out(soap)
  1778. || soap_envelope_end_out(soap))
  1779. return soap->error;
  1780. };
  1781. if (soap_end_count(soap)
  1782. || soap_response(soap, SOAP_OK)
  1783. || soap_envelope_begin_out(soap)
  1784. || soap_putheader(soap)
  1785. || soap_body_begin_out(soap)
  1786. || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "")
  1787. || soap_body_end_out(soap)
  1788. || soap_envelope_end_out(soap)
  1789. || soap_end_send(soap))
  1790. return soap->error;
  1791. return soap_closesock(soap);
  1792. }
  1793. static int serve___trt__GetAudioSourceConfigurations(MediaBindingService *soap)
  1794. { struct __trt__GetAudioSourceConfigurations soap_tmp___trt__GetAudioSourceConfigurations;
  1795. _trt__GetAudioSourceConfigurationsResponse trt__GetAudioSourceConfigurationsResponse;
  1796. trt__GetAudioSourceConfigurationsResponse.soap_default(soap);
  1797. soap_default___trt__GetAudioSourceConfigurations(soap, &soap_tmp___trt__GetAudioSourceConfigurations);
  1798. if (!soap_get___trt__GetAudioSourceConfigurations(soap, &soap_tmp___trt__GetAudioSourceConfigurations, "-trt:GetAudioSourceConfigurations", NULL))
  1799. return soap->error;
  1800. if (soap_body_end_in(soap)
  1801. || soap_envelope_end_in(soap)
  1802. || soap_end_recv(soap))
  1803. return soap->error;
  1804. soap->error = soap->GetAudioSourceConfigurations(soap_tmp___trt__GetAudioSourceConfigurations.trt__GetAudioSourceConfigurations, &trt__GetAudioSourceConfigurationsResponse);
  1805. if (soap->error)
  1806. return soap->error;
  1807. soap->encodingStyle = NULL;
  1808. soap_serializeheader(soap);
  1809. trt__GetAudioSourceConfigurationsResponse.soap_serialize(soap);
  1810. if (soap_begin_count(soap))
  1811. return soap->error;
  1812. if (soap->mode & SOAP_IO_LENGTH)
  1813. { if (soap_envelope_begin_out(soap)
  1814. || soap_putheader(soap)
  1815. || soap_body_begin_out(soap)
  1816. || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "")
  1817. || soap_body_end_out(soap)
  1818. || soap_envelope_end_out(soap))
  1819. return soap->error;
  1820. };
  1821. if (soap_end_count(soap)
  1822. || soap_response(soap, SOAP_OK)
  1823. || soap_envelope_begin_out(soap)
  1824. || soap_putheader(soap)
  1825. || soap_body_begin_out(soap)
  1826. || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "")
  1827. || soap_body_end_out(soap)
  1828. || soap_envelope_end_out(soap)
  1829. || soap_end_send(soap))
  1830. return soap->error;
  1831. return soap_closesock(soap);
  1832. }
  1833. static int serve___trt__GetAudioEncoderConfigurations(MediaBindingService *soap)
  1834. { struct __trt__GetAudioEncoderConfigurations soap_tmp___trt__GetAudioEncoderConfigurations;
  1835. _trt__GetAudioEncoderConfigurationsResponse trt__GetAudioEncoderConfigurationsResponse;
  1836. trt__GetAudioEncoderConfigurationsResponse.soap_default(soap);
  1837. soap_default___trt__GetAudioEncoderConfigurations(soap, &soap_tmp___trt__GetAudioEncoderConfigurations);
  1838. if (!soap_get___trt__GetAudioEncoderConfigurations(soap, &soap_tmp___trt__GetAudioEncoderConfigurations, "-trt:GetAudioEncoderConfigurations", NULL))
  1839. return soap->error;
  1840. if (soap_body_end_in(soap)
  1841. || soap_envelope_end_in(soap)
  1842. || soap_end_recv(soap))
  1843. return soap->error;
  1844. soap->error = soap->GetAudioEncoderConfigurations(soap_tmp___trt__GetAudioEncoderConfigurations.trt__GetAudioEncoderConfigurations, &trt__GetAudioEncoderConfigurationsResponse);
  1845. if (soap->error)
  1846. return soap->error;
  1847. soap->encodingStyle = NULL;
  1848. soap_serializeheader(soap);
  1849. trt__GetAudioEncoderConfigurationsResponse.soap_serialize(soap);
  1850. if (soap_begin_count(soap))
  1851. return soap->error;
  1852. if (soap->mode & SOAP_IO_LENGTH)
  1853. { if (soap_envelope_begin_out(soap)
  1854. || soap_putheader(soap)
  1855. || soap_body_begin_out(soap)
  1856. || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "")
  1857. || soap_body_end_out(soap)
  1858. || soap_envelope_end_out(soap))
  1859. return soap->error;
  1860. };
  1861. if (soap_end_count(soap)
  1862. || soap_response(soap, SOAP_OK)
  1863. || soap_envelope_begin_out(soap)
  1864. || soap_putheader(soap)
  1865. || soap_body_begin_out(soap)
  1866. || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "")
  1867. || soap_body_end_out(soap)
  1868. || soap_envelope_end_out(soap)
  1869. || soap_end_send(soap))
  1870. return soap->error;
  1871. return soap_closesock(soap);
  1872. }
  1873. static int serve___trt__GetVideoAnalyticsConfigurations(MediaBindingService *soap)
  1874. { struct __trt__GetVideoAnalyticsConfigurations soap_tmp___trt__GetVideoAnalyticsConfigurations;
  1875. _trt__GetVideoAnalyticsConfigurationsResponse trt__GetVideoAnalyticsConfigurationsResponse;
  1876. trt__GetVideoAnalyticsConfigurationsResponse.soap_default(soap);
  1877. soap_default___trt__GetVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations);
  1878. if (!soap_get___trt__GetVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations, "-trt:GetVideoAnalyticsConfigurations", NULL))
  1879. return soap->error;
  1880. if (soap_body_end_in(soap)
  1881. || soap_envelope_end_in(soap)
  1882. || soap_end_recv(soap))
  1883. return soap->error;
  1884. soap->error = soap->GetVideoAnalyticsConfigurations(soap_tmp___trt__GetVideoAnalyticsConfigurations.trt__GetVideoAnalyticsConfigurations, &trt__GetVideoAnalyticsConfigurationsResponse);
  1885. if (soap->error)
  1886. return soap->error;
  1887. soap->encodingStyle = NULL;
  1888. soap_serializeheader(soap);
  1889. trt__GetVideoAnalyticsConfigurationsResponse.soap_serialize(soap);
  1890. if (soap_begin_count(soap))
  1891. return soap->error;
  1892. if (soap->mode & SOAP_IO_LENGTH)
  1893. { if (soap_envelope_begin_out(soap)
  1894. || soap_putheader(soap)
  1895. || soap_body_begin_out(soap)
  1896. || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "")
  1897. || soap_body_end_out(soap)
  1898. || soap_envelope_end_out(soap))
  1899. return soap->error;
  1900. };
  1901. if (soap_end_count(soap)
  1902. || soap_response(soap, SOAP_OK)
  1903. || soap_envelope_begin_out(soap)
  1904. || soap_putheader(soap)
  1905. || soap_body_begin_out(soap)
  1906. || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "")
  1907. || soap_body_end_out(soap)
  1908. || soap_envelope_end_out(soap)
  1909. || soap_end_send(soap))
  1910. return soap->error;
  1911. return soap_closesock(soap);
  1912. }
  1913. static int serve___trt__GetMetadataConfigurations(MediaBindingService *soap)
  1914. { struct __trt__GetMetadataConfigurations soap_tmp___trt__GetMetadataConfigurations;
  1915. _trt__GetMetadataConfigurationsResponse trt__GetMetadataConfigurationsResponse;
  1916. trt__GetMetadataConfigurationsResponse.soap_default(soap);
  1917. soap_default___trt__GetMetadataConfigurations(soap, &soap_tmp___trt__GetMetadataConfigurations);
  1918. if (!soap_get___trt__GetMetadataConfigurations(soap, &soap_tmp___trt__GetMetadataConfigurations, "-trt:GetMetadataConfigurations", NULL))
  1919. return soap->error;
  1920. if (soap_body_end_in(soap)
  1921. || soap_envelope_end_in(soap)
  1922. || soap_end_recv(soap))
  1923. return soap->error;
  1924. soap->error = soap->GetMetadataConfigurations(soap_tmp___trt__GetMetadataConfigurations.trt__GetMetadataConfigurations, &trt__GetMetadataConfigurationsResponse);
  1925. if (soap->error)
  1926. return soap->error;
  1927. soap->encodingStyle = NULL;
  1928. soap_serializeheader(soap);
  1929. trt__GetMetadataConfigurationsResponse.soap_serialize(soap);
  1930. if (soap_begin_count(soap))
  1931. return soap->error;
  1932. if (soap->mode & SOAP_IO_LENGTH)
  1933. { if (soap_envelope_begin_out(soap)
  1934. || soap_putheader(soap)
  1935. || soap_body_begin_out(soap)
  1936. || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "")
  1937. || soap_body_end_out(soap)
  1938. || soap_envelope_end_out(soap))
  1939. return soap->error;
  1940. };
  1941. if (soap_end_count(soap)
  1942. || soap_response(soap, SOAP_OK)
  1943. || soap_envelope_begin_out(soap)
  1944. || soap_putheader(soap)
  1945. || soap_body_begin_out(soap)
  1946. || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "")
  1947. || soap_body_end_out(soap)
  1948. || soap_envelope_end_out(soap)
  1949. || soap_end_send(soap))
  1950. return soap->error;
  1951. return soap_closesock(soap);
  1952. }
  1953. static int serve___trt__GetAudioOutputConfigurations(MediaBindingService *soap)
  1954. { struct __trt__GetAudioOutputConfigurations soap_tmp___trt__GetAudioOutputConfigurations;
  1955. _trt__GetAudioOutputConfigurationsResponse trt__GetAudioOutputConfigurationsResponse;
  1956. trt__GetAudioOutputConfigurationsResponse.soap_default(soap);
  1957. soap_default___trt__GetAudioOutputConfigurations(soap, &soap_tmp___trt__GetAudioOutputConfigurations);
  1958. if (!soap_get___trt__GetAudioOutputConfigurations(soap, &soap_tmp___trt__GetAudioOutputConfigurations, "-trt:GetAudioOutputConfigurations", NULL))
  1959. return soap->error;
  1960. if (soap_body_end_in(soap)
  1961. || soap_envelope_end_in(soap)
  1962. || soap_end_recv(soap))
  1963. return soap->error;
  1964. soap->error = soap->GetAudioOutputConfigurations(soap_tmp___trt__GetAudioOutputConfigurations.trt__GetAudioOutputConfigurations, &trt__GetAudioOutputConfigurationsResponse);
  1965. if (soap->error)
  1966. return soap->error;
  1967. soap->encodingStyle = NULL;
  1968. soap_serializeheader(soap);
  1969. trt__GetAudioOutputConfigurationsResponse.soap_serialize(soap);
  1970. if (soap_begin_count(soap))
  1971. return soap->error;
  1972. if (soap->mode & SOAP_IO_LENGTH)
  1973. { if (soap_envelope_begin_out(soap)
  1974. || soap_putheader(soap)
  1975. || soap_body_begin_out(soap)
  1976. || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "")
  1977. || soap_body_end_out(soap)
  1978. || soap_envelope_end_out(soap))
  1979. return soap->error;
  1980. };
  1981. if (soap_end_count(soap)
  1982. || soap_response(soap, SOAP_OK)
  1983. || soap_envelope_begin_out(soap)
  1984. || soap_putheader(soap)
  1985. || soap_body_begin_out(soap)
  1986. || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "")
  1987. || soap_body_end_out(soap)
  1988. || soap_envelope_end_out(soap)
  1989. || soap_end_send(soap))
  1990. return soap->error;
  1991. return soap_closesock(soap);
  1992. }
  1993. static int serve___trt__GetAudioDecoderConfigurations(MediaBindingService *soap)
  1994. { struct __trt__GetAudioDecoderConfigurations soap_tmp___trt__GetAudioDecoderConfigurations;
  1995. _trt__GetAudioDecoderConfigurationsResponse trt__GetAudioDecoderConfigurationsResponse;
  1996. trt__GetAudioDecoderConfigurationsResponse.soap_default(soap);
  1997. soap_default___trt__GetAudioDecoderConfigurations(soap, &soap_tmp___trt__GetAudioDecoderConfigurations);
  1998. if (!soap_get___trt__GetAudioDecoderConfigurations(soap, &soap_tmp___trt__GetAudioDecoderConfigurations, "-trt:GetAudioDecoderConfigurations", NULL))
  1999. return soap->error;
  2000. if (soap_body_end_in(soap)
  2001. || soap_envelope_end_in(soap)
  2002. || soap_end_recv(soap))
  2003. return soap->error;
  2004. soap->error = soap->GetAudioDecoderConfigurations(soap_tmp___trt__GetAudioDecoderConfigurations.trt__GetAudioDecoderConfigurations, &trt__GetAudioDecoderConfigurationsResponse);
  2005. if (soap->error)
  2006. return soap->error;
  2007. soap->encodingStyle = NULL;
  2008. soap_serializeheader(soap);
  2009. trt__GetAudioDecoderConfigurationsResponse.soap_serialize(soap);
  2010. if (soap_begin_count(soap))
  2011. return soap->error;
  2012. if (soap->mode & SOAP_IO_LENGTH)
  2013. { if (soap_envelope_begin_out(soap)
  2014. || soap_putheader(soap)
  2015. || soap_body_begin_out(soap)
  2016. || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "")
  2017. || soap_body_end_out(soap)
  2018. || soap_envelope_end_out(soap))
  2019. return soap->error;
  2020. };
  2021. if (soap_end_count(soap)
  2022. || soap_response(soap, SOAP_OK)
  2023. || soap_envelope_begin_out(soap)
  2024. || soap_putheader(soap)
  2025. || soap_body_begin_out(soap)
  2026. || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "")
  2027. || soap_body_end_out(soap)
  2028. || soap_envelope_end_out(soap)
  2029. || soap_end_send(soap))
  2030. return soap->error;
  2031. return soap_closesock(soap);
  2032. }
  2033. static int serve___trt__GetVideoSourceConfiguration(MediaBindingService *soap)
  2034. { struct __trt__GetVideoSourceConfiguration soap_tmp___trt__GetVideoSourceConfiguration;
  2035. _trt__GetVideoSourceConfigurationResponse trt__GetVideoSourceConfigurationResponse;
  2036. trt__GetVideoSourceConfigurationResponse.soap_default(soap);
  2037. soap_default___trt__GetVideoSourceConfiguration(soap, &soap_tmp___trt__GetVideoSourceConfiguration);
  2038. if (!soap_get___trt__GetVideoSourceConfiguration(soap, &soap_tmp___trt__GetVideoSourceConfiguration, "-trt:GetVideoSourceConfiguration", NULL))
  2039. return soap->error;
  2040. if (soap_body_end_in(soap)
  2041. || soap_envelope_end_in(soap)
  2042. || soap_end_recv(soap))
  2043. return soap->error;
  2044. soap->error = soap->GetVideoSourceConfiguration(soap_tmp___trt__GetVideoSourceConfiguration.trt__GetVideoSourceConfiguration, &trt__GetVideoSourceConfigurationResponse);
  2045. if (soap->error)
  2046. return soap->error;
  2047. soap->encodingStyle = NULL;
  2048. soap_serializeheader(soap);
  2049. trt__GetVideoSourceConfigurationResponse.soap_serialize(soap);
  2050. if (soap_begin_count(soap))
  2051. return soap->error;
  2052. if (soap->mode & SOAP_IO_LENGTH)
  2053. { if (soap_envelope_begin_out(soap)
  2054. || soap_putheader(soap)
  2055. || soap_body_begin_out(soap)
  2056. || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "")
  2057. || soap_body_end_out(soap)
  2058. || soap_envelope_end_out(soap))
  2059. return soap->error;
  2060. };
  2061. if (soap_end_count(soap)
  2062. || soap_response(soap, SOAP_OK)
  2063. || soap_envelope_begin_out(soap)
  2064. || soap_putheader(soap)
  2065. || soap_body_begin_out(soap)
  2066. || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "")
  2067. || soap_body_end_out(soap)
  2068. || soap_envelope_end_out(soap)
  2069. || soap_end_send(soap))
  2070. return soap->error;
  2071. return soap_closesock(soap);
  2072. }
  2073. static int serve___trt__GetVideoEncoderConfiguration(MediaBindingService *soap)
  2074. { struct __trt__GetVideoEncoderConfiguration soap_tmp___trt__GetVideoEncoderConfiguration;
  2075. _trt__GetVideoEncoderConfigurationResponse trt__GetVideoEncoderConfigurationResponse;
  2076. trt__GetVideoEncoderConfigurationResponse.soap_default(soap);
  2077. soap_default___trt__GetVideoEncoderConfiguration(soap, &soap_tmp___trt__GetVideoEncoderConfiguration);
  2078. if (!soap_get___trt__GetVideoEncoderConfiguration(soap, &soap_tmp___trt__GetVideoEncoderConfiguration, "-trt:GetVideoEncoderConfiguration", NULL))
  2079. return soap->error;
  2080. if (soap_body_end_in(soap)
  2081. || soap_envelope_end_in(soap)
  2082. || soap_end_recv(soap))
  2083. return soap->error;
  2084. soap->error = soap->GetVideoEncoderConfiguration(soap_tmp___trt__GetVideoEncoderConfiguration.trt__GetVideoEncoderConfiguration, &trt__GetVideoEncoderConfigurationResponse);
  2085. if (soap->error)
  2086. return soap->error;
  2087. soap->encodingStyle = NULL;
  2088. soap_serializeheader(soap);
  2089. trt__GetVideoEncoderConfigurationResponse.soap_serialize(soap);
  2090. if (soap_begin_count(soap))
  2091. return soap->error;
  2092. if (soap->mode & SOAP_IO_LENGTH)
  2093. { if (soap_envelope_begin_out(soap)
  2094. || soap_putheader(soap)
  2095. || soap_body_begin_out(soap)
  2096. || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "")
  2097. || soap_body_end_out(soap)
  2098. || soap_envelope_end_out(soap))
  2099. return soap->error;
  2100. };
  2101. if (soap_end_count(soap)
  2102. || soap_response(soap, SOAP_OK)
  2103. || soap_envelope_begin_out(soap)
  2104. || soap_putheader(soap)
  2105. || soap_body_begin_out(soap)
  2106. || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "")
  2107. || soap_body_end_out(soap)
  2108. || soap_envelope_end_out(soap)
  2109. || soap_end_send(soap))
  2110. return soap->error;
  2111. return soap_closesock(soap);
  2112. }
  2113. static int serve___trt__GetAudioSourceConfiguration(MediaBindingService *soap)
  2114. { struct __trt__GetAudioSourceConfiguration soap_tmp___trt__GetAudioSourceConfiguration;
  2115. _trt__GetAudioSourceConfigurationResponse trt__GetAudioSourceConfigurationResponse;
  2116. trt__GetAudioSourceConfigurationResponse.soap_default(soap);
  2117. soap_default___trt__GetAudioSourceConfiguration(soap, &soap_tmp___trt__GetAudioSourceConfiguration);
  2118. if (!soap_get___trt__GetAudioSourceConfiguration(soap, &soap_tmp___trt__GetAudioSourceConfiguration, "-trt:GetAudioSourceConfiguration", NULL))
  2119. return soap->error;
  2120. if (soap_body_end_in(soap)
  2121. || soap_envelope_end_in(soap)
  2122. || soap_end_recv(soap))
  2123. return soap->error;
  2124. soap->error = soap->GetAudioSourceConfiguration(soap_tmp___trt__GetAudioSourceConfiguration.trt__GetAudioSourceConfiguration, &trt__GetAudioSourceConfigurationResponse);
  2125. if (soap->error)
  2126. return soap->error;
  2127. soap->encodingStyle = NULL;
  2128. soap_serializeheader(soap);
  2129. trt__GetAudioSourceConfigurationResponse.soap_serialize(soap);
  2130. if (soap_begin_count(soap))
  2131. return soap->error;
  2132. if (soap->mode & SOAP_IO_LENGTH)
  2133. { if (soap_envelope_begin_out(soap)
  2134. || soap_putheader(soap)
  2135. || soap_body_begin_out(soap)
  2136. || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "")
  2137. || soap_body_end_out(soap)
  2138. || soap_envelope_end_out(soap))
  2139. return soap->error;
  2140. };
  2141. if (soap_end_count(soap)
  2142. || soap_response(soap, SOAP_OK)
  2143. || soap_envelope_begin_out(soap)
  2144. || soap_putheader(soap)
  2145. || soap_body_begin_out(soap)
  2146. || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "")
  2147. || soap_body_end_out(soap)
  2148. || soap_envelope_end_out(soap)
  2149. || soap_end_send(soap))
  2150. return soap->error;
  2151. return soap_closesock(soap);
  2152. }
  2153. static int serve___trt__GetAudioEncoderConfiguration(MediaBindingService *soap)
  2154. { struct __trt__GetAudioEncoderConfiguration soap_tmp___trt__GetAudioEncoderConfiguration;
  2155. _trt__GetAudioEncoderConfigurationResponse trt__GetAudioEncoderConfigurationResponse;
  2156. trt__GetAudioEncoderConfigurationResponse.soap_default(soap);
  2157. soap_default___trt__GetAudioEncoderConfiguration(soap, &soap_tmp___trt__GetAudioEncoderConfiguration);
  2158. if (!soap_get___trt__GetAudioEncoderConfiguration(soap, &soap_tmp___trt__GetAudioEncoderConfiguration, "-trt:GetAudioEncoderConfiguration", NULL))
  2159. return soap->error;
  2160. if (soap_body_end_in(soap)
  2161. || soap_envelope_end_in(soap)
  2162. || soap_end_recv(soap))
  2163. return soap->error;
  2164. soap->error = soap->GetAudioEncoderConfiguration(soap_tmp___trt__GetAudioEncoderConfiguration.trt__GetAudioEncoderConfiguration, &trt__GetAudioEncoderConfigurationResponse);
  2165. if (soap->error)
  2166. return soap->error;
  2167. soap->encodingStyle = NULL;
  2168. soap_serializeheader(soap);
  2169. trt__GetAudioEncoderConfigurationResponse.soap_serialize(soap);
  2170. if (soap_begin_count(soap))
  2171. return soap->error;
  2172. if (soap->mode & SOAP_IO_LENGTH)
  2173. { if (soap_envelope_begin_out(soap)
  2174. || soap_putheader(soap)
  2175. || soap_body_begin_out(soap)
  2176. || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "")
  2177. || soap_body_end_out(soap)
  2178. || soap_envelope_end_out(soap))
  2179. return soap->error;
  2180. };
  2181. if (soap_end_count(soap)
  2182. || soap_response(soap, SOAP_OK)
  2183. || soap_envelope_begin_out(soap)
  2184. || soap_putheader(soap)
  2185. || soap_body_begin_out(soap)
  2186. || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "")
  2187. || soap_body_end_out(soap)
  2188. || soap_envelope_end_out(soap)
  2189. || soap_end_send(soap))
  2190. return soap->error;
  2191. return soap_closesock(soap);
  2192. }
  2193. static int serve___trt__GetVideoAnalyticsConfiguration(MediaBindingService *soap)
  2194. { struct __trt__GetVideoAnalyticsConfiguration soap_tmp___trt__GetVideoAnalyticsConfiguration;
  2195. _trt__GetVideoAnalyticsConfigurationResponse trt__GetVideoAnalyticsConfigurationResponse;
  2196. trt__GetVideoAnalyticsConfigurationResponse.soap_default(soap);
  2197. soap_default___trt__GetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration);
  2198. if (!soap_get___trt__GetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration, "-trt:GetVideoAnalyticsConfiguration", NULL))
  2199. return soap->error;
  2200. if (soap_body_end_in(soap)
  2201. || soap_envelope_end_in(soap)
  2202. || soap_end_recv(soap))
  2203. return soap->error;
  2204. soap->error = soap->GetVideoAnalyticsConfiguration(soap_tmp___trt__GetVideoAnalyticsConfiguration.trt__GetVideoAnalyticsConfiguration, &trt__GetVideoAnalyticsConfigurationResponse);
  2205. if (soap->error)
  2206. return soap->error;
  2207. soap->encodingStyle = NULL;
  2208. soap_serializeheader(soap);
  2209. trt__GetVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  2210. if (soap_begin_count(soap))
  2211. return soap->error;
  2212. if (soap->mode & SOAP_IO_LENGTH)
  2213. { if (soap_envelope_begin_out(soap)
  2214. || soap_putheader(soap)
  2215. || soap_body_begin_out(soap)
  2216. || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "")
  2217. || soap_body_end_out(soap)
  2218. || soap_envelope_end_out(soap))
  2219. return soap->error;
  2220. };
  2221. if (soap_end_count(soap)
  2222. || soap_response(soap, SOAP_OK)
  2223. || soap_envelope_begin_out(soap)
  2224. || soap_putheader(soap)
  2225. || soap_body_begin_out(soap)
  2226. || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "")
  2227. || soap_body_end_out(soap)
  2228. || soap_envelope_end_out(soap)
  2229. || soap_end_send(soap))
  2230. return soap->error;
  2231. return soap_closesock(soap);
  2232. }
  2233. static int serve___trt__GetMetadataConfiguration(MediaBindingService *soap)
  2234. { struct __trt__GetMetadataConfiguration soap_tmp___trt__GetMetadataConfiguration;
  2235. _trt__GetMetadataConfigurationResponse trt__GetMetadataConfigurationResponse;
  2236. trt__GetMetadataConfigurationResponse.soap_default(soap);
  2237. soap_default___trt__GetMetadataConfiguration(soap, &soap_tmp___trt__GetMetadataConfiguration);
  2238. if (!soap_get___trt__GetMetadataConfiguration(soap, &soap_tmp___trt__GetMetadataConfiguration, "-trt:GetMetadataConfiguration", NULL))
  2239. return soap->error;
  2240. if (soap_body_end_in(soap)
  2241. || soap_envelope_end_in(soap)
  2242. || soap_end_recv(soap))
  2243. return soap->error;
  2244. soap->error = soap->GetMetadataConfiguration(soap_tmp___trt__GetMetadataConfiguration.trt__GetMetadataConfiguration, &trt__GetMetadataConfigurationResponse);
  2245. if (soap->error)
  2246. return soap->error;
  2247. soap->encodingStyle = NULL;
  2248. soap_serializeheader(soap);
  2249. trt__GetMetadataConfigurationResponse.soap_serialize(soap);
  2250. if (soap_begin_count(soap))
  2251. return soap->error;
  2252. if (soap->mode & SOAP_IO_LENGTH)
  2253. { if (soap_envelope_begin_out(soap)
  2254. || soap_putheader(soap)
  2255. || soap_body_begin_out(soap)
  2256. || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "")
  2257. || soap_body_end_out(soap)
  2258. || soap_envelope_end_out(soap))
  2259. return soap->error;
  2260. };
  2261. if (soap_end_count(soap)
  2262. || soap_response(soap, SOAP_OK)
  2263. || soap_envelope_begin_out(soap)
  2264. || soap_putheader(soap)
  2265. || soap_body_begin_out(soap)
  2266. || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "")
  2267. || soap_body_end_out(soap)
  2268. || soap_envelope_end_out(soap)
  2269. || soap_end_send(soap))
  2270. return soap->error;
  2271. return soap_closesock(soap);
  2272. }
  2273. static int serve___trt__GetAudioOutputConfiguration(MediaBindingService *soap)
  2274. { struct __trt__GetAudioOutputConfiguration soap_tmp___trt__GetAudioOutputConfiguration;
  2275. _trt__GetAudioOutputConfigurationResponse trt__GetAudioOutputConfigurationResponse;
  2276. trt__GetAudioOutputConfigurationResponse.soap_default(soap);
  2277. soap_default___trt__GetAudioOutputConfiguration(soap, &soap_tmp___trt__GetAudioOutputConfiguration);
  2278. if (!soap_get___trt__GetAudioOutputConfiguration(soap, &soap_tmp___trt__GetAudioOutputConfiguration, "-trt:GetAudioOutputConfiguration", NULL))
  2279. return soap->error;
  2280. if (soap_body_end_in(soap)
  2281. || soap_envelope_end_in(soap)
  2282. || soap_end_recv(soap))
  2283. return soap->error;
  2284. soap->error = soap->GetAudioOutputConfiguration(soap_tmp___trt__GetAudioOutputConfiguration.trt__GetAudioOutputConfiguration, &trt__GetAudioOutputConfigurationResponse);
  2285. if (soap->error)
  2286. return soap->error;
  2287. soap->encodingStyle = NULL;
  2288. soap_serializeheader(soap);
  2289. trt__GetAudioOutputConfigurationResponse.soap_serialize(soap);
  2290. if (soap_begin_count(soap))
  2291. return soap->error;
  2292. if (soap->mode & SOAP_IO_LENGTH)
  2293. { if (soap_envelope_begin_out(soap)
  2294. || soap_putheader(soap)
  2295. || soap_body_begin_out(soap)
  2296. || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "")
  2297. || soap_body_end_out(soap)
  2298. || soap_envelope_end_out(soap))
  2299. return soap->error;
  2300. };
  2301. if (soap_end_count(soap)
  2302. || soap_response(soap, SOAP_OK)
  2303. || soap_envelope_begin_out(soap)
  2304. || soap_putheader(soap)
  2305. || soap_body_begin_out(soap)
  2306. || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "")
  2307. || soap_body_end_out(soap)
  2308. || soap_envelope_end_out(soap)
  2309. || soap_end_send(soap))
  2310. return soap->error;
  2311. return soap_closesock(soap);
  2312. }
  2313. static int serve___trt__GetAudioDecoderConfiguration(MediaBindingService *soap)
  2314. { struct __trt__GetAudioDecoderConfiguration soap_tmp___trt__GetAudioDecoderConfiguration;
  2315. _trt__GetAudioDecoderConfigurationResponse trt__GetAudioDecoderConfigurationResponse;
  2316. trt__GetAudioDecoderConfigurationResponse.soap_default(soap);
  2317. soap_default___trt__GetAudioDecoderConfiguration(soap, &soap_tmp___trt__GetAudioDecoderConfiguration);
  2318. if (!soap_get___trt__GetAudioDecoderConfiguration(soap, &soap_tmp___trt__GetAudioDecoderConfiguration, "-trt:GetAudioDecoderConfiguration", NULL))
  2319. return soap->error;
  2320. if (soap_body_end_in(soap)
  2321. || soap_envelope_end_in(soap)
  2322. || soap_end_recv(soap))
  2323. return soap->error;
  2324. soap->error = soap->GetAudioDecoderConfiguration(soap_tmp___trt__GetAudioDecoderConfiguration.trt__GetAudioDecoderConfiguration, &trt__GetAudioDecoderConfigurationResponse);
  2325. if (soap->error)
  2326. return soap->error;
  2327. soap->encodingStyle = NULL;
  2328. soap_serializeheader(soap);
  2329. trt__GetAudioDecoderConfigurationResponse.soap_serialize(soap);
  2330. if (soap_begin_count(soap))
  2331. return soap->error;
  2332. if (soap->mode & SOAP_IO_LENGTH)
  2333. { if (soap_envelope_begin_out(soap)
  2334. || soap_putheader(soap)
  2335. || soap_body_begin_out(soap)
  2336. || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "")
  2337. || soap_body_end_out(soap)
  2338. || soap_envelope_end_out(soap))
  2339. return soap->error;
  2340. };
  2341. if (soap_end_count(soap)
  2342. || soap_response(soap, SOAP_OK)
  2343. || soap_envelope_begin_out(soap)
  2344. || soap_putheader(soap)
  2345. || soap_body_begin_out(soap)
  2346. || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "")
  2347. || soap_body_end_out(soap)
  2348. || soap_envelope_end_out(soap)
  2349. || soap_end_send(soap))
  2350. return soap->error;
  2351. return soap_closesock(soap);
  2352. }
  2353. static int serve___trt__GetCompatibleVideoEncoderConfigurations(MediaBindingService *soap)
  2354. { struct __trt__GetCompatibleVideoEncoderConfigurations soap_tmp___trt__GetCompatibleVideoEncoderConfigurations;
  2355. _trt__GetCompatibleVideoEncoderConfigurationsResponse trt__GetCompatibleVideoEncoderConfigurationsResponse;
  2356. trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_default(soap);
  2357. soap_default___trt__GetCompatibleVideoEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations);
  2358. if (!soap_get___trt__GetCompatibleVideoEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations, "-trt:GetCompatibleVideoEncoderConfigurations", NULL))
  2359. return soap->error;
  2360. if (soap_body_end_in(soap)
  2361. || soap_envelope_end_in(soap)
  2362. || soap_end_recv(soap))
  2363. return soap->error;
  2364. soap->error = soap->GetCompatibleVideoEncoderConfigurations(soap_tmp___trt__GetCompatibleVideoEncoderConfigurations.trt__GetCompatibleVideoEncoderConfigurations, &trt__GetCompatibleVideoEncoderConfigurationsResponse);
  2365. if (soap->error)
  2366. return soap->error;
  2367. soap->encodingStyle = NULL;
  2368. soap_serializeheader(soap);
  2369. trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_serialize(soap);
  2370. if (soap_begin_count(soap))
  2371. return soap->error;
  2372. if (soap->mode & SOAP_IO_LENGTH)
  2373. { if (soap_envelope_begin_out(soap)
  2374. || soap_putheader(soap)
  2375. || soap_body_begin_out(soap)
  2376. || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "")
  2377. || soap_body_end_out(soap)
  2378. || soap_envelope_end_out(soap))
  2379. return soap->error;
  2380. };
  2381. if (soap_end_count(soap)
  2382. || soap_response(soap, SOAP_OK)
  2383. || soap_envelope_begin_out(soap)
  2384. || soap_putheader(soap)
  2385. || soap_body_begin_out(soap)
  2386. || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "")
  2387. || soap_body_end_out(soap)
  2388. || soap_envelope_end_out(soap)
  2389. || soap_end_send(soap))
  2390. return soap->error;
  2391. return soap_closesock(soap);
  2392. }
  2393. static int serve___trt__GetCompatibleVideoSourceConfigurations(MediaBindingService *soap)
  2394. { struct __trt__GetCompatibleVideoSourceConfigurations soap_tmp___trt__GetCompatibleVideoSourceConfigurations;
  2395. _trt__GetCompatibleVideoSourceConfigurationsResponse trt__GetCompatibleVideoSourceConfigurationsResponse;
  2396. trt__GetCompatibleVideoSourceConfigurationsResponse.soap_default(soap);
  2397. soap_default___trt__GetCompatibleVideoSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations);
  2398. if (!soap_get___trt__GetCompatibleVideoSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations, "-trt:GetCompatibleVideoSourceConfigurations", NULL))
  2399. return soap->error;
  2400. if (soap_body_end_in(soap)
  2401. || soap_envelope_end_in(soap)
  2402. || soap_end_recv(soap))
  2403. return soap->error;
  2404. soap->error = soap->GetCompatibleVideoSourceConfigurations(soap_tmp___trt__GetCompatibleVideoSourceConfigurations.trt__GetCompatibleVideoSourceConfigurations, &trt__GetCompatibleVideoSourceConfigurationsResponse);
  2405. if (soap->error)
  2406. return soap->error;
  2407. soap->encodingStyle = NULL;
  2408. soap_serializeheader(soap);
  2409. trt__GetCompatibleVideoSourceConfigurationsResponse.soap_serialize(soap);
  2410. if (soap_begin_count(soap))
  2411. return soap->error;
  2412. if (soap->mode & SOAP_IO_LENGTH)
  2413. { if (soap_envelope_begin_out(soap)
  2414. || soap_putheader(soap)
  2415. || soap_body_begin_out(soap)
  2416. || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "")
  2417. || soap_body_end_out(soap)
  2418. || soap_envelope_end_out(soap))
  2419. return soap->error;
  2420. };
  2421. if (soap_end_count(soap)
  2422. || soap_response(soap, SOAP_OK)
  2423. || soap_envelope_begin_out(soap)
  2424. || soap_putheader(soap)
  2425. || soap_body_begin_out(soap)
  2426. || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "")
  2427. || soap_body_end_out(soap)
  2428. || soap_envelope_end_out(soap)
  2429. || soap_end_send(soap))
  2430. return soap->error;
  2431. return soap_closesock(soap);
  2432. }
  2433. static int serve___trt__GetCompatibleAudioEncoderConfigurations(MediaBindingService *soap)
  2434. { struct __trt__GetCompatibleAudioEncoderConfigurations soap_tmp___trt__GetCompatibleAudioEncoderConfigurations;
  2435. _trt__GetCompatibleAudioEncoderConfigurationsResponse trt__GetCompatibleAudioEncoderConfigurationsResponse;
  2436. trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_default(soap);
  2437. soap_default___trt__GetCompatibleAudioEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations);
  2438. if (!soap_get___trt__GetCompatibleAudioEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations, "-trt:GetCompatibleAudioEncoderConfigurations", NULL))
  2439. return soap->error;
  2440. if (soap_body_end_in(soap)
  2441. || soap_envelope_end_in(soap)
  2442. || soap_end_recv(soap))
  2443. return soap->error;
  2444. soap->error = soap->GetCompatibleAudioEncoderConfigurations(soap_tmp___trt__GetCompatibleAudioEncoderConfigurations.trt__GetCompatibleAudioEncoderConfigurations, &trt__GetCompatibleAudioEncoderConfigurationsResponse);
  2445. if (soap->error)
  2446. return soap->error;
  2447. soap->encodingStyle = NULL;
  2448. soap_serializeheader(soap);
  2449. trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_serialize(soap);
  2450. if (soap_begin_count(soap))
  2451. return soap->error;
  2452. if (soap->mode & SOAP_IO_LENGTH)
  2453. { if (soap_envelope_begin_out(soap)
  2454. || soap_putheader(soap)
  2455. || soap_body_begin_out(soap)
  2456. || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "")
  2457. || soap_body_end_out(soap)
  2458. || soap_envelope_end_out(soap))
  2459. return soap->error;
  2460. };
  2461. if (soap_end_count(soap)
  2462. || soap_response(soap, SOAP_OK)
  2463. || soap_envelope_begin_out(soap)
  2464. || soap_putheader(soap)
  2465. || soap_body_begin_out(soap)
  2466. || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "")
  2467. || soap_body_end_out(soap)
  2468. || soap_envelope_end_out(soap)
  2469. || soap_end_send(soap))
  2470. return soap->error;
  2471. return soap_closesock(soap);
  2472. }
  2473. static int serve___trt__GetCompatibleAudioSourceConfigurations(MediaBindingService *soap)
  2474. { struct __trt__GetCompatibleAudioSourceConfigurations soap_tmp___trt__GetCompatibleAudioSourceConfigurations;
  2475. _trt__GetCompatibleAudioSourceConfigurationsResponse trt__GetCompatibleAudioSourceConfigurationsResponse;
  2476. trt__GetCompatibleAudioSourceConfigurationsResponse.soap_default(soap);
  2477. soap_default___trt__GetCompatibleAudioSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations);
  2478. if (!soap_get___trt__GetCompatibleAudioSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations, "-trt:GetCompatibleAudioSourceConfigurations", NULL))
  2479. return soap->error;
  2480. if (soap_body_end_in(soap)
  2481. || soap_envelope_end_in(soap)
  2482. || soap_end_recv(soap))
  2483. return soap->error;
  2484. soap->error = soap->GetCompatibleAudioSourceConfigurations(soap_tmp___trt__GetCompatibleAudioSourceConfigurations.trt__GetCompatibleAudioSourceConfigurations, &trt__GetCompatibleAudioSourceConfigurationsResponse);
  2485. if (soap->error)
  2486. return soap->error;
  2487. soap->encodingStyle = NULL;
  2488. soap_serializeheader(soap);
  2489. trt__GetCompatibleAudioSourceConfigurationsResponse.soap_serialize(soap);
  2490. if (soap_begin_count(soap))
  2491. return soap->error;
  2492. if (soap->mode & SOAP_IO_LENGTH)
  2493. { if (soap_envelope_begin_out(soap)
  2494. || soap_putheader(soap)
  2495. || soap_body_begin_out(soap)
  2496. || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "")
  2497. || soap_body_end_out(soap)
  2498. || soap_envelope_end_out(soap))
  2499. return soap->error;
  2500. };
  2501. if (soap_end_count(soap)
  2502. || soap_response(soap, SOAP_OK)
  2503. || soap_envelope_begin_out(soap)
  2504. || soap_putheader(soap)
  2505. || soap_body_begin_out(soap)
  2506. || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "")
  2507. || soap_body_end_out(soap)
  2508. || soap_envelope_end_out(soap)
  2509. || soap_end_send(soap))
  2510. return soap->error;
  2511. return soap_closesock(soap);
  2512. }
  2513. static int serve___trt__GetCompatibleVideoAnalyticsConfigurations(MediaBindingService *soap)
  2514. { struct __trt__GetCompatibleVideoAnalyticsConfigurations soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations;
  2515. _trt__GetCompatibleVideoAnalyticsConfigurationsResponse trt__GetCompatibleVideoAnalyticsConfigurationsResponse;
  2516. trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_default(soap);
  2517. soap_default___trt__GetCompatibleVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations);
  2518. if (!soap_get___trt__GetCompatibleVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations, "-trt:GetCompatibleVideoAnalyticsConfigurations", NULL))
  2519. return soap->error;
  2520. if (soap_body_end_in(soap)
  2521. || soap_envelope_end_in(soap)
  2522. || soap_end_recv(soap))
  2523. return soap->error;
  2524. soap->error = soap->GetCompatibleVideoAnalyticsConfigurations(soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations.trt__GetCompatibleVideoAnalyticsConfigurations, &trt__GetCompatibleVideoAnalyticsConfigurationsResponse);
  2525. if (soap->error)
  2526. return soap->error;
  2527. soap->encodingStyle = NULL;
  2528. soap_serializeheader(soap);
  2529. trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_serialize(soap);
  2530. if (soap_begin_count(soap))
  2531. return soap->error;
  2532. if (soap->mode & SOAP_IO_LENGTH)
  2533. { if (soap_envelope_begin_out(soap)
  2534. || soap_putheader(soap)
  2535. || soap_body_begin_out(soap)
  2536. || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "")
  2537. || soap_body_end_out(soap)
  2538. || soap_envelope_end_out(soap))
  2539. return soap->error;
  2540. };
  2541. if (soap_end_count(soap)
  2542. || soap_response(soap, SOAP_OK)
  2543. || soap_envelope_begin_out(soap)
  2544. || soap_putheader(soap)
  2545. || soap_body_begin_out(soap)
  2546. || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "")
  2547. || soap_body_end_out(soap)
  2548. || soap_envelope_end_out(soap)
  2549. || soap_end_send(soap))
  2550. return soap->error;
  2551. return soap_closesock(soap);
  2552. }
  2553. static int serve___trt__GetCompatibleMetadataConfigurations(MediaBindingService *soap)
  2554. { struct __trt__GetCompatibleMetadataConfigurations soap_tmp___trt__GetCompatibleMetadataConfigurations;
  2555. _trt__GetCompatibleMetadataConfigurationsResponse trt__GetCompatibleMetadataConfigurationsResponse;
  2556. trt__GetCompatibleMetadataConfigurationsResponse.soap_default(soap);
  2557. soap_default___trt__GetCompatibleMetadataConfigurations(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations);
  2558. if (!soap_get___trt__GetCompatibleMetadataConfigurations(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations, "-trt:GetCompatibleMetadataConfigurations", NULL))
  2559. return soap->error;
  2560. if (soap_body_end_in(soap)
  2561. || soap_envelope_end_in(soap)
  2562. || soap_end_recv(soap))
  2563. return soap->error;
  2564. soap->error = soap->GetCompatibleMetadataConfigurations(soap_tmp___trt__GetCompatibleMetadataConfigurations.trt__GetCompatibleMetadataConfigurations, &trt__GetCompatibleMetadataConfigurationsResponse);
  2565. if (soap->error)
  2566. return soap->error;
  2567. soap->encodingStyle = NULL;
  2568. soap_serializeheader(soap);
  2569. trt__GetCompatibleMetadataConfigurationsResponse.soap_serialize(soap);
  2570. if (soap_begin_count(soap))
  2571. return soap->error;
  2572. if (soap->mode & SOAP_IO_LENGTH)
  2573. { if (soap_envelope_begin_out(soap)
  2574. || soap_putheader(soap)
  2575. || soap_body_begin_out(soap)
  2576. || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "")
  2577. || soap_body_end_out(soap)
  2578. || soap_envelope_end_out(soap))
  2579. return soap->error;
  2580. };
  2581. if (soap_end_count(soap)
  2582. || soap_response(soap, SOAP_OK)
  2583. || soap_envelope_begin_out(soap)
  2584. || soap_putheader(soap)
  2585. || soap_body_begin_out(soap)
  2586. || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "")
  2587. || soap_body_end_out(soap)
  2588. || soap_envelope_end_out(soap)
  2589. || soap_end_send(soap))
  2590. return soap->error;
  2591. return soap_closesock(soap);
  2592. }
  2593. static int serve___trt__GetCompatibleAudioOutputConfigurations(MediaBindingService *soap)
  2594. { struct __trt__GetCompatibleAudioOutputConfigurations soap_tmp___trt__GetCompatibleAudioOutputConfigurations;
  2595. _trt__GetCompatibleAudioOutputConfigurationsResponse trt__GetCompatibleAudioOutputConfigurationsResponse;
  2596. trt__GetCompatibleAudioOutputConfigurationsResponse.soap_default(soap);
  2597. soap_default___trt__GetCompatibleAudioOutputConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations);
  2598. if (!soap_get___trt__GetCompatibleAudioOutputConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations, "-trt:GetCompatibleAudioOutputConfigurations", NULL))
  2599. return soap->error;
  2600. if (soap_body_end_in(soap)
  2601. || soap_envelope_end_in(soap)
  2602. || soap_end_recv(soap))
  2603. return soap->error;
  2604. soap->error = soap->GetCompatibleAudioOutputConfigurations(soap_tmp___trt__GetCompatibleAudioOutputConfigurations.trt__GetCompatibleAudioOutputConfigurations, &trt__GetCompatibleAudioOutputConfigurationsResponse);
  2605. if (soap->error)
  2606. return soap->error;
  2607. soap->encodingStyle = NULL;
  2608. soap_serializeheader(soap);
  2609. trt__GetCompatibleAudioOutputConfigurationsResponse.soap_serialize(soap);
  2610. if (soap_begin_count(soap))
  2611. return soap->error;
  2612. if (soap->mode & SOAP_IO_LENGTH)
  2613. { if (soap_envelope_begin_out(soap)
  2614. || soap_putheader(soap)
  2615. || soap_body_begin_out(soap)
  2616. || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "")
  2617. || soap_body_end_out(soap)
  2618. || soap_envelope_end_out(soap))
  2619. return soap->error;
  2620. };
  2621. if (soap_end_count(soap)
  2622. || soap_response(soap, SOAP_OK)
  2623. || soap_envelope_begin_out(soap)
  2624. || soap_putheader(soap)
  2625. || soap_body_begin_out(soap)
  2626. || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "")
  2627. || soap_body_end_out(soap)
  2628. || soap_envelope_end_out(soap)
  2629. || soap_end_send(soap))
  2630. return soap->error;
  2631. return soap_closesock(soap);
  2632. }
  2633. static int serve___trt__GetCompatibleAudioDecoderConfigurations(MediaBindingService *soap)
  2634. { struct __trt__GetCompatibleAudioDecoderConfigurations soap_tmp___trt__GetCompatibleAudioDecoderConfigurations;
  2635. _trt__GetCompatibleAudioDecoderConfigurationsResponse trt__GetCompatibleAudioDecoderConfigurationsResponse;
  2636. trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_default(soap);
  2637. soap_default___trt__GetCompatibleAudioDecoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations);
  2638. if (!soap_get___trt__GetCompatibleAudioDecoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations, "-trt:GetCompatibleAudioDecoderConfigurations", NULL))
  2639. return soap->error;
  2640. if (soap_body_end_in(soap)
  2641. || soap_envelope_end_in(soap)
  2642. || soap_end_recv(soap))
  2643. return soap->error;
  2644. soap->error = soap->GetCompatibleAudioDecoderConfigurations(soap_tmp___trt__GetCompatibleAudioDecoderConfigurations.trt__GetCompatibleAudioDecoderConfigurations, &trt__GetCompatibleAudioDecoderConfigurationsResponse);
  2645. if (soap->error)
  2646. return soap->error;
  2647. soap->encodingStyle = NULL;
  2648. soap_serializeheader(soap);
  2649. trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_serialize(soap);
  2650. if (soap_begin_count(soap))
  2651. return soap->error;
  2652. if (soap->mode & SOAP_IO_LENGTH)
  2653. { if (soap_envelope_begin_out(soap)
  2654. || soap_putheader(soap)
  2655. || soap_body_begin_out(soap)
  2656. || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "")
  2657. || soap_body_end_out(soap)
  2658. || soap_envelope_end_out(soap))
  2659. return soap->error;
  2660. };
  2661. if (soap_end_count(soap)
  2662. || soap_response(soap, SOAP_OK)
  2663. || soap_envelope_begin_out(soap)
  2664. || soap_putheader(soap)
  2665. || soap_body_begin_out(soap)
  2666. || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "")
  2667. || soap_body_end_out(soap)
  2668. || soap_envelope_end_out(soap)
  2669. || soap_end_send(soap))
  2670. return soap->error;
  2671. return soap_closesock(soap);
  2672. }
  2673. static int serve___trt__SetVideoSourceConfiguration(MediaBindingService *soap)
  2674. { struct __trt__SetVideoSourceConfiguration soap_tmp___trt__SetVideoSourceConfiguration;
  2675. _trt__SetVideoSourceConfigurationResponse trt__SetVideoSourceConfigurationResponse;
  2676. trt__SetVideoSourceConfigurationResponse.soap_default(soap);
  2677. soap_default___trt__SetVideoSourceConfiguration(soap, &soap_tmp___trt__SetVideoSourceConfiguration);
  2678. if (!soap_get___trt__SetVideoSourceConfiguration(soap, &soap_tmp___trt__SetVideoSourceConfiguration, "-trt:SetVideoSourceConfiguration", NULL))
  2679. return soap->error;
  2680. if (soap_body_end_in(soap)
  2681. || soap_envelope_end_in(soap)
  2682. || soap_end_recv(soap))
  2683. return soap->error;
  2684. soap->error = soap->SetVideoSourceConfiguration(soap_tmp___trt__SetVideoSourceConfiguration.trt__SetVideoSourceConfiguration, &trt__SetVideoSourceConfigurationResponse);
  2685. if (soap->error)
  2686. return soap->error;
  2687. soap->encodingStyle = NULL;
  2688. soap_serializeheader(soap);
  2689. trt__SetVideoSourceConfigurationResponse.soap_serialize(soap);
  2690. if (soap_begin_count(soap))
  2691. return soap->error;
  2692. if (soap->mode & SOAP_IO_LENGTH)
  2693. { if (soap_envelope_begin_out(soap)
  2694. || soap_putheader(soap)
  2695. || soap_body_begin_out(soap)
  2696. || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "")
  2697. || soap_body_end_out(soap)
  2698. || soap_envelope_end_out(soap))
  2699. return soap->error;
  2700. };
  2701. if (soap_end_count(soap)
  2702. || soap_response(soap, SOAP_OK)
  2703. || soap_envelope_begin_out(soap)
  2704. || soap_putheader(soap)
  2705. || soap_body_begin_out(soap)
  2706. || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "")
  2707. || soap_body_end_out(soap)
  2708. || soap_envelope_end_out(soap)
  2709. || soap_end_send(soap))
  2710. return soap->error;
  2711. return soap_closesock(soap);
  2712. }
  2713. static int serve___trt__SetVideoEncoderConfiguration(MediaBindingService *soap)
  2714. { struct __trt__SetVideoEncoderConfiguration soap_tmp___trt__SetVideoEncoderConfiguration;
  2715. _trt__SetVideoEncoderConfigurationResponse trt__SetVideoEncoderConfigurationResponse;
  2716. trt__SetVideoEncoderConfigurationResponse.soap_default(soap);
  2717. soap_default___trt__SetVideoEncoderConfiguration(soap, &soap_tmp___trt__SetVideoEncoderConfiguration);
  2718. if (!soap_get___trt__SetVideoEncoderConfiguration(soap, &soap_tmp___trt__SetVideoEncoderConfiguration, "-trt:SetVideoEncoderConfiguration", NULL))
  2719. return soap->error;
  2720. if (soap_body_end_in(soap)
  2721. || soap_envelope_end_in(soap)
  2722. || soap_end_recv(soap))
  2723. return soap->error;
  2724. soap->error = soap->SetVideoEncoderConfiguration(soap_tmp___trt__SetVideoEncoderConfiguration.trt__SetVideoEncoderConfiguration, &trt__SetVideoEncoderConfigurationResponse);
  2725. if (soap->error)
  2726. return soap->error;
  2727. soap->encodingStyle = NULL;
  2728. soap_serializeheader(soap);
  2729. trt__SetVideoEncoderConfigurationResponse.soap_serialize(soap);
  2730. if (soap_begin_count(soap))
  2731. return soap->error;
  2732. if (soap->mode & SOAP_IO_LENGTH)
  2733. { if (soap_envelope_begin_out(soap)
  2734. || soap_putheader(soap)
  2735. || soap_body_begin_out(soap)
  2736. || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "")
  2737. || soap_body_end_out(soap)
  2738. || soap_envelope_end_out(soap))
  2739. return soap->error;
  2740. };
  2741. if (soap_end_count(soap)
  2742. || soap_response(soap, SOAP_OK)
  2743. || soap_envelope_begin_out(soap)
  2744. || soap_putheader(soap)
  2745. || soap_body_begin_out(soap)
  2746. || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "")
  2747. || soap_body_end_out(soap)
  2748. || soap_envelope_end_out(soap)
  2749. || soap_end_send(soap))
  2750. return soap->error;
  2751. return soap_closesock(soap);
  2752. }
  2753. static int serve___trt__SetAudioSourceConfiguration(MediaBindingService *soap)
  2754. { struct __trt__SetAudioSourceConfiguration soap_tmp___trt__SetAudioSourceConfiguration;
  2755. _trt__SetAudioSourceConfigurationResponse trt__SetAudioSourceConfigurationResponse;
  2756. trt__SetAudioSourceConfigurationResponse.soap_default(soap);
  2757. soap_default___trt__SetAudioSourceConfiguration(soap, &soap_tmp___trt__SetAudioSourceConfiguration);
  2758. if (!soap_get___trt__SetAudioSourceConfiguration(soap, &soap_tmp___trt__SetAudioSourceConfiguration, "-trt:SetAudioSourceConfiguration", NULL))
  2759. return soap->error;
  2760. if (soap_body_end_in(soap)
  2761. || soap_envelope_end_in(soap)
  2762. || soap_end_recv(soap))
  2763. return soap->error;
  2764. soap->error = soap->SetAudioSourceConfiguration(soap_tmp___trt__SetAudioSourceConfiguration.trt__SetAudioSourceConfiguration, &trt__SetAudioSourceConfigurationResponse);
  2765. if (soap->error)
  2766. return soap->error;
  2767. soap->encodingStyle = NULL;
  2768. soap_serializeheader(soap);
  2769. trt__SetAudioSourceConfigurationResponse.soap_serialize(soap);
  2770. if (soap_begin_count(soap))
  2771. return soap->error;
  2772. if (soap->mode & SOAP_IO_LENGTH)
  2773. { if (soap_envelope_begin_out(soap)
  2774. || soap_putheader(soap)
  2775. || soap_body_begin_out(soap)
  2776. || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "")
  2777. || soap_body_end_out(soap)
  2778. || soap_envelope_end_out(soap))
  2779. return soap->error;
  2780. };
  2781. if (soap_end_count(soap)
  2782. || soap_response(soap, SOAP_OK)
  2783. || soap_envelope_begin_out(soap)
  2784. || soap_putheader(soap)
  2785. || soap_body_begin_out(soap)
  2786. || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "")
  2787. || soap_body_end_out(soap)
  2788. || soap_envelope_end_out(soap)
  2789. || soap_end_send(soap))
  2790. return soap->error;
  2791. return soap_closesock(soap);
  2792. }
  2793. static int serve___trt__SetAudioEncoderConfiguration(MediaBindingService *soap)
  2794. { struct __trt__SetAudioEncoderConfiguration soap_tmp___trt__SetAudioEncoderConfiguration;
  2795. _trt__SetAudioEncoderConfigurationResponse trt__SetAudioEncoderConfigurationResponse;
  2796. trt__SetAudioEncoderConfigurationResponse.soap_default(soap);
  2797. soap_default___trt__SetAudioEncoderConfiguration(soap, &soap_tmp___trt__SetAudioEncoderConfiguration);
  2798. if (!soap_get___trt__SetAudioEncoderConfiguration(soap, &soap_tmp___trt__SetAudioEncoderConfiguration, "-trt:SetAudioEncoderConfiguration", NULL))
  2799. return soap->error;
  2800. if (soap_body_end_in(soap)
  2801. || soap_envelope_end_in(soap)
  2802. || soap_end_recv(soap))
  2803. return soap->error;
  2804. soap->error = soap->SetAudioEncoderConfiguration(soap_tmp___trt__SetAudioEncoderConfiguration.trt__SetAudioEncoderConfiguration, &trt__SetAudioEncoderConfigurationResponse);
  2805. if (soap->error)
  2806. return soap->error;
  2807. soap->encodingStyle = NULL;
  2808. soap_serializeheader(soap);
  2809. trt__SetAudioEncoderConfigurationResponse.soap_serialize(soap);
  2810. if (soap_begin_count(soap))
  2811. return soap->error;
  2812. if (soap->mode & SOAP_IO_LENGTH)
  2813. { if (soap_envelope_begin_out(soap)
  2814. || soap_putheader(soap)
  2815. || soap_body_begin_out(soap)
  2816. || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "")
  2817. || soap_body_end_out(soap)
  2818. || soap_envelope_end_out(soap))
  2819. return soap->error;
  2820. };
  2821. if (soap_end_count(soap)
  2822. || soap_response(soap, SOAP_OK)
  2823. || soap_envelope_begin_out(soap)
  2824. || soap_putheader(soap)
  2825. || soap_body_begin_out(soap)
  2826. || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "")
  2827. || soap_body_end_out(soap)
  2828. || soap_envelope_end_out(soap)
  2829. || soap_end_send(soap))
  2830. return soap->error;
  2831. return soap_closesock(soap);
  2832. }
  2833. static int serve___trt__SetVideoAnalyticsConfiguration(MediaBindingService *soap)
  2834. { struct __trt__SetVideoAnalyticsConfiguration soap_tmp___trt__SetVideoAnalyticsConfiguration;
  2835. _trt__SetVideoAnalyticsConfigurationResponse trt__SetVideoAnalyticsConfigurationResponse;
  2836. trt__SetVideoAnalyticsConfigurationResponse.soap_default(soap);
  2837. soap_default___trt__SetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration);
  2838. if (!soap_get___trt__SetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration, "-trt:SetVideoAnalyticsConfiguration", NULL))
  2839. return soap->error;
  2840. if (soap_body_end_in(soap)
  2841. || soap_envelope_end_in(soap)
  2842. || soap_end_recv(soap))
  2843. return soap->error;
  2844. soap->error = soap->SetVideoAnalyticsConfiguration(soap_tmp___trt__SetVideoAnalyticsConfiguration.trt__SetVideoAnalyticsConfiguration, &trt__SetVideoAnalyticsConfigurationResponse);
  2845. if (soap->error)
  2846. return soap->error;
  2847. soap->encodingStyle = NULL;
  2848. soap_serializeheader(soap);
  2849. trt__SetVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  2850. if (soap_begin_count(soap))
  2851. return soap->error;
  2852. if (soap->mode & SOAP_IO_LENGTH)
  2853. { if (soap_envelope_begin_out(soap)
  2854. || soap_putheader(soap)
  2855. || soap_body_begin_out(soap)
  2856. || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "")
  2857. || soap_body_end_out(soap)
  2858. || soap_envelope_end_out(soap))
  2859. return soap->error;
  2860. };
  2861. if (soap_end_count(soap)
  2862. || soap_response(soap, SOAP_OK)
  2863. || soap_envelope_begin_out(soap)
  2864. || soap_putheader(soap)
  2865. || soap_body_begin_out(soap)
  2866. || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "")
  2867. || soap_body_end_out(soap)
  2868. || soap_envelope_end_out(soap)
  2869. || soap_end_send(soap))
  2870. return soap->error;
  2871. return soap_closesock(soap);
  2872. }
  2873. static int serve___trt__SetMetadataConfiguration(MediaBindingService *soap)
  2874. { struct __trt__SetMetadataConfiguration soap_tmp___trt__SetMetadataConfiguration;
  2875. _trt__SetMetadataConfigurationResponse trt__SetMetadataConfigurationResponse;
  2876. trt__SetMetadataConfigurationResponse.soap_default(soap);
  2877. soap_default___trt__SetMetadataConfiguration(soap, &soap_tmp___trt__SetMetadataConfiguration);
  2878. if (!soap_get___trt__SetMetadataConfiguration(soap, &soap_tmp___trt__SetMetadataConfiguration, "-trt:SetMetadataConfiguration", NULL))
  2879. return soap->error;
  2880. if (soap_body_end_in(soap)
  2881. || soap_envelope_end_in(soap)
  2882. || soap_end_recv(soap))
  2883. return soap->error;
  2884. soap->error = soap->SetMetadataConfiguration(soap_tmp___trt__SetMetadataConfiguration.trt__SetMetadataConfiguration, &trt__SetMetadataConfigurationResponse);
  2885. if (soap->error)
  2886. return soap->error;
  2887. soap->encodingStyle = NULL;
  2888. soap_serializeheader(soap);
  2889. trt__SetMetadataConfigurationResponse.soap_serialize(soap);
  2890. if (soap_begin_count(soap))
  2891. return soap->error;
  2892. if (soap->mode & SOAP_IO_LENGTH)
  2893. { if (soap_envelope_begin_out(soap)
  2894. || soap_putheader(soap)
  2895. || soap_body_begin_out(soap)
  2896. || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "")
  2897. || soap_body_end_out(soap)
  2898. || soap_envelope_end_out(soap))
  2899. return soap->error;
  2900. };
  2901. if (soap_end_count(soap)
  2902. || soap_response(soap, SOAP_OK)
  2903. || soap_envelope_begin_out(soap)
  2904. || soap_putheader(soap)
  2905. || soap_body_begin_out(soap)
  2906. || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "")
  2907. || soap_body_end_out(soap)
  2908. || soap_envelope_end_out(soap)
  2909. || soap_end_send(soap))
  2910. return soap->error;
  2911. return soap_closesock(soap);
  2912. }
  2913. static int serve___trt__SetAudioOutputConfiguration(MediaBindingService *soap)
  2914. { struct __trt__SetAudioOutputConfiguration soap_tmp___trt__SetAudioOutputConfiguration;
  2915. _trt__SetAudioOutputConfigurationResponse trt__SetAudioOutputConfigurationResponse;
  2916. trt__SetAudioOutputConfigurationResponse.soap_default(soap);
  2917. soap_default___trt__SetAudioOutputConfiguration(soap, &soap_tmp___trt__SetAudioOutputConfiguration);
  2918. if (!soap_get___trt__SetAudioOutputConfiguration(soap, &soap_tmp___trt__SetAudioOutputConfiguration, "-trt:SetAudioOutputConfiguration", NULL))
  2919. return soap->error;
  2920. if (soap_body_end_in(soap)
  2921. || soap_envelope_end_in(soap)
  2922. || soap_end_recv(soap))
  2923. return soap->error;
  2924. soap->error = soap->SetAudioOutputConfiguration(soap_tmp___trt__SetAudioOutputConfiguration.trt__SetAudioOutputConfiguration, &trt__SetAudioOutputConfigurationResponse);
  2925. if (soap->error)
  2926. return soap->error;
  2927. soap->encodingStyle = NULL;
  2928. soap_serializeheader(soap);
  2929. trt__SetAudioOutputConfigurationResponse.soap_serialize(soap);
  2930. if (soap_begin_count(soap))
  2931. return soap->error;
  2932. if (soap->mode & SOAP_IO_LENGTH)
  2933. { if (soap_envelope_begin_out(soap)
  2934. || soap_putheader(soap)
  2935. || soap_body_begin_out(soap)
  2936. || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "")
  2937. || soap_body_end_out(soap)
  2938. || soap_envelope_end_out(soap))
  2939. return soap->error;
  2940. };
  2941. if (soap_end_count(soap)
  2942. || soap_response(soap, SOAP_OK)
  2943. || soap_envelope_begin_out(soap)
  2944. || soap_putheader(soap)
  2945. || soap_body_begin_out(soap)
  2946. || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "")
  2947. || soap_body_end_out(soap)
  2948. || soap_envelope_end_out(soap)
  2949. || soap_end_send(soap))
  2950. return soap->error;
  2951. return soap_closesock(soap);
  2952. }
  2953. static int serve___trt__SetAudioDecoderConfiguration(MediaBindingService *soap)
  2954. { struct __trt__SetAudioDecoderConfiguration soap_tmp___trt__SetAudioDecoderConfiguration;
  2955. _trt__SetAudioDecoderConfigurationResponse trt__SetAudioDecoderConfigurationResponse;
  2956. trt__SetAudioDecoderConfigurationResponse.soap_default(soap);
  2957. soap_default___trt__SetAudioDecoderConfiguration(soap, &soap_tmp___trt__SetAudioDecoderConfiguration);
  2958. if (!soap_get___trt__SetAudioDecoderConfiguration(soap, &soap_tmp___trt__SetAudioDecoderConfiguration, "-trt:SetAudioDecoderConfiguration", NULL))
  2959. return soap->error;
  2960. if (soap_body_end_in(soap)
  2961. || soap_envelope_end_in(soap)
  2962. || soap_end_recv(soap))
  2963. return soap->error;
  2964. soap->error = soap->SetAudioDecoderConfiguration(soap_tmp___trt__SetAudioDecoderConfiguration.trt__SetAudioDecoderConfiguration, &trt__SetAudioDecoderConfigurationResponse);
  2965. if (soap->error)
  2966. return soap->error;
  2967. soap->encodingStyle = NULL;
  2968. soap_serializeheader(soap);
  2969. trt__SetAudioDecoderConfigurationResponse.soap_serialize(soap);
  2970. if (soap_begin_count(soap))
  2971. return soap->error;
  2972. if (soap->mode & SOAP_IO_LENGTH)
  2973. { if (soap_envelope_begin_out(soap)
  2974. || soap_putheader(soap)
  2975. || soap_body_begin_out(soap)
  2976. || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "")
  2977. || soap_body_end_out(soap)
  2978. || soap_envelope_end_out(soap))
  2979. return soap->error;
  2980. };
  2981. if (soap_end_count(soap)
  2982. || soap_response(soap, SOAP_OK)
  2983. || soap_envelope_begin_out(soap)
  2984. || soap_putheader(soap)
  2985. || soap_body_begin_out(soap)
  2986. || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "")
  2987. || soap_body_end_out(soap)
  2988. || soap_envelope_end_out(soap)
  2989. || soap_end_send(soap))
  2990. return soap->error;
  2991. return soap_closesock(soap);
  2992. }
  2993. static int serve___trt__GetVideoSourceConfigurationOptions(MediaBindingService *soap)
  2994. { struct __trt__GetVideoSourceConfigurationOptions soap_tmp___trt__GetVideoSourceConfigurationOptions;
  2995. _trt__GetVideoSourceConfigurationOptionsResponse trt__GetVideoSourceConfigurationOptionsResponse;
  2996. trt__GetVideoSourceConfigurationOptionsResponse.soap_default(soap);
  2997. soap_default___trt__GetVideoSourceConfigurationOptions(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions);
  2998. if (!soap_get___trt__GetVideoSourceConfigurationOptions(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions, "-trt:GetVideoSourceConfigurationOptions", NULL))
  2999. return soap->error;
  3000. if (soap_body_end_in(soap)
  3001. || soap_envelope_end_in(soap)
  3002. || soap_end_recv(soap))
  3003. return soap->error;
  3004. soap->error = soap->GetVideoSourceConfigurationOptions(soap_tmp___trt__GetVideoSourceConfigurationOptions.trt__GetVideoSourceConfigurationOptions, &trt__GetVideoSourceConfigurationOptionsResponse);
  3005. if (soap->error)
  3006. return soap->error;
  3007. soap->encodingStyle = NULL;
  3008. soap_serializeheader(soap);
  3009. trt__GetVideoSourceConfigurationOptionsResponse.soap_serialize(soap);
  3010. if (soap_begin_count(soap))
  3011. return soap->error;
  3012. if (soap->mode & SOAP_IO_LENGTH)
  3013. { if (soap_envelope_begin_out(soap)
  3014. || soap_putheader(soap)
  3015. || soap_body_begin_out(soap)
  3016. || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "")
  3017. || soap_body_end_out(soap)
  3018. || soap_envelope_end_out(soap))
  3019. return soap->error;
  3020. };
  3021. if (soap_end_count(soap)
  3022. || soap_response(soap, SOAP_OK)
  3023. || soap_envelope_begin_out(soap)
  3024. || soap_putheader(soap)
  3025. || soap_body_begin_out(soap)
  3026. || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "")
  3027. || soap_body_end_out(soap)
  3028. || soap_envelope_end_out(soap)
  3029. || soap_end_send(soap))
  3030. return soap->error;
  3031. return soap_closesock(soap);
  3032. }
  3033. static int serve___trt__GetVideoEncoderConfigurationOptions(MediaBindingService *soap)
  3034. { struct __trt__GetVideoEncoderConfigurationOptions soap_tmp___trt__GetVideoEncoderConfigurationOptions;
  3035. _trt__GetVideoEncoderConfigurationOptionsResponse trt__GetVideoEncoderConfigurationOptionsResponse;
  3036. trt__GetVideoEncoderConfigurationOptionsResponse.soap_default(soap);
  3037. soap_default___trt__GetVideoEncoderConfigurationOptions(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions);
  3038. if (!soap_get___trt__GetVideoEncoderConfigurationOptions(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions, "-trt:GetVideoEncoderConfigurationOptions", NULL))
  3039. return soap->error;
  3040. if (soap_body_end_in(soap)
  3041. || soap_envelope_end_in(soap)
  3042. || soap_end_recv(soap))
  3043. return soap->error;
  3044. soap->error = soap->GetVideoEncoderConfigurationOptions(soap_tmp___trt__GetVideoEncoderConfigurationOptions.trt__GetVideoEncoderConfigurationOptions, &trt__GetVideoEncoderConfigurationOptionsResponse);
  3045. if (soap->error)
  3046. return soap->error;
  3047. soap->encodingStyle = NULL;
  3048. soap_serializeheader(soap);
  3049. trt__GetVideoEncoderConfigurationOptionsResponse.soap_serialize(soap);
  3050. if (soap_begin_count(soap))
  3051. return soap->error;
  3052. if (soap->mode & SOAP_IO_LENGTH)
  3053. { if (soap_envelope_begin_out(soap)
  3054. || soap_putheader(soap)
  3055. || soap_body_begin_out(soap)
  3056. || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "")
  3057. || soap_body_end_out(soap)
  3058. || soap_envelope_end_out(soap))
  3059. return soap->error;
  3060. };
  3061. if (soap_end_count(soap)
  3062. || soap_response(soap, SOAP_OK)
  3063. || soap_envelope_begin_out(soap)
  3064. || soap_putheader(soap)
  3065. || soap_body_begin_out(soap)
  3066. || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "")
  3067. || soap_body_end_out(soap)
  3068. || soap_envelope_end_out(soap)
  3069. || soap_end_send(soap))
  3070. return soap->error;
  3071. return soap_closesock(soap);
  3072. }
  3073. static int serve___trt__GetAudioSourceConfigurationOptions(MediaBindingService *soap)
  3074. { struct __trt__GetAudioSourceConfigurationOptions soap_tmp___trt__GetAudioSourceConfigurationOptions;
  3075. _trt__GetAudioSourceConfigurationOptionsResponse trt__GetAudioSourceConfigurationOptionsResponse;
  3076. trt__GetAudioSourceConfigurationOptionsResponse.soap_default(soap);
  3077. soap_default___trt__GetAudioSourceConfigurationOptions(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions);
  3078. if (!soap_get___trt__GetAudioSourceConfigurationOptions(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions, "-trt:GetAudioSourceConfigurationOptions", NULL))
  3079. return soap->error;
  3080. if (soap_body_end_in(soap)
  3081. || soap_envelope_end_in(soap)
  3082. || soap_end_recv(soap))
  3083. return soap->error;
  3084. soap->error = soap->GetAudioSourceConfigurationOptions(soap_tmp___trt__GetAudioSourceConfigurationOptions.trt__GetAudioSourceConfigurationOptions, &trt__GetAudioSourceConfigurationOptionsResponse);
  3085. if (soap->error)
  3086. return soap->error;
  3087. soap->encodingStyle = NULL;
  3088. soap_serializeheader(soap);
  3089. trt__GetAudioSourceConfigurationOptionsResponse.soap_serialize(soap);
  3090. if (soap_begin_count(soap))
  3091. return soap->error;
  3092. if (soap->mode & SOAP_IO_LENGTH)
  3093. { if (soap_envelope_begin_out(soap)
  3094. || soap_putheader(soap)
  3095. || soap_body_begin_out(soap)
  3096. || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "")
  3097. || soap_body_end_out(soap)
  3098. || soap_envelope_end_out(soap))
  3099. return soap->error;
  3100. };
  3101. if (soap_end_count(soap)
  3102. || soap_response(soap, SOAP_OK)
  3103. || soap_envelope_begin_out(soap)
  3104. || soap_putheader(soap)
  3105. || soap_body_begin_out(soap)
  3106. || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "")
  3107. || soap_body_end_out(soap)
  3108. || soap_envelope_end_out(soap)
  3109. || soap_end_send(soap))
  3110. return soap->error;
  3111. return soap_closesock(soap);
  3112. }
  3113. static int serve___trt__GetAudioEncoderConfigurationOptions(MediaBindingService *soap)
  3114. { struct __trt__GetAudioEncoderConfigurationOptions soap_tmp___trt__GetAudioEncoderConfigurationOptions;
  3115. _trt__GetAudioEncoderConfigurationOptionsResponse trt__GetAudioEncoderConfigurationOptionsResponse;
  3116. trt__GetAudioEncoderConfigurationOptionsResponse.soap_default(soap);
  3117. soap_default___trt__GetAudioEncoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions);
  3118. if (!soap_get___trt__GetAudioEncoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions, "-trt:GetAudioEncoderConfigurationOptions", NULL))
  3119. return soap->error;
  3120. if (soap_body_end_in(soap)
  3121. || soap_envelope_end_in(soap)
  3122. || soap_end_recv(soap))
  3123. return soap->error;
  3124. soap->error = soap->GetAudioEncoderConfigurationOptions(soap_tmp___trt__GetAudioEncoderConfigurationOptions.trt__GetAudioEncoderConfigurationOptions, &trt__GetAudioEncoderConfigurationOptionsResponse);
  3125. if (soap->error)
  3126. return soap->error;
  3127. soap->encodingStyle = NULL;
  3128. soap_serializeheader(soap);
  3129. trt__GetAudioEncoderConfigurationOptionsResponse.soap_serialize(soap);
  3130. if (soap_begin_count(soap))
  3131. return soap->error;
  3132. if (soap->mode & SOAP_IO_LENGTH)
  3133. { if (soap_envelope_begin_out(soap)
  3134. || soap_putheader(soap)
  3135. || soap_body_begin_out(soap)
  3136. || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "")
  3137. || soap_body_end_out(soap)
  3138. || soap_envelope_end_out(soap))
  3139. return soap->error;
  3140. };
  3141. if (soap_end_count(soap)
  3142. || soap_response(soap, SOAP_OK)
  3143. || soap_envelope_begin_out(soap)
  3144. || soap_putheader(soap)
  3145. || soap_body_begin_out(soap)
  3146. || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "")
  3147. || soap_body_end_out(soap)
  3148. || soap_envelope_end_out(soap)
  3149. || soap_end_send(soap))
  3150. return soap->error;
  3151. return soap_closesock(soap);
  3152. }
  3153. static int serve___trt__GetMetadataConfigurationOptions(MediaBindingService *soap)
  3154. { struct __trt__GetMetadataConfigurationOptions soap_tmp___trt__GetMetadataConfigurationOptions;
  3155. _trt__GetMetadataConfigurationOptionsResponse trt__GetMetadataConfigurationOptionsResponse;
  3156. trt__GetMetadataConfigurationOptionsResponse.soap_default(soap);
  3157. soap_default___trt__GetMetadataConfigurationOptions(soap, &soap_tmp___trt__GetMetadataConfigurationOptions);
  3158. if (!soap_get___trt__GetMetadataConfigurationOptions(soap, &soap_tmp___trt__GetMetadataConfigurationOptions, "-trt:GetMetadataConfigurationOptions", NULL))
  3159. return soap->error;
  3160. if (soap_body_end_in(soap)
  3161. || soap_envelope_end_in(soap)
  3162. || soap_end_recv(soap))
  3163. return soap->error;
  3164. soap->error = soap->GetMetadataConfigurationOptions(soap_tmp___trt__GetMetadataConfigurationOptions.trt__GetMetadataConfigurationOptions, &trt__GetMetadataConfigurationOptionsResponse);
  3165. if (soap->error)
  3166. return soap->error;
  3167. soap->encodingStyle = NULL;
  3168. soap_serializeheader(soap);
  3169. trt__GetMetadataConfigurationOptionsResponse.soap_serialize(soap);
  3170. if (soap_begin_count(soap))
  3171. return soap->error;
  3172. if (soap->mode & SOAP_IO_LENGTH)
  3173. { if (soap_envelope_begin_out(soap)
  3174. || soap_putheader(soap)
  3175. || soap_body_begin_out(soap)
  3176. || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "")
  3177. || soap_body_end_out(soap)
  3178. || soap_envelope_end_out(soap))
  3179. return soap->error;
  3180. };
  3181. if (soap_end_count(soap)
  3182. || soap_response(soap, SOAP_OK)
  3183. || soap_envelope_begin_out(soap)
  3184. || soap_putheader(soap)
  3185. || soap_body_begin_out(soap)
  3186. || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "")
  3187. || soap_body_end_out(soap)
  3188. || soap_envelope_end_out(soap)
  3189. || soap_end_send(soap))
  3190. return soap->error;
  3191. return soap_closesock(soap);
  3192. }
  3193. static int serve___trt__GetAudioOutputConfigurationOptions(MediaBindingService *soap)
  3194. { struct __trt__GetAudioOutputConfigurationOptions soap_tmp___trt__GetAudioOutputConfigurationOptions;
  3195. _trt__GetAudioOutputConfigurationOptionsResponse trt__GetAudioOutputConfigurationOptionsResponse;
  3196. trt__GetAudioOutputConfigurationOptionsResponse.soap_default(soap);
  3197. soap_default___trt__GetAudioOutputConfigurationOptions(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions);
  3198. if (!soap_get___trt__GetAudioOutputConfigurationOptions(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions, "-trt:GetAudioOutputConfigurationOptions", NULL))
  3199. return soap->error;
  3200. if (soap_body_end_in(soap)
  3201. || soap_envelope_end_in(soap)
  3202. || soap_end_recv(soap))
  3203. return soap->error;
  3204. soap->error = soap->GetAudioOutputConfigurationOptions(soap_tmp___trt__GetAudioOutputConfigurationOptions.trt__GetAudioOutputConfigurationOptions, &trt__GetAudioOutputConfigurationOptionsResponse);
  3205. if (soap->error)
  3206. return soap->error;
  3207. soap->encodingStyle = NULL;
  3208. soap_serializeheader(soap);
  3209. trt__GetAudioOutputConfigurationOptionsResponse.soap_serialize(soap);
  3210. if (soap_begin_count(soap))
  3211. return soap->error;
  3212. if (soap->mode & SOAP_IO_LENGTH)
  3213. { if (soap_envelope_begin_out(soap)
  3214. || soap_putheader(soap)
  3215. || soap_body_begin_out(soap)
  3216. || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "")
  3217. || soap_body_end_out(soap)
  3218. || soap_envelope_end_out(soap))
  3219. return soap->error;
  3220. };
  3221. if (soap_end_count(soap)
  3222. || soap_response(soap, SOAP_OK)
  3223. || soap_envelope_begin_out(soap)
  3224. || soap_putheader(soap)
  3225. || soap_body_begin_out(soap)
  3226. || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "")
  3227. || soap_body_end_out(soap)
  3228. || soap_envelope_end_out(soap)
  3229. || soap_end_send(soap))
  3230. return soap->error;
  3231. return soap_closesock(soap);
  3232. }
  3233. static int serve___trt__GetAudioDecoderConfigurationOptions(MediaBindingService *soap)
  3234. { struct __trt__GetAudioDecoderConfigurationOptions soap_tmp___trt__GetAudioDecoderConfigurationOptions;
  3235. _trt__GetAudioDecoderConfigurationOptionsResponse trt__GetAudioDecoderConfigurationOptionsResponse;
  3236. trt__GetAudioDecoderConfigurationOptionsResponse.soap_default(soap);
  3237. soap_default___trt__GetAudioDecoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions);
  3238. if (!soap_get___trt__GetAudioDecoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions, "-trt:GetAudioDecoderConfigurationOptions", NULL))
  3239. return soap->error;
  3240. if (soap_body_end_in(soap)
  3241. || soap_envelope_end_in(soap)
  3242. || soap_end_recv(soap))
  3243. return soap->error;
  3244. soap->error = soap->GetAudioDecoderConfigurationOptions(soap_tmp___trt__GetAudioDecoderConfigurationOptions.trt__GetAudioDecoderConfigurationOptions, &trt__GetAudioDecoderConfigurationOptionsResponse);
  3245. if (soap->error)
  3246. return soap->error;
  3247. soap->encodingStyle = NULL;
  3248. soap_serializeheader(soap);
  3249. trt__GetAudioDecoderConfigurationOptionsResponse.soap_serialize(soap);
  3250. if (soap_begin_count(soap))
  3251. return soap->error;
  3252. if (soap->mode & SOAP_IO_LENGTH)
  3253. { if (soap_envelope_begin_out(soap)
  3254. || soap_putheader(soap)
  3255. || soap_body_begin_out(soap)
  3256. || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "")
  3257. || soap_body_end_out(soap)
  3258. || soap_envelope_end_out(soap))
  3259. return soap->error;
  3260. };
  3261. if (soap_end_count(soap)
  3262. || soap_response(soap, SOAP_OK)
  3263. || soap_envelope_begin_out(soap)
  3264. || soap_putheader(soap)
  3265. || soap_body_begin_out(soap)
  3266. || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "")
  3267. || soap_body_end_out(soap)
  3268. || soap_envelope_end_out(soap)
  3269. || soap_end_send(soap))
  3270. return soap->error;
  3271. return soap_closesock(soap);
  3272. }
  3273. static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(MediaBindingService *soap)
  3274. { struct __trt__GetGuaranteedNumberOfVideoEncoderInstances soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances;
  3275. _trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse;
  3276. trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_default(soap);
  3277. soap_default___trt__GetGuaranteedNumberOfVideoEncoderInstances(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances);
  3278. if (!soap_get___trt__GetGuaranteedNumberOfVideoEncoderInstances(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances, "-trt:GetGuaranteedNumberOfVideoEncoderInstances", NULL))
  3279. return soap->error;
  3280. if (soap_body_end_in(soap)
  3281. || soap_envelope_end_in(soap)
  3282. || soap_end_recv(soap))
  3283. return soap->error;
  3284. soap->error = soap->GetGuaranteedNumberOfVideoEncoderInstances(soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances.trt__GetGuaranteedNumberOfVideoEncoderInstances, &trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse);
  3285. if (soap->error)
  3286. return soap->error;
  3287. soap->encodingStyle = NULL;
  3288. soap_serializeheader(soap);
  3289. trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_serialize(soap);
  3290. if (soap_begin_count(soap))
  3291. return soap->error;
  3292. if (soap->mode & SOAP_IO_LENGTH)
  3293. { if (soap_envelope_begin_out(soap)
  3294. || soap_putheader(soap)
  3295. || soap_body_begin_out(soap)
  3296. || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "")
  3297. || soap_body_end_out(soap)
  3298. || soap_envelope_end_out(soap))
  3299. return soap->error;
  3300. };
  3301. if (soap_end_count(soap)
  3302. || soap_response(soap, SOAP_OK)
  3303. || soap_envelope_begin_out(soap)
  3304. || soap_putheader(soap)
  3305. || soap_body_begin_out(soap)
  3306. || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "")
  3307. || soap_body_end_out(soap)
  3308. || soap_envelope_end_out(soap)
  3309. || soap_end_send(soap))
  3310. return soap->error;
  3311. return soap_closesock(soap);
  3312. }
  3313. static int serve___trt__GetStreamUri(MediaBindingService *soap)
  3314. { struct __trt__GetStreamUri soap_tmp___trt__GetStreamUri;
  3315. _trt__GetStreamUriResponse trt__GetStreamUriResponse;
  3316. trt__GetStreamUriResponse.soap_default(soap);
  3317. soap_default___trt__GetStreamUri(soap, &soap_tmp___trt__GetStreamUri);
  3318. if (!soap_get___trt__GetStreamUri(soap, &soap_tmp___trt__GetStreamUri, "-trt:GetStreamUri", NULL))
  3319. return soap->error;
  3320. if (soap_body_end_in(soap)
  3321. || soap_envelope_end_in(soap)
  3322. || soap_end_recv(soap))
  3323. return soap->error;
  3324. soap->error = soap->GetStreamUri(soap_tmp___trt__GetStreamUri.trt__GetStreamUri, &trt__GetStreamUriResponse);
  3325. if (soap->error)
  3326. return soap->error;
  3327. soap->encodingStyle = NULL;
  3328. soap_serializeheader(soap);
  3329. trt__GetStreamUriResponse.soap_serialize(soap);
  3330. if (soap_begin_count(soap))
  3331. return soap->error;
  3332. if (soap->mode & SOAP_IO_LENGTH)
  3333. { if (soap_envelope_begin_out(soap)
  3334. || soap_putheader(soap)
  3335. || soap_body_begin_out(soap)
  3336. || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "")
  3337. || soap_body_end_out(soap)
  3338. || soap_envelope_end_out(soap))
  3339. return soap->error;
  3340. };
  3341. if (soap_end_count(soap)
  3342. || soap_response(soap, SOAP_OK)
  3343. || soap_envelope_begin_out(soap)
  3344. || soap_putheader(soap)
  3345. || soap_body_begin_out(soap)
  3346. || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "")
  3347. || soap_body_end_out(soap)
  3348. || soap_envelope_end_out(soap)
  3349. || soap_end_send(soap))
  3350. return soap->error;
  3351. return soap_closesock(soap);
  3352. }
  3353. static int serve___trt__StartMulticastStreaming(MediaBindingService *soap)
  3354. { struct __trt__StartMulticastStreaming soap_tmp___trt__StartMulticastStreaming;
  3355. _trt__StartMulticastStreamingResponse trt__StartMulticastStreamingResponse;
  3356. trt__StartMulticastStreamingResponse.soap_default(soap);
  3357. soap_default___trt__StartMulticastStreaming(soap, &soap_tmp___trt__StartMulticastStreaming);
  3358. if (!soap_get___trt__StartMulticastStreaming(soap, &soap_tmp___trt__StartMulticastStreaming, "-trt:StartMulticastStreaming", NULL))
  3359. return soap->error;
  3360. if (soap_body_end_in(soap)
  3361. || soap_envelope_end_in(soap)
  3362. || soap_end_recv(soap))
  3363. return soap->error;
  3364. soap->error = soap->StartMulticastStreaming(soap_tmp___trt__StartMulticastStreaming.trt__StartMulticastStreaming, &trt__StartMulticastStreamingResponse);
  3365. if (soap->error)
  3366. return soap->error;
  3367. soap->encodingStyle = NULL;
  3368. soap_serializeheader(soap);
  3369. trt__StartMulticastStreamingResponse.soap_serialize(soap);
  3370. if (soap_begin_count(soap))
  3371. return soap->error;
  3372. if (soap->mode & SOAP_IO_LENGTH)
  3373. { if (soap_envelope_begin_out(soap)
  3374. || soap_putheader(soap)
  3375. || soap_body_begin_out(soap)
  3376. || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "")
  3377. || soap_body_end_out(soap)
  3378. || soap_envelope_end_out(soap))
  3379. return soap->error;
  3380. };
  3381. if (soap_end_count(soap)
  3382. || soap_response(soap, SOAP_OK)
  3383. || soap_envelope_begin_out(soap)
  3384. || soap_putheader(soap)
  3385. || soap_body_begin_out(soap)
  3386. || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "")
  3387. || soap_body_end_out(soap)
  3388. || soap_envelope_end_out(soap)
  3389. || soap_end_send(soap))
  3390. return soap->error;
  3391. return soap_closesock(soap);
  3392. }
  3393. static int serve___trt__StopMulticastStreaming(MediaBindingService *soap)
  3394. { struct __trt__StopMulticastStreaming soap_tmp___trt__StopMulticastStreaming;
  3395. _trt__StopMulticastStreamingResponse trt__StopMulticastStreamingResponse;
  3396. trt__StopMulticastStreamingResponse.soap_default(soap);
  3397. soap_default___trt__StopMulticastStreaming(soap, &soap_tmp___trt__StopMulticastStreaming);
  3398. if (!soap_get___trt__StopMulticastStreaming(soap, &soap_tmp___trt__StopMulticastStreaming, "-trt:StopMulticastStreaming", NULL))
  3399. return soap->error;
  3400. if (soap_body_end_in(soap)
  3401. || soap_envelope_end_in(soap)
  3402. || soap_end_recv(soap))
  3403. return soap->error;
  3404. soap->error = soap->StopMulticastStreaming(soap_tmp___trt__StopMulticastStreaming.trt__StopMulticastStreaming, &trt__StopMulticastStreamingResponse);
  3405. if (soap->error)
  3406. return soap->error;
  3407. soap->encodingStyle = NULL;
  3408. soap_serializeheader(soap);
  3409. trt__StopMulticastStreamingResponse.soap_serialize(soap);
  3410. if (soap_begin_count(soap))
  3411. return soap->error;
  3412. if (soap->mode & SOAP_IO_LENGTH)
  3413. { if (soap_envelope_begin_out(soap)
  3414. || soap_putheader(soap)
  3415. || soap_body_begin_out(soap)
  3416. || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "")
  3417. || soap_body_end_out(soap)
  3418. || soap_envelope_end_out(soap))
  3419. return soap->error;
  3420. };
  3421. if (soap_end_count(soap)
  3422. || soap_response(soap, SOAP_OK)
  3423. || soap_envelope_begin_out(soap)
  3424. || soap_putheader(soap)
  3425. || soap_body_begin_out(soap)
  3426. || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "")
  3427. || soap_body_end_out(soap)
  3428. || soap_envelope_end_out(soap)
  3429. || soap_end_send(soap))
  3430. return soap->error;
  3431. return soap_closesock(soap);
  3432. }
  3433. static int serve___trt__SetSynchronizationPoint(MediaBindingService *soap)
  3434. { struct __trt__SetSynchronizationPoint soap_tmp___trt__SetSynchronizationPoint;
  3435. _trt__SetSynchronizationPointResponse trt__SetSynchronizationPointResponse;
  3436. trt__SetSynchronizationPointResponse.soap_default(soap);
  3437. soap_default___trt__SetSynchronizationPoint(soap, &soap_tmp___trt__SetSynchronizationPoint);
  3438. if (!soap_get___trt__SetSynchronizationPoint(soap, &soap_tmp___trt__SetSynchronizationPoint, "-trt:SetSynchronizationPoint", NULL))
  3439. return soap->error;
  3440. if (soap_body_end_in(soap)
  3441. || soap_envelope_end_in(soap)
  3442. || soap_end_recv(soap))
  3443. return soap->error;
  3444. soap->error = soap->SetSynchronizationPoint(soap_tmp___trt__SetSynchronizationPoint.trt__SetSynchronizationPoint, &trt__SetSynchronizationPointResponse);
  3445. if (soap->error)
  3446. return soap->error;
  3447. soap->encodingStyle = NULL;
  3448. soap_serializeheader(soap);
  3449. trt__SetSynchronizationPointResponse.soap_serialize(soap);
  3450. if (soap_begin_count(soap))
  3451. return soap->error;
  3452. if (soap->mode & SOAP_IO_LENGTH)
  3453. { if (soap_envelope_begin_out(soap)
  3454. || soap_putheader(soap)
  3455. || soap_body_begin_out(soap)
  3456. || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "")
  3457. || soap_body_end_out(soap)
  3458. || soap_envelope_end_out(soap))
  3459. return soap->error;
  3460. };
  3461. if (soap_end_count(soap)
  3462. || soap_response(soap, SOAP_OK)
  3463. || soap_envelope_begin_out(soap)
  3464. || soap_putheader(soap)
  3465. || soap_body_begin_out(soap)
  3466. || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "")
  3467. || soap_body_end_out(soap)
  3468. || soap_envelope_end_out(soap)
  3469. || soap_end_send(soap))
  3470. return soap->error;
  3471. return soap_closesock(soap);
  3472. }
  3473. static int serve___trt__GetSnapshotUri(MediaBindingService *soap)
  3474. { struct __trt__GetSnapshotUri soap_tmp___trt__GetSnapshotUri;
  3475. _trt__GetSnapshotUriResponse trt__GetSnapshotUriResponse;
  3476. trt__GetSnapshotUriResponse.soap_default(soap);
  3477. soap_default___trt__GetSnapshotUri(soap, &soap_tmp___trt__GetSnapshotUri);
  3478. if (!soap_get___trt__GetSnapshotUri(soap, &soap_tmp___trt__GetSnapshotUri, "-trt:GetSnapshotUri", NULL))
  3479. return soap->error;
  3480. if (soap_body_end_in(soap)
  3481. || soap_envelope_end_in(soap)
  3482. || soap_end_recv(soap))
  3483. return soap->error;
  3484. soap->error = soap->GetSnapshotUri(soap_tmp___trt__GetSnapshotUri.trt__GetSnapshotUri, &trt__GetSnapshotUriResponse);
  3485. if (soap->error)
  3486. return soap->error;
  3487. soap->encodingStyle = NULL;
  3488. soap_serializeheader(soap);
  3489. trt__GetSnapshotUriResponse.soap_serialize(soap);
  3490. if (soap_begin_count(soap))
  3491. return soap->error;
  3492. if (soap->mode & SOAP_IO_LENGTH)
  3493. { if (soap_envelope_begin_out(soap)
  3494. || soap_putheader(soap)
  3495. || soap_body_begin_out(soap)
  3496. || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "")
  3497. || soap_body_end_out(soap)
  3498. || soap_envelope_end_out(soap))
  3499. return soap->error;
  3500. };
  3501. if (soap_end_count(soap)
  3502. || soap_response(soap, SOAP_OK)
  3503. || soap_envelope_begin_out(soap)
  3504. || soap_putheader(soap)
  3505. || soap_body_begin_out(soap)
  3506. || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "")
  3507. || soap_body_end_out(soap)
  3508. || soap_envelope_end_out(soap)
  3509. || soap_end_send(soap))
  3510. return soap->error;
  3511. return soap_closesock(soap);
  3512. }
  3513. static int serve___trt__GetVideoSourceModes(MediaBindingService *soap)
  3514. { struct __trt__GetVideoSourceModes soap_tmp___trt__GetVideoSourceModes;
  3515. _trt__GetVideoSourceModesResponse trt__GetVideoSourceModesResponse;
  3516. trt__GetVideoSourceModesResponse.soap_default(soap);
  3517. soap_default___trt__GetVideoSourceModes(soap, &soap_tmp___trt__GetVideoSourceModes);
  3518. if (!soap_get___trt__GetVideoSourceModes(soap, &soap_tmp___trt__GetVideoSourceModes, "-trt:GetVideoSourceModes", NULL))
  3519. return soap->error;
  3520. if (soap_body_end_in(soap)
  3521. || soap_envelope_end_in(soap)
  3522. || soap_end_recv(soap))
  3523. return soap->error;
  3524. soap->error = soap->GetVideoSourceModes(soap_tmp___trt__GetVideoSourceModes.trt__GetVideoSourceModes, &trt__GetVideoSourceModesResponse);
  3525. if (soap->error)
  3526. return soap->error;
  3527. soap->encodingStyle = NULL;
  3528. soap_serializeheader(soap);
  3529. trt__GetVideoSourceModesResponse.soap_serialize(soap);
  3530. if (soap_begin_count(soap))
  3531. return soap->error;
  3532. if (soap->mode & SOAP_IO_LENGTH)
  3533. { if (soap_envelope_begin_out(soap)
  3534. || soap_putheader(soap)
  3535. || soap_body_begin_out(soap)
  3536. || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "")
  3537. || soap_body_end_out(soap)
  3538. || soap_envelope_end_out(soap))
  3539. return soap->error;
  3540. };
  3541. if (soap_end_count(soap)
  3542. || soap_response(soap, SOAP_OK)
  3543. || soap_envelope_begin_out(soap)
  3544. || soap_putheader(soap)
  3545. || soap_body_begin_out(soap)
  3546. || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "")
  3547. || soap_body_end_out(soap)
  3548. || soap_envelope_end_out(soap)
  3549. || soap_end_send(soap))
  3550. return soap->error;
  3551. return soap_closesock(soap);
  3552. }
  3553. static int serve___trt__SetVideoSourceMode(MediaBindingService *soap)
  3554. { struct __trt__SetVideoSourceMode soap_tmp___trt__SetVideoSourceMode;
  3555. _trt__SetVideoSourceModeResponse trt__SetVideoSourceModeResponse;
  3556. trt__SetVideoSourceModeResponse.soap_default(soap);
  3557. soap_default___trt__SetVideoSourceMode(soap, &soap_tmp___trt__SetVideoSourceMode);
  3558. if (!soap_get___trt__SetVideoSourceMode(soap, &soap_tmp___trt__SetVideoSourceMode, "-trt:SetVideoSourceMode", NULL))
  3559. return soap->error;
  3560. if (soap_body_end_in(soap)
  3561. || soap_envelope_end_in(soap)
  3562. || soap_end_recv(soap))
  3563. return soap->error;
  3564. soap->error = soap->SetVideoSourceMode(soap_tmp___trt__SetVideoSourceMode.trt__SetVideoSourceMode, &trt__SetVideoSourceModeResponse);
  3565. if (soap->error)
  3566. return soap->error;
  3567. soap->encodingStyle = NULL;
  3568. soap_serializeheader(soap);
  3569. trt__SetVideoSourceModeResponse.soap_serialize(soap);
  3570. if (soap_begin_count(soap))
  3571. return soap->error;
  3572. if (soap->mode & SOAP_IO_LENGTH)
  3573. { if (soap_envelope_begin_out(soap)
  3574. || soap_putheader(soap)
  3575. || soap_body_begin_out(soap)
  3576. || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "")
  3577. || soap_body_end_out(soap)
  3578. || soap_envelope_end_out(soap))
  3579. return soap->error;
  3580. };
  3581. if (soap_end_count(soap)
  3582. || soap_response(soap, SOAP_OK)
  3583. || soap_envelope_begin_out(soap)
  3584. || soap_putheader(soap)
  3585. || soap_body_begin_out(soap)
  3586. || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "")
  3587. || soap_body_end_out(soap)
  3588. || soap_envelope_end_out(soap)
  3589. || soap_end_send(soap))
  3590. return soap->error;
  3591. return soap_closesock(soap);
  3592. }
  3593. static int serve___trt__GetOSDs(MediaBindingService *soap)
  3594. { struct __trt__GetOSDs soap_tmp___trt__GetOSDs;
  3595. _trt__GetOSDsResponse trt__GetOSDsResponse;
  3596. trt__GetOSDsResponse.soap_default(soap);
  3597. soap_default___trt__GetOSDs(soap, &soap_tmp___trt__GetOSDs);
  3598. if (!soap_get___trt__GetOSDs(soap, &soap_tmp___trt__GetOSDs, "-trt:GetOSDs", NULL))
  3599. return soap->error;
  3600. if (soap_body_end_in(soap)
  3601. || soap_envelope_end_in(soap)
  3602. || soap_end_recv(soap))
  3603. return soap->error;
  3604. soap->error = soap->GetOSDs(soap_tmp___trt__GetOSDs.trt__GetOSDs, &trt__GetOSDsResponse);
  3605. if (soap->error)
  3606. return soap->error;
  3607. soap->encodingStyle = NULL;
  3608. soap_serializeheader(soap);
  3609. trt__GetOSDsResponse.soap_serialize(soap);
  3610. if (soap_begin_count(soap))
  3611. return soap->error;
  3612. if (soap->mode & SOAP_IO_LENGTH)
  3613. { if (soap_envelope_begin_out(soap)
  3614. || soap_putheader(soap)
  3615. || soap_body_begin_out(soap)
  3616. || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "")
  3617. || soap_body_end_out(soap)
  3618. || soap_envelope_end_out(soap))
  3619. return soap->error;
  3620. };
  3621. if (soap_end_count(soap)
  3622. || soap_response(soap, SOAP_OK)
  3623. || soap_envelope_begin_out(soap)
  3624. || soap_putheader(soap)
  3625. || soap_body_begin_out(soap)
  3626. || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "")
  3627. || soap_body_end_out(soap)
  3628. || soap_envelope_end_out(soap)
  3629. || soap_end_send(soap))
  3630. return soap->error;
  3631. return soap_closesock(soap);
  3632. }
  3633. static int serve___trt__GetOSD(MediaBindingService *soap)
  3634. { struct __trt__GetOSD soap_tmp___trt__GetOSD;
  3635. _trt__GetOSDResponse trt__GetOSDResponse;
  3636. trt__GetOSDResponse.soap_default(soap);
  3637. soap_default___trt__GetOSD(soap, &soap_tmp___trt__GetOSD);
  3638. if (!soap_get___trt__GetOSD(soap, &soap_tmp___trt__GetOSD, "-trt:GetOSD", NULL))
  3639. return soap->error;
  3640. if (soap_body_end_in(soap)
  3641. || soap_envelope_end_in(soap)
  3642. || soap_end_recv(soap))
  3643. return soap->error;
  3644. soap->error = soap->GetOSD(soap_tmp___trt__GetOSD.trt__GetOSD, &trt__GetOSDResponse);
  3645. if (soap->error)
  3646. return soap->error;
  3647. soap->encodingStyle = NULL;
  3648. soap_serializeheader(soap);
  3649. trt__GetOSDResponse.soap_serialize(soap);
  3650. if (soap_begin_count(soap))
  3651. return soap->error;
  3652. if (soap->mode & SOAP_IO_LENGTH)
  3653. { if (soap_envelope_begin_out(soap)
  3654. || soap_putheader(soap)
  3655. || soap_body_begin_out(soap)
  3656. || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "")
  3657. || soap_body_end_out(soap)
  3658. || soap_envelope_end_out(soap))
  3659. return soap->error;
  3660. };
  3661. if (soap_end_count(soap)
  3662. || soap_response(soap, SOAP_OK)
  3663. || soap_envelope_begin_out(soap)
  3664. || soap_putheader(soap)
  3665. || soap_body_begin_out(soap)
  3666. || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "")
  3667. || soap_body_end_out(soap)
  3668. || soap_envelope_end_out(soap)
  3669. || soap_end_send(soap))
  3670. return soap->error;
  3671. return soap_closesock(soap);
  3672. }
  3673. static int serve___trt__GetOSDOptions(MediaBindingService *soap)
  3674. { struct __trt__GetOSDOptions soap_tmp___trt__GetOSDOptions;
  3675. _trt__GetOSDOptionsResponse trt__GetOSDOptionsResponse;
  3676. trt__GetOSDOptionsResponse.soap_default(soap);
  3677. soap_default___trt__GetOSDOptions(soap, &soap_tmp___trt__GetOSDOptions);
  3678. if (!soap_get___trt__GetOSDOptions(soap, &soap_tmp___trt__GetOSDOptions, "-trt:GetOSDOptions", NULL))
  3679. return soap->error;
  3680. if (soap_body_end_in(soap)
  3681. || soap_envelope_end_in(soap)
  3682. || soap_end_recv(soap))
  3683. return soap->error;
  3684. soap->error = soap->GetOSDOptions(soap_tmp___trt__GetOSDOptions.trt__GetOSDOptions, &trt__GetOSDOptionsResponse);
  3685. if (soap->error)
  3686. return soap->error;
  3687. soap->encodingStyle = NULL;
  3688. soap_serializeheader(soap);
  3689. trt__GetOSDOptionsResponse.soap_serialize(soap);
  3690. if (soap_begin_count(soap))
  3691. return soap->error;
  3692. if (soap->mode & SOAP_IO_LENGTH)
  3693. { if (soap_envelope_begin_out(soap)
  3694. || soap_putheader(soap)
  3695. || soap_body_begin_out(soap)
  3696. || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "")
  3697. || soap_body_end_out(soap)
  3698. || soap_envelope_end_out(soap))
  3699. return soap->error;
  3700. };
  3701. if (soap_end_count(soap)
  3702. || soap_response(soap, SOAP_OK)
  3703. || soap_envelope_begin_out(soap)
  3704. || soap_putheader(soap)
  3705. || soap_body_begin_out(soap)
  3706. || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "")
  3707. || soap_body_end_out(soap)
  3708. || soap_envelope_end_out(soap)
  3709. || soap_end_send(soap))
  3710. return soap->error;
  3711. return soap_closesock(soap);
  3712. }
  3713. static int serve___trt__SetOSD(MediaBindingService *soap)
  3714. { struct __trt__SetOSD soap_tmp___trt__SetOSD;
  3715. _trt__SetOSDResponse trt__SetOSDResponse;
  3716. trt__SetOSDResponse.soap_default(soap);
  3717. soap_default___trt__SetOSD(soap, &soap_tmp___trt__SetOSD);
  3718. if (!soap_get___trt__SetOSD(soap, &soap_tmp___trt__SetOSD, "-trt:SetOSD", NULL))
  3719. return soap->error;
  3720. if (soap_body_end_in(soap)
  3721. || soap_envelope_end_in(soap)
  3722. || soap_end_recv(soap))
  3723. return soap->error;
  3724. soap->error = soap->SetOSD(soap_tmp___trt__SetOSD.trt__SetOSD, &trt__SetOSDResponse);
  3725. if (soap->error)
  3726. return soap->error;
  3727. soap->encodingStyle = NULL;
  3728. soap_serializeheader(soap);
  3729. trt__SetOSDResponse.soap_serialize(soap);
  3730. if (soap_begin_count(soap))
  3731. return soap->error;
  3732. if (soap->mode & SOAP_IO_LENGTH)
  3733. { if (soap_envelope_begin_out(soap)
  3734. || soap_putheader(soap)
  3735. || soap_body_begin_out(soap)
  3736. || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "")
  3737. || soap_body_end_out(soap)
  3738. || soap_envelope_end_out(soap))
  3739. return soap->error;
  3740. };
  3741. if (soap_end_count(soap)
  3742. || soap_response(soap, SOAP_OK)
  3743. || soap_envelope_begin_out(soap)
  3744. || soap_putheader(soap)
  3745. || soap_body_begin_out(soap)
  3746. || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "")
  3747. || soap_body_end_out(soap)
  3748. || soap_envelope_end_out(soap)
  3749. || soap_end_send(soap))
  3750. return soap->error;
  3751. return soap_closesock(soap);
  3752. }
  3753. static int serve___trt__CreateOSD(MediaBindingService *soap)
  3754. { struct __trt__CreateOSD soap_tmp___trt__CreateOSD;
  3755. _trt__CreateOSDResponse trt__CreateOSDResponse;
  3756. trt__CreateOSDResponse.soap_default(soap);
  3757. soap_default___trt__CreateOSD(soap, &soap_tmp___trt__CreateOSD);
  3758. if (!soap_get___trt__CreateOSD(soap, &soap_tmp___trt__CreateOSD, "-trt:CreateOSD", NULL))
  3759. return soap->error;
  3760. if (soap_body_end_in(soap)
  3761. || soap_envelope_end_in(soap)
  3762. || soap_end_recv(soap))
  3763. return soap->error;
  3764. soap->error = soap->CreateOSD(soap_tmp___trt__CreateOSD.trt__CreateOSD, &trt__CreateOSDResponse);
  3765. if (soap->error)
  3766. return soap->error;
  3767. soap->encodingStyle = NULL;
  3768. soap_serializeheader(soap);
  3769. trt__CreateOSDResponse.soap_serialize(soap);
  3770. if (soap_begin_count(soap))
  3771. return soap->error;
  3772. if (soap->mode & SOAP_IO_LENGTH)
  3773. { if (soap_envelope_begin_out(soap)
  3774. || soap_putheader(soap)
  3775. || soap_body_begin_out(soap)
  3776. || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "")
  3777. || soap_body_end_out(soap)
  3778. || soap_envelope_end_out(soap))
  3779. return soap->error;
  3780. };
  3781. if (soap_end_count(soap)
  3782. || soap_response(soap, SOAP_OK)
  3783. || soap_envelope_begin_out(soap)
  3784. || soap_putheader(soap)
  3785. || soap_body_begin_out(soap)
  3786. || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "")
  3787. || soap_body_end_out(soap)
  3788. || soap_envelope_end_out(soap)
  3789. || soap_end_send(soap))
  3790. return soap->error;
  3791. return soap_closesock(soap);
  3792. }
  3793. static int serve___trt__DeleteOSD(MediaBindingService *soap)
  3794. { struct __trt__DeleteOSD soap_tmp___trt__DeleteOSD;
  3795. _trt__DeleteOSDResponse trt__DeleteOSDResponse;
  3796. trt__DeleteOSDResponse.soap_default(soap);
  3797. soap_default___trt__DeleteOSD(soap, &soap_tmp___trt__DeleteOSD);
  3798. if (!soap_get___trt__DeleteOSD(soap, &soap_tmp___trt__DeleteOSD, "-trt:DeleteOSD", NULL))
  3799. return soap->error;
  3800. if (soap_body_end_in(soap)
  3801. || soap_envelope_end_in(soap)
  3802. || soap_end_recv(soap))
  3803. return soap->error;
  3804. soap->error = soap->DeleteOSD(soap_tmp___trt__DeleteOSD.trt__DeleteOSD, &trt__DeleteOSDResponse);
  3805. if (soap->error)
  3806. return soap->error;
  3807. soap->encodingStyle = NULL;
  3808. soap_serializeheader(soap);
  3809. trt__DeleteOSDResponse.soap_serialize(soap);
  3810. if (soap_begin_count(soap))
  3811. return soap->error;
  3812. if (soap->mode & SOAP_IO_LENGTH)
  3813. { if (soap_envelope_begin_out(soap)
  3814. || soap_putheader(soap)
  3815. || soap_body_begin_out(soap)
  3816. || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "")
  3817. || soap_body_end_out(soap)
  3818. || soap_envelope_end_out(soap))
  3819. return soap->error;
  3820. };
  3821. if (soap_end_count(soap)
  3822. || soap_response(soap, SOAP_OK)
  3823. || soap_envelope_begin_out(soap)
  3824. || soap_putheader(soap)
  3825. || soap_body_begin_out(soap)
  3826. || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "")
  3827. || soap_body_end_out(soap)
  3828. || soap_envelope_end_out(soap)
  3829. || soap_end_send(soap))
  3830. return soap->error;
  3831. return soap_closesock(soap);
  3832. }
  3833. static int serve___trt__GetServiceCapabilities_(MediaBindingService *soap)
  3834. { struct __trt__GetServiceCapabilities_ soap_tmp___trt__GetServiceCapabilities_;
  3835. _trt__GetServiceCapabilitiesResponse trt__GetServiceCapabilitiesResponse;
  3836. trt__GetServiceCapabilitiesResponse.soap_default(soap);
  3837. soap_default___trt__GetServiceCapabilities_(soap, &soap_tmp___trt__GetServiceCapabilities_);
  3838. if (!soap_get___trt__GetServiceCapabilities_(soap, &soap_tmp___trt__GetServiceCapabilities_, "-trt:GetServiceCapabilities", NULL))
  3839. return soap->error;
  3840. if (soap_body_end_in(soap)
  3841. || soap_envelope_end_in(soap)
  3842. || soap_end_recv(soap))
  3843. return soap->error;
  3844. soap->error = soap->GetServiceCapabilities_(soap_tmp___trt__GetServiceCapabilities_.trt__GetServiceCapabilities, &trt__GetServiceCapabilitiesResponse);
  3845. if (soap->error)
  3846. return soap->error;
  3847. soap->encodingStyle = NULL;
  3848. soap_serializeheader(soap);
  3849. trt__GetServiceCapabilitiesResponse.soap_serialize(soap);
  3850. if (soap_begin_count(soap))
  3851. return soap->error;
  3852. if (soap->mode & SOAP_IO_LENGTH)
  3853. { if (soap_envelope_begin_out(soap)
  3854. || soap_putheader(soap)
  3855. || soap_body_begin_out(soap)
  3856. || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt:GetServiceCapabilitiesResponse", "")
  3857. || soap_body_end_out(soap)
  3858. || soap_envelope_end_out(soap))
  3859. return soap->error;
  3860. };
  3861. if (soap_end_count(soap)
  3862. || soap_response(soap, SOAP_OK)
  3863. || soap_envelope_begin_out(soap)
  3864. || soap_putheader(soap)
  3865. || soap_body_begin_out(soap)
  3866. || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt:GetServiceCapabilitiesResponse", "")
  3867. || soap_body_end_out(soap)
  3868. || soap_envelope_end_out(soap)
  3869. || soap_end_send(soap))
  3870. return soap->error;
  3871. return soap_closesock(soap);
  3872. }
  3873. static int serve___trt__GetVideoSources_(MediaBindingService *soap)
  3874. { struct __trt__GetVideoSources_ soap_tmp___trt__GetVideoSources_;
  3875. _trt__GetVideoSourcesResponse trt__GetVideoSourcesResponse;
  3876. trt__GetVideoSourcesResponse.soap_default(soap);
  3877. soap_default___trt__GetVideoSources_(soap, &soap_tmp___trt__GetVideoSources_);
  3878. if (!soap_get___trt__GetVideoSources_(soap, &soap_tmp___trt__GetVideoSources_, "-trt:GetVideoSources", NULL))
  3879. return soap->error;
  3880. if (soap_body_end_in(soap)
  3881. || soap_envelope_end_in(soap)
  3882. || soap_end_recv(soap))
  3883. return soap->error;
  3884. soap->error = soap->GetVideoSources_(soap_tmp___trt__GetVideoSources_.trt__GetVideoSources, &trt__GetVideoSourcesResponse);
  3885. if (soap->error)
  3886. return soap->error;
  3887. soap->encodingStyle = NULL;
  3888. soap_serializeheader(soap);
  3889. trt__GetVideoSourcesResponse.soap_serialize(soap);
  3890. if (soap_begin_count(soap))
  3891. return soap->error;
  3892. if (soap->mode & SOAP_IO_LENGTH)
  3893. { if (soap_envelope_begin_out(soap)
  3894. || soap_putheader(soap)
  3895. || soap_body_begin_out(soap)
  3896. || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "")
  3897. || soap_body_end_out(soap)
  3898. || soap_envelope_end_out(soap))
  3899. return soap->error;
  3900. };
  3901. if (soap_end_count(soap)
  3902. || soap_response(soap, SOAP_OK)
  3903. || soap_envelope_begin_out(soap)
  3904. || soap_putheader(soap)
  3905. || soap_body_begin_out(soap)
  3906. || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "")
  3907. || soap_body_end_out(soap)
  3908. || soap_envelope_end_out(soap)
  3909. || soap_end_send(soap))
  3910. return soap->error;
  3911. return soap_closesock(soap);
  3912. }
  3913. static int serve___trt__GetAudioSources_(MediaBindingService *soap)
  3914. { struct __trt__GetAudioSources_ soap_tmp___trt__GetAudioSources_;
  3915. _trt__GetAudioSourcesResponse trt__GetAudioSourcesResponse;
  3916. trt__GetAudioSourcesResponse.soap_default(soap);
  3917. soap_default___trt__GetAudioSources_(soap, &soap_tmp___trt__GetAudioSources_);
  3918. if (!soap_get___trt__GetAudioSources_(soap, &soap_tmp___trt__GetAudioSources_, "-trt:GetAudioSources", NULL))
  3919. return soap->error;
  3920. if (soap_body_end_in(soap)
  3921. || soap_envelope_end_in(soap)
  3922. || soap_end_recv(soap))
  3923. return soap->error;
  3924. soap->error = soap->GetAudioSources_(soap_tmp___trt__GetAudioSources_.trt__GetAudioSources, &trt__GetAudioSourcesResponse);
  3925. if (soap->error)
  3926. return soap->error;
  3927. soap->encodingStyle = NULL;
  3928. soap_serializeheader(soap);
  3929. trt__GetAudioSourcesResponse.soap_serialize(soap);
  3930. if (soap_begin_count(soap))
  3931. return soap->error;
  3932. if (soap->mode & SOAP_IO_LENGTH)
  3933. { if (soap_envelope_begin_out(soap)
  3934. || soap_putheader(soap)
  3935. || soap_body_begin_out(soap)
  3936. || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "")
  3937. || soap_body_end_out(soap)
  3938. || soap_envelope_end_out(soap))
  3939. return soap->error;
  3940. };
  3941. if (soap_end_count(soap)
  3942. || soap_response(soap, SOAP_OK)
  3943. || soap_envelope_begin_out(soap)
  3944. || soap_putheader(soap)
  3945. || soap_body_begin_out(soap)
  3946. || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "")
  3947. || soap_body_end_out(soap)
  3948. || soap_envelope_end_out(soap)
  3949. || soap_end_send(soap))
  3950. return soap->error;
  3951. return soap_closesock(soap);
  3952. }
  3953. static int serve___trt__GetAudioOutputs_(MediaBindingService *soap)
  3954. { struct __trt__GetAudioOutputs_ soap_tmp___trt__GetAudioOutputs_;
  3955. _trt__GetAudioOutputsResponse trt__GetAudioOutputsResponse;
  3956. trt__GetAudioOutputsResponse.soap_default(soap);
  3957. soap_default___trt__GetAudioOutputs_(soap, &soap_tmp___trt__GetAudioOutputs_);
  3958. if (!soap_get___trt__GetAudioOutputs_(soap, &soap_tmp___trt__GetAudioOutputs_, "-trt:GetAudioOutputs", NULL))
  3959. return soap->error;
  3960. if (soap_body_end_in(soap)
  3961. || soap_envelope_end_in(soap)
  3962. || soap_end_recv(soap))
  3963. return soap->error;
  3964. soap->error = soap->GetAudioOutputs_(soap_tmp___trt__GetAudioOutputs_.trt__GetAudioOutputs, &trt__GetAudioOutputsResponse);
  3965. if (soap->error)
  3966. return soap->error;
  3967. soap->encodingStyle = NULL;
  3968. soap_serializeheader(soap);
  3969. trt__GetAudioOutputsResponse.soap_serialize(soap);
  3970. if (soap_begin_count(soap))
  3971. return soap->error;
  3972. if (soap->mode & SOAP_IO_LENGTH)
  3973. { if (soap_envelope_begin_out(soap)
  3974. || soap_putheader(soap)
  3975. || soap_body_begin_out(soap)
  3976. || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "")
  3977. || soap_body_end_out(soap)
  3978. || soap_envelope_end_out(soap))
  3979. return soap->error;
  3980. };
  3981. if (soap_end_count(soap)
  3982. || soap_response(soap, SOAP_OK)
  3983. || soap_envelope_begin_out(soap)
  3984. || soap_putheader(soap)
  3985. || soap_body_begin_out(soap)
  3986. || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "")
  3987. || soap_body_end_out(soap)
  3988. || soap_envelope_end_out(soap)
  3989. || soap_end_send(soap))
  3990. return soap->error;
  3991. return soap_closesock(soap);
  3992. }
  3993. static int serve___trt__CreateProfile_(MediaBindingService *soap)
  3994. { struct __trt__CreateProfile_ soap_tmp___trt__CreateProfile_;
  3995. _trt__CreateProfileResponse trt__CreateProfileResponse;
  3996. trt__CreateProfileResponse.soap_default(soap);
  3997. soap_default___trt__CreateProfile_(soap, &soap_tmp___trt__CreateProfile_);
  3998. if (!soap_get___trt__CreateProfile_(soap, &soap_tmp___trt__CreateProfile_, "-trt:CreateProfile", NULL))
  3999. return soap->error;
  4000. if (soap_body_end_in(soap)
  4001. || soap_envelope_end_in(soap)
  4002. || soap_end_recv(soap))
  4003. return soap->error;
  4004. soap->error = soap->CreateProfile_(soap_tmp___trt__CreateProfile_.trt__CreateProfile, &trt__CreateProfileResponse);
  4005. if (soap->error)
  4006. return soap->error;
  4007. soap->encodingStyle = NULL;
  4008. soap_serializeheader(soap);
  4009. trt__CreateProfileResponse.soap_serialize(soap);
  4010. if (soap_begin_count(soap))
  4011. return soap->error;
  4012. if (soap->mode & SOAP_IO_LENGTH)
  4013. { if (soap_envelope_begin_out(soap)
  4014. || soap_putheader(soap)
  4015. || soap_body_begin_out(soap)
  4016. || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "")
  4017. || soap_body_end_out(soap)
  4018. || soap_envelope_end_out(soap))
  4019. return soap->error;
  4020. };
  4021. if (soap_end_count(soap)
  4022. || soap_response(soap, SOAP_OK)
  4023. || soap_envelope_begin_out(soap)
  4024. || soap_putheader(soap)
  4025. || soap_body_begin_out(soap)
  4026. || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "")
  4027. || soap_body_end_out(soap)
  4028. || soap_envelope_end_out(soap)
  4029. || soap_end_send(soap))
  4030. return soap->error;
  4031. return soap_closesock(soap);
  4032. }
  4033. static int serve___trt__GetProfile_(MediaBindingService *soap)
  4034. { struct __trt__GetProfile_ soap_tmp___trt__GetProfile_;
  4035. _trt__GetProfileResponse trt__GetProfileResponse;
  4036. trt__GetProfileResponse.soap_default(soap);
  4037. soap_default___trt__GetProfile_(soap, &soap_tmp___trt__GetProfile_);
  4038. if (!soap_get___trt__GetProfile_(soap, &soap_tmp___trt__GetProfile_, "-trt:GetProfile", NULL))
  4039. return soap->error;
  4040. if (soap_body_end_in(soap)
  4041. || soap_envelope_end_in(soap)
  4042. || soap_end_recv(soap))
  4043. return soap->error;
  4044. soap->error = soap->GetProfile_(soap_tmp___trt__GetProfile_.trt__GetProfile, &trt__GetProfileResponse);
  4045. if (soap->error)
  4046. return soap->error;
  4047. soap->encodingStyle = NULL;
  4048. soap_serializeheader(soap);
  4049. trt__GetProfileResponse.soap_serialize(soap);
  4050. if (soap_begin_count(soap))
  4051. return soap->error;
  4052. if (soap->mode & SOAP_IO_LENGTH)
  4053. { if (soap_envelope_begin_out(soap)
  4054. || soap_putheader(soap)
  4055. || soap_body_begin_out(soap)
  4056. || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "")
  4057. || soap_body_end_out(soap)
  4058. || soap_envelope_end_out(soap))
  4059. return soap->error;
  4060. };
  4061. if (soap_end_count(soap)
  4062. || soap_response(soap, SOAP_OK)
  4063. || soap_envelope_begin_out(soap)
  4064. || soap_putheader(soap)
  4065. || soap_body_begin_out(soap)
  4066. || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "")
  4067. || soap_body_end_out(soap)
  4068. || soap_envelope_end_out(soap)
  4069. || soap_end_send(soap))
  4070. return soap->error;
  4071. return soap_closesock(soap);
  4072. }
  4073. static int serve___trt__GetProfiles_(MediaBindingService *soap)
  4074. { struct __trt__GetProfiles_ soap_tmp___trt__GetProfiles_;
  4075. _trt__GetProfilesResponse trt__GetProfilesResponse;
  4076. trt__GetProfilesResponse.soap_default(soap);
  4077. soap_default___trt__GetProfiles_(soap, &soap_tmp___trt__GetProfiles_);
  4078. if (!soap_get___trt__GetProfiles_(soap, &soap_tmp___trt__GetProfiles_, "-trt:GetProfiles", NULL))
  4079. return soap->error;
  4080. if (soap_body_end_in(soap)
  4081. || soap_envelope_end_in(soap)
  4082. || soap_end_recv(soap))
  4083. return soap->error;
  4084. soap->error = soap->GetProfiles_(soap_tmp___trt__GetProfiles_.trt__GetProfiles, &trt__GetProfilesResponse);
  4085. if (soap->error)
  4086. return soap->error;
  4087. soap->encodingStyle = NULL;
  4088. soap_serializeheader(soap);
  4089. trt__GetProfilesResponse.soap_serialize(soap);
  4090. if (soap_begin_count(soap))
  4091. return soap->error;
  4092. if (soap->mode & SOAP_IO_LENGTH)
  4093. { if (soap_envelope_begin_out(soap)
  4094. || soap_putheader(soap)
  4095. || soap_body_begin_out(soap)
  4096. || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "")
  4097. || soap_body_end_out(soap)
  4098. || soap_envelope_end_out(soap))
  4099. return soap->error;
  4100. };
  4101. if (soap_end_count(soap)
  4102. || soap_response(soap, SOAP_OK)
  4103. || soap_envelope_begin_out(soap)
  4104. || soap_putheader(soap)
  4105. || soap_body_begin_out(soap)
  4106. || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "")
  4107. || soap_body_end_out(soap)
  4108. || soap_envelope_end_out(soap)
  4109. || soap_end_send(soap))
  4110. return soap->error;
  4111. return soap_closesock(soap);
  4112. }
  4113. static int serve___trt__AddVideoEncoderConfiguration_(MediaBindingService *soap)
  4114. { struct __trt__AddVideoEncoderConfiguration_ soap_tmp___trt__AddVideoEncoderConfiguration_;
  4115. _trt__AddVideoEncoderConfigurationResponse trt__AddVideoEncoderConfigurationResponse;
  4116. trt__AddVideoEncoderConfigurationResponse.soap_default(soap);
  4117. soap_default___trt__AddVideoEncoderConfiguration_(soap, &soap_tmp___trt__AddVideoEncoderConfiguration_);
  4118. if (!soap_get___trt__AddVideoEncoderConfiguration_(soap, &soap_tmp___trt__AddVideoEncoderConfiguration_, "-trt:AddVideoEncoderConfiguration", NULL))
  4119. return soap->error;
  4120. if (soap_body_end_in(soap)
  4121. || soap_envelope_end_in(soap)
  4122. || soap_end_recv(soap))
  4123. return soap->error;
  4124. soap->error = soap->AddVideoEncoderConfiguration_(soap_tmp___trt__AddVideoEncoderConfiguration_.trt__AddVideoEncoderConfiguration, &trt__AddVideoEncoderConfigurationResponse);
  4125. if (soap->error)
  4126. return soap->error;
  4127. soap->encodingStyle = NULL;
  4128. soap_serializeheader(soap);
  4129. trt__AddVideoEncoderConfigurationResponse.soap_serialize(soap);
  4130. if (soap_begin_count(soap))
  4131. return soap->error;
  4132. if (soap->mode & SOAP_IO_LENGTH)
  4133. { if (soap_envelope_begin_out(soap)
  4134. || soap_putheader(soap)
  4135. || soap_body_begin_out(soap)
  4136. || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "")
  4137. || soap_body_end_out(soap)
  4138. || soap_envelope_end_out(soap))
  4139. return soap->error;
  4140. };
  4141. if (soap_end_count(soap)
  4142. || soap_response(soap, SOAP_OK)
  4143. || soap_envelope_begin_out(soap)
  4144. || soap_putheader(soap)
  4145. || soap_body_begin_out(soap)
  4146. || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "")
  4147. || soap_body_end_out(soap)
  4148. || soap_envelope_end_out(soap)
  4149. || soap_end_send(soap))
  4150. return soap->error;
  4151. return soap_closesock(soap);
  4152. }
  4153. static int serve___trt__AddVideoSourceConfiguration_(MediaBindingService *soap)
  4154. { struct __trt__AddVideoSourceConfiguration_ soap_tmp___trt__AddVideoSourceConfiguration_;
  4155. _trt__AddVideoSourceConfigurationResponse trt__AddVideoSourceConfigurationResponse;
  4156. trt__AddVideoSourceConfigurationResponse.soap_default(soap);
  4157. soap_default___trt__AddVideoSourceConfiguration_(soap, &soap_tmp___trt__AddVideoSourceConfiguration_);
  4158. if (!soap_get___trt__AddVideoSourceConfiguration_(soap, &soap_tmp___trt__AddVideoSourceConfiguration_, "-trt:AddVideoSourceConfiguration", NULL))
  4159. return soap->error;
  4160. if (soap_body_end_in(soap)
  4161. || soap_envelope_end_in(soap)
  4162. || soap_end_recv(soap))
  4163. return soap->error;
  4164. soap->error = soap->AddVideoSourceConfiguration_(soap_tmp___trt__AddVideoSourceConfiguration_.trt__AddVideoSourceConfiguration, &trt__AddVideoSourceConfigurationResponse);
  4165. if (soap->error)
  4166. return soap->error;
  4167. soap->encodingStyle = NULL;
  4168. soap_serializeheader(soap);
  4169. trt__AddVideoSourceConfigurationResponse.soap_serialize(soap);
  4170. if (soap_begin_count(soap))
  4171. return soap->error;
  4172. if (soap->mode & SOAP_IO_LENGTH)
  4173. { if (soap_envelope_begin_out(soap)
  4174. || soap_putheader(soap)
  4175. || soap_body_begin_out(soap)
  4176. || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "")
  4177. || soap_body_end_out(soap)
  4178. || soap_envelope_end_out(soap))
  4179. return soap->error;
  4180. };
  4181. if (soap_end_count(soap)
  4182. || soap_response(soap, SOAP_OK)
  4183. || soap_envelope_begin_out(soap)
  4184. || soap_putheader(soap)
  4185. || soap_body_begin_out(soap)
  4186. || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "")
  4187. || soap_body_end_out(soap)
  4188. || soap_envelope_end_out(soap)
  4189. || soap_end_send(soap))
  4190. return soap->error;
  4191. return soap_closesock(soap);
  4192. }
  4193. static int serve___trt__AddAudioEncoderConfiguration_(MediaBindingService *soap)
  4194. { struct __trt__AddAudioEncoderConfiguration_ soap_tmp___trt__AddAudioEncoderConfiguration_;
  4195. _trt__AddAudioEncoderConfigurationResponse trt__AddAudioEncoderConfigurationResponse;
  4196. trt__AddAudioEncoderConfigurationResponse.soap_default(soap);
  4197. soap_default___trt__AddAudioEncoderConfiguration_(soap, &soap_tmp___trt__AddAudioEncoderConfiguration_);
  4198. if (!soap_get___trt__AddAudioEncoderConfiguration_(soap, &soap_tmp___trt__AddAudioEncoderConfiguration_, "-trt:AddAudioEncoderConfiguration", NULL))
  4199. return soap->error;
  4200. if (soap_body_end_in(soap)
  4201. || soap_envelope_end_in(soap)
  4202. || soap_end_recv(soap))
  4203. return soap->error;
  4204. soap->error = soap->AddAudioEncoderConfiguration_(soap_tmp___trt__AddAudioEncoderConfiguration_.trt__AddAudioEncoderConfiguration, &trt__AddAudioEncoderConfigurationResponse);
  4205. if (soap->error)
  4206. return soap->error;
  4207. soap->encodingStyle = NULL;
  4208. soap_serializeheader(soap);
  4209. trt__AddAudioEncoderConfigurationResponse.soap_serialize(soap);
  4210. if (soap_begin_count(soap))
  4211. return soap->error;
  4212. if (soap->mode & SOAP_IO_LENGTH)
  4213. { if (soap_envelope_begin_out(soap)
  4214. || soap_putheader(soap)
  4215. || soap_body_begin_out(soap)
  4216. || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "")
  4217. || soap_body_end_out(soap)
  4218. || soap_envelope_end_out(soap))
  4219. return soap->error;
  4220. };
  4221. if (soap_end_count(soap)
  4222. || soap_response(soap, SOAP_OK)
  4223. || soap_envelope_begin_out(soap)
  4224. || soap_putheader(soap)
  4225. || soap_body_begin_out(soap)
  4226. || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "")
  4227. || soap_body_end_out(soap)
  4228. || soap_envelope_end_out(soap)
  4229. || soap_end_send(soap))
  4230. return soap->error;
  4231. return soap_closesock(soap);
  4232. }
  4233. static int serve___trt__AddAudioSourceConfiguration_(MediaBindingService *soap)
  4234. { struct __trt__AddAudioSourceConfiguration_ soap_tmp___trt__AddAudioSourceConfiguration_;
  4235. _trt__AddAudioSourceConfigurationResponse trt__AddAudioSourceConfigurationResponse;
  4236. trt__AddAudioSourceConfigurationResponse.soap_default(soap);
  4237. soap_default___trt__AddAudioSourceConfiguration_(soap, &soap_tmp___trt__AddAudioSourceConfiguration_);
  4238. if (!soap_get___trt__AddAudioSourceConfiguration_(soap, &soap_tmp___trt__AddAudioSourceConfiguration_, "-trt:AddAudioSourceConfiguration", NULL))
  4239. return soap->error;
  4240. if (soap_body_end_in(soap)
  4241. || soap_envelope_end_in(soap)
  4242. || soap_end_recv(soap))
  4243. return soap->error;
  4244. soap->error = soap->AddAudioSourceConfiguration_(soap_tmp___trt__AddAudioSourceConfiguration_.trt__AddAudioSourceConfiguration, &trt__AddAudioSourceConfigurationResponse);
  4245. if (soap->error)
  4246. return soap->error;
  4247. soap->encodingStyle = NULL;
  4248. soap_serializeheader(soap);
  4249. trt__AddAudioSourceConfigurationResponse.soap_serialize(soap);
  4250. if (soap_begin_count(soap))
  4251. return soap->error;
  4252. if (soap->mode & SOAP_IO_LENGTH)
  4253. { if (soap_envelope_begin_out(soap)
  4254. || soap_putheader(soap)
  4255. || soap_body_begin_out(soap)
  4256. || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "")
  4257. || soap_body_end_out(soap)
  4258. || soap_envelope_end_out(soap))
  4259. return soap->error;
  4260. };
  4261. if (soap_end_count(soap)
  4262. || soap_response(soap, SOAP_OK)
  4263. || soap_envelope_begin_out(soap)
  4264. || soap_putheader(soap)
  4265. || soap_body_begin_out(soap)
  4266. || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "")
  4267. || soap_body_end_out(soap)
  4268. || soap_envelope_end_out(soap)
  4269. || soap_end_send(soap))
  4270. return soap->error;
  4271. return soap_closesock(soap);
  4272. }
  4273. static int serve___trt__AddPTZConfiguration_(MediaBindingService *soap)
  4274. { struct __trt__AddPTZConfiguration_ soap_tmp___trt__AddPTZConfiguration_;
  4275. _trt__AddPTZConfigurationResponse trt__AddPTZConfigurationResponse;
  4276. trt__AddPTZConfigurationResponse.soap_default(soap);
  4277. soap_default___trt__AddPTZConfiguration_(soap, &soap_tmp___trt__AddPTZConfiguration_);
  4278. if (!soap_get___trt__AddPTZConfiguration_(soap, &soap_tmp___trt__AddPTZConfiguration_, "-trt:AddPTZConfiguration", NULL))
  4279. return soap->error;
  4280. if (soap_body_end_in(soap)
  4281. || soap_envelope_end_in(soap)
  4282. || soap_end_recv(soap))
  4283. return soap->error;
  4284. soap->error = soap->AddPTZConfiguration_(soap_tmp___trt__AddPTZConfiguration_.trt__AddPTZConfiguration, &trt__AddPTZConfigurationResponse);
  4285. if (soap->error)
  4286. return soap->error;
  4287. soap->encodingStyle = NULL;
  4288. soap_serializeheader(soap);
  4289. trt__AddPTZConfigurationResponse.soap_serialize(soap);
  4290. if (soap_begin_count(soap))
  4291. return soap->error;
  4292. if (soap->mode & SOAP_IO_LENGTH)
  4293. { if (soap_envelope_begin_out(soap)
  4294. || soap_putheader(soap)
  4295. || soap_body_begin_out(soap)
  4296. || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "")
  4297. || soap_body_end_out(soap)
  4298. || soap_envelope_end_out(soap))
  4299. return soap->error;
  4300. };
  4301. if (soap_end_count(soap)
  4302. || soap_response(soap, SOAP_OK)
  4303. || soap_envelope_begin_out(soap)
  4304. || soap_putheader(soap)
  4305. || soap_body_begin_out(soap)
  4306. || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "")
  4307. || soap_body_end_out(soap)
  4308. || soap_envelope_end_out(soap)
  4309. || soap_end_send(soap))
  4310. return soap->error;
  4311. return soap_closesock(soap);
  4312. }
  4313. static int serve___trt__AddVideoAnalyticsConfiguration_(MediaBindingService *soap)
  4314. { struct __trt__AddVideoAnalyticsConfiguration_ soap_tmp___trt__AddVideoAnalyticsConfiguration_;
  4315. _trt__AddVideoAnalyticsConfigurationResponse trt__AddVideoAnalyticsConfigurationResponse;
  4316. trt__AddVideoAnalyticsConfigurationResponse.soap_default(soap);
  4317. soap_default___trt__AddVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration_);
  4318. if (!soap_get___trt__AddVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration_, "-trt:AddVideoAnalyticsConfiguration", NULL))
  4319. return soap->error;
  4320. if (soap_body_end_in(soap)
  4321. || soap_envelope_end_in(soap)
  4322. || soap_end_recv(soap))
  4323. return soap->error;
  4324. soap->error = soap->AddVideoAnalyticsConfiguration_(soap_tmp___trt__AddVideoAnalyticsConfiguration_.trt__AddVideoAnalyticsConfiguration, &trt__AddVideoAnalyticsConfigurationResponse);
  4325. if (soap->error)
  4326. return soap->error;
  4327. soap->encodingStyle = NULL;
  4328. soap_serializeheader(soap);
  4329. trt__AddVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  4330. if (soap_begin_count(soap))
  4331. return soap->error;
  4332. if (soap->mode & SOAP_IO_LENGTH)
  4333. { if (soap_envelope_begin_out(soap)
  4334. || soap_putheader(soap)
  4335. || soap_body_begin_out(soap)
  4336. || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "")
  4337. || soap_body_end_out(soap)
  4338. || soap_envelope_end_out(soap))
  4339. return soap->error;
  4340. };
  4341. if (soap_end_count(soap)
  4342. || soap_response(soap, SOAP_OK)
  4343. || soap_envelope_begin_out(soap)
  4344. || soap_putheader(soap)
  4345. || soap_body_begin_out(soap)
  4346. || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "")
  4347. || soap_body_end_out(soap)
  4348. || soap_envelope_end_out(soap)
  4349. || soap_end_send(soap))
  4350. return soap->error;
  4351. return soap_closesock(soap);
  4352. }
  4353. static int serve___trt__AddMetadataConfiguration_(MediaBindingService *soap)
  4354. { struct __trt__AddMetadataConfiguration_ soap_tmp___trt__AddMetadataConfiguration_;
  4355. _trt__AddMetadataConfigurationResponse trt__AddMetadataConfigurationResponse;
  4356. trt__AddMetadataConfigurationResponse.soap_default(soap);
  4357. soap_default___trt__AddMetadataConfiguration_(soap, &soap_tmp___trt__AddMetadataConfiguration_);
  4358. if (!soap_get___trt__AddMetadataConfiguration_(soap, &soap_tmp___trt__AddMetadataConfiguration_, "-trt:AddMetadataConfiguration", NULL))
  4359. return soap->error;
  4360. if (soap_body_end_in(soap)
  4361. || soap_envelope_end_in(soap)
  4362. || soap_end_recv(soap))
  4363. return soap->error;
  4364. soap->error = soap->AddMetadataConfiguration_(soap_tmp___trt__AddMetadataConfiguration_.trt__AddMetadataConfiguration, &trt__AddMetadataConfigurationResponse);
  4365. if (soap->error)
  4366. return soap->error;
  4367. soap->encodingStyle = NULL;
  4368. soap_serializeheader(soap);
  4369. trt__AddMetadataConfigurationResponse.soap_serialize(soap);
  4370. if (soap_begin_count(soap))
  4371. return soap->error;
  4372. if (soap->mode & SOAP_IO_LENGTH)
  4373. { if (soap_envelope_begin_out(soap)
  4374. || soap_putheader(soap)
  4375. || soap_body_begin_out(soap)
  4376. || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "")
  4377. || soap_body_end_out(soap)
  4378. || soap_envelope_end_out(soap))
  4379. return soap->error;
  4380. };
  4381. if (soap_end_count(soap)
  4382. || soap_response(soap, SOAP_OK)
  4383. || soap_envelope_begin_out(soap)
  4384. || soap_putheader(soap)
  4385. || soap_body_begin_out(soap)
  4386. || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "")
  4387. || soap_body_end_out(soap)
  4388. || soap_envelope_end_out(soap)
  4389. || soap_end_send(soap))
  4390. return soap->error;
  4391. return soap_closesock(soap);
  4392. }
  4393. static int serve___trt__AddAudioOutputConfiguration_(MediaBindingService *soap)
  4394. { struct __trt__AddAudioOutputConfiguration_ soap_tmp___trt__AddAudioOutputConfiguration_;
  4395. _trt__AddAudioOutputConfigurationResponse trt__AddAudioOutputConfigurationResponse;
  4396. trt__AddAudioOutputConfigurationResponse.soap_default(soap);
  4397. soap_default___trt__AddAudioOutputConfiguration_(soap, &soap_tmp___trt__AddAudioOutputConfiguration_);
  4398. if (!soap_get___trt__AddAudioOutputConfiguration_(soap, &soap_tmp___trt__AddAudioOutputConfiguration_, "-trt:AddAudioOutputConfiguration", NULL))
  4399. return soap->error;
  4400. if (soap_body_end_in(soap)
  4401. || soap_envelope_end_in(soap)
  4402. || soap_end_recv(soap))
  4403. return soap->error;
  4404. soap->error = soap->AddAudioOutputConfiguration_(soap_tmp___trt__AddAudioOutputConfiguration_.trt__AddAudioOutputConfiguration, &trt__AddAudioOutputConfigurationResponse);
  4405. if (soap->error)
  4406. return soap->error;
  4407. soap->encodingStyle = NULL;
  4408. soap_serializeheader(soap);
  4409. trt__AddAudioOutputConfigurationResponse.soap_serialize(soap);
  4410. if (soap_begin_count(soap))
  4411. return soap->error;
  4412. if (soap->mode & SOAP_IO_LENGTH)
  4413. { if (soap_envelope_begin_out(soap)
  4414. || soap_putheader(soap)
  4415. || soap_body_begin_out(soap)
  4416. || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "")
  4417. || soap_body_end_out(soap)
  4418. || soap_envelope_end_out(soap))
  4419. return soap->error;
  4420. };
  4421. if (soap_end_count(soap)
  4422. || soap_response(soap, SOAP_OK)
  4423. || soap_envelope_begin_out(soap)
  4424. || soap_putheader(soap)
  4425. || soap_body_begin_out(soap)
  4426. || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "")
  4427. || soap_body_end_out(soap)
  4428. || soap_envelope_end_out(soap)
  4429. || soap_end_send(soap))
  4430. return soap->error;
  4431. return soap_closesock(soap);
  4432. }
  4433. static int serve___trt__AddAudioDecoderConfiguration_(MediaBindingService *soap)
  4434. { struct __trt__AddAudioDecoderConfiguration_ soap_tmp___trt__AddAudioDecoderConfiguration_;
  4435. _trt__AddAudioDecoderConfigurationResponse trt__AddAudioDecoderConfigurationResponse;
  4436. trt__AddAudioDecoderConfigurationResponse.soap_default(soap);
  4437. soap_default___trt__AddAudioDecoderConfiguration_(soap, &soap_tmp___trt__AddAudioDecoderConfiguration_);
  4438. if (!soap_get___trt__AddAudioDecoderConfiguration_(soap, &soap_tmp___trt__AddAudioDecoderConfiguration_, "-trt:AddAudioDecoderConfiguration", NULL))
  4439. return soap->error;
  4440. if (soap_body_end_in(soap)
  4441. || soap_envelope_end_in(soap)
  4442. || soap_end_recv(soap))
  4443. return soap->error;
  4444. soap->error = soap->AddAudioDecoderConfiguration_(soap_tmp___trt__AddAudioDecoderConfiguration_.trt__AddAudioDecoderConfiguration, &trt__AddAudioDecoderConfigurationResponse);
  4445. if (soap->error)
  4446. return soap->error;
  4447. soap->encodingStyle = NULL;
  4448. soap_serializeheader(soap);
  4449. trt__AddAudioDecoderConfigurationResponse.soap_serialize(soap);
  4450. if (soap_begin_count(soap))
  4451. return soap->error;
  4452. if (soap->mode & SOAP_IO_LENGTH)
  4453. { if (soap_envelope_begin_out(soap)
  4454. || soap_putheader(soap)
  4455. || soap_body_begin_out(soap)
  4456. || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "")
  4457. || soap_body_end_out(soap)
  4458. || soap_envelope_end_out(soap))
  4459. return soap->error;
  4460. };
  4461. if (soap_end_count(soap)
  4462. || soap_response(soap, SOAP_OK)
  4463. || soap_envelope_begin_out(soap)
  4464. || soap_putheader(soap)
  4465. || soap_body_begin_out(soap)
  4466. || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "")
  4467. || soap_body_end_out(soap)
  4468. || soap_envelope_end_out(soap)
  4469. || soap_end_send(soap))
  4470. return soap->error;
  4471. return soap_closesock(soap);
  4472. }
  4473. static int serve___trt__RemoveVideoEncoderConfiguration_(MediaBindingService *soap)
  4474. { struct __trt__RemoveVideoEncoderConfiguration_ soap_tmp___trt__RemoveVideoEncoderConfiguration_;
  4475. _trt__RemoveVideoEncoderConfigurationResponse trt__RemoveVideoEncoderConfigurationResponse;
  4476. trt__RemoveVideoEncoderConfigurationResponse.soap_default(soap);
  4477. soap_default___trt__RemoveVideoEncoderConfiguration_(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration_);
  4478. if (!soap_get___trt__RemoveVideoEncoderConfiguration_(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration_, "-trt:RemoveVideoEncoderConfiguration", NULL))
  4479. return soap->error;
  4480. if (soap_body_end_in(soap)
  4481. || soap_envelope_end_in(soap)
  4482. || soap_end_recv(soap))
  4483. return soap->error;
  4484. soap->error = soap->RemoveVideoEncoderConfiguration_(soap_tmp___trt__RemoveVideoEncoderConfiguration_.trt__RemoveVideoEncoderConfiguration, &trt__RemoveVideoEncoderConfigurationResponse);
  4485. if (soap->error)
  4486. return soap->error;
  4487. soap->encodingStyle = NULL;
  4488. soap_serializeheader(soap);
  4489. trt__RemoveVideoEncoderConfigurationResponse.soap_serialize(soap);
  4490. if (soap_begin_count(soap))
  4491. return soap->error;
  4492. if (soap->mode & SOAP_IO_LENGTH)
  4493. { if (soap_envelope_begin_out(soap)
  4494. || soap_putheader(soap)
  4495. || soap_body_begin_out(soap)
  4496. || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "")
  4497. || soap_body_end_out(soap)
  4498. || soap_envelope_end_out(soap))
  4499. return soap->error;
  4500. };
  4501. if (soap_end_count(soap)
  4502. || soap_response(soap, SOAP_OK)
  4503. || soap_envelope_begin_out(soap)
  4504. || soap_putheader(soap)
  4505. || soap_body_begin_out(soap)
  4506. || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "")
  4507. || soap_body_end_out(soap)
  4508. || soap_envelope_end_out(soap)
  4509. || soap_end_send(soap))
  4510. return soap->error;
  4511. return soap_closesock(soap);
  4512. }
  4513. static int serve___trt__RemoveVideoSourceConfiguration_(MediaBindingService *soap)
  4514. { struct __trt__RemoveVideoSourceConfiguration_ soap_tmp___trt__RemoveVideoSourceConfiguration_;
  4515. _trt__RemoveVideoSourceConfigurationResponse trt__RemoveVideoSourceConfigurationResponse;
  4516. trt__RemoveVideoSourceConfigurationResponse.soap_default(soap);
  4517. soap_default___trt__RemoveVideoSourceConfiguration_(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration_);
  4518. if (!soap_get___trt__RemoveVideoSourceConfiguration_(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration_, "-trt:RemoveVideoSourceConfiguration", NULL))
  4519. return soap->error;
  4520. if (soap_body_end_in(soap)
  4521. || soap_envelope_end_in(soap)
  4522. || soap_end_recv(soap))
  4523. return soap->error;
  4524. soap->error = soap->RemoveVideoSourceConfiguration_(soap_tmp___trt__RemoveVideoSourceConfiguration_.trt__RemoveVideoSourceConfiguration, &trt__RemoveVideoSourceConfigurationResponse);
  4525. if (soap->error)
  4526. return soap->error;
  4527. soap->encodingStyle = NULL;
  4528. soap_serializeheader(soap);
  4529. trt__RemoveVideoSourceConfigurationResponse.soap_serialize(soap);
  4530. if (soap_begin_count(soap))
  4531. return soap->error;
  4532. if (soap->mode & SOAP_IO_LENGTH)
  4533. { if (soap_envelope_begin_out(soap)
  4534. || soap_putheader(soap)
  4535. || soap_body_begin_out(soap)
  4536. || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "")
  4537. || soap_body_end_out(soap)
  4538. || soap_envelope_end_out(soap))
  4539. return soap->error;
  4540. };
  4541. if (soap_end_count(soap)
  4542. || soap_response(soap, SOAP_OK)
  4543. || soap_envelope_begin_out(soap)
  4544. || soap_putheader(soap)
  4545. || soap_body_begin_out(soap)
  4546. || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "")
  4547. || soap_body_end_out(soap)
  4548. || soap_envelope_end_out(soap)
  4549. || soap_end_send(soap))
  4550. return soap->error;
  4551. return soap_closesock(soap);
  4552. }
  4553. static int serve___trt__RemoveAudioEncoderConfiguration_(MediaBindingService *soap)
  4554. { struct __trt__RemoveAudioEncoderConfiguration_ soap_tmp___trt__RemoveAudioEncoderConfiguration_;
  4555. _trt__RemoveAudioEncoderConfigurationResponse trt__RemoveAudioEncoderConfigurationResponse;
  4556. trt__RemoveAudioEncoderConfigurationResponse.soap_default(soap);
  4557. soap_default___trt__RemoveAudioEncoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration_);
  4558. if (!soap_get___trt__RemoveAudioEncoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration_, "-trt:RemoveAudioEncoderConfiguration", NULL))
  4559. return soap->error;
  4560. if (soap_body_end_in(soap)
  4561. || soap_envelope_end_in(soap)
  4562. || soap_end_recv(soap))
  4563. return soap->error;
  4564. soap->error = soap->RemoveAudioEncoderConfiguration_(soap_tmp___trt__RemoveAudioEncoderConfiguration_.trt__RemoveAudioEncoderConfiguration, &trt__RemoveAudioEncoderConfigurationResponse);
  4565. if (soap->error)
  4566. return soap->error;
  4567. soap->encodingStyle = NULL;
  4568. soap_serializeheader(soap);
  4569. trt__RemoveAudioEncoderConfigurationResponse.soap_serialize(soap);
  4570. if (soap_begin_count(soap))
  4571. return soap->error;
  4572. if (soap->mode & SOAP_IO_LENGTH)
  4573. { if (soap_envelope_begin_out(soap)
  4574. || soap_putheader(soap)
  4575. || soap_body_begin_out(soap)
  4576. || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "")
  4577. || soap_body_end_out(soap)
  4578. || soap_envelope_end_out(soap))
  4579. return soap->error;
  4580. };
  4581. if (soap_end_count(soap)
  4582. || soap_response(soap, SOAP_OK)
  4583. || soap_envelope_begin_out(soap)
  4584. || soap_putheader(soap)
  4585. || soap_body_begin_out(soap)
  4586. || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "")
  4587. || soap_body_end_out(soap)
  4588. || soap_envelope_end_out(soap)
  4589. || soap_end_send(soap))
  4590. return soap->error;
  4591. return soap_closesock(soap);
  4592. }
  4593. static int serve___trt__RemoveAudioSourceConfiguration_(MediaBindingService *soap)
  4594. { struct __trt__RemoveAudioSourceConfiguration_ soap_tmp___trt__RemoveAudioSourceConfiguration_;
  4595. _trt__RemoveAudioSourceConfigurationResponse trt__RemoveAudioSourceConfigurationResponse;
  4596. trt__RemoveAudioSourceConfigurationResponse.soap_default(soap);
  4597. soap_default___trt__RemoveAudioSourceConfiguration_(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration_);
  4598. if (!soap_get___trt__RemoveAudioSourceConfiguration_(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration_, "-trt:RemoveAudioSourceConfiguration", NULL))
  4599. return soap->error;
  4600. if (soap_body_end_in(soap)
  4601. || soap_envelope_end_in(soap)
  4602. || soap_end_recv(soap))
  4603. return soap->error;
  4604. soap->error = soap->RemoveAudioSourceConfiguration_(soap_tmp___trt__RemoveAudioSourceConfiguration_.trt__RemoveAudioSourceConfiguration, &trt__RemoveAudioSourceConfigurationResponse);
  4605. if (soap->error)
  4606. return soap->error;
  4607. soap->encodingStyle = NULL;
  4608. soap_serializeheader(soap);
  4609. trt__RemoveAudioSourceConfigurationResponse.soap_serialize(soap);
  4610. if (soap_begin_count(soap))
  4611. return soap->error;
  4612. if (soap->mode & SOAP_IO_LENGTH)
  4613. { if (soap_envelope_begin_out(soap)
  4614. || soap_putheader(soap)
  4615. || soap_body_begin_out(soap)
  4616. || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "")
  4617. || soap_body_end_out(soap)
  4618. || soap_envelope_end_out(soap))
  4619. return soap->error;
  4620. };
  4621. if (soap_end_count(soap)
  4622. || soap_response(soap, SOAP_OK)
  4623. || soap_envelope_begin_out(soap)
  4624. || soap_putheader(soap)
  4625. || soap_body_begin_out(soap)
  4626. || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "")
  4627. || soap_body_end_out(soap)
  4628. || soap_envelope_end_out(soap)
  4629. || soap_end_send(soap))
  4630. return soap->error;
  4631. return soap_closesock(soap);
  4632. }
  4633. static int serve___trt__RemovePTZConfiguration_(MediaBindingService *soap)
  4634. { struct __trt__RemovePTZConfiguration_ soap_tmp___trt__RemovePTZConfiguration_;
  4635. _trt__RemovePTZConfigurationResponse trt__RemovePTZConfigurationResponse;
  4636. trt__RemovePTZConfigurationResponse.soap_default(soap);
  4637. soap_default___trt__RemovePTZConfiguration_(soap, &soap_tmp___trt__RemovePTZConfiguration_);
  4638. if (!soap_get___trt__RemovePTZConfiguration_(soap, &soap_tmp___trt__RemovePTZConfiguration_, "-trt:RemovePTZConfiguration", NULL))
  4639. return soap->error;
  4640. if (soap_body_end_in(soap)
  4641. || soap_envelope_end_in(soap)
  4642. || soap_end_recv(soap))
  4643. return soap->error;
  4644. soap->error = soap->RemovePTZConfiguration_(soap_tmp___trt__RemovePTZConfiguration_.trt__RemovePTZConfiguration, &trt__RemovePTZConfigurationResponse);
  4645. if (soap->error)
  4646. return soap->error;
  4647. soap->encodingStyle = NULL;
  4648. soap_serializeheader(soap);
  4649. trt__RemovePTZConfigurationResponse.soap_serialize(soap);
  4650. if (soap_begin_count(soap))
  4651. return soap->error;
  4652. if (soap->mode & SOAP_IO_LENGTH)
  4653. { if (soap_envelope_begin_out(soap)
  4654. || soap_putheader(soap)
  4655. || soap_body_begin_out(soap)
  4656. || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "")
  4657. || soap_body_end_out(soap)
  4658. || soap_envelope_end_out(soap))
  4659. return soap->error;
  4660. };
  4661. if (soap_end_count(soap)
  4662. || soap_response(soap, SOAP_OK)
  4663. || soap_envelope_begin_out(soap)
  4664. || soap_putheader(soap)
  4665. || soap_body_begin_out(soap)
  4666. || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "")
  4667. || soap_body_end_out(soap)
  4668. || soap_envelope_end_out(soap)
  4669. || soap_end_send(soap))
  4670. return soap->error;
  4671. return soap_closesock(soap);
  4672. }
  4673. static int serve___trt__RemoveVideoAnalyticsConfiguration_(MediaBindingService *soap)
  4674. { struct __trt__RemoveVideoAnalyticsConfiguration_ soap_tmp___trt__RemoveVideoAnalyticsConfiguration_;
  4675. _trt__RemoveVideoAnalyticsConfigurationResponse trt__RemoveVideoAnalyticsConfigurationResponse;
  4676. trt__RemoveVideoAnalyticsConfigurationResponse.soap_default(soap);
  4677. soap_default___trt__RemoveVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration_);
  4678. if (!soap_get___trt__RemoveVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration_, "-trt:RemoveVideoAnalyticsConfiguration", NULL))
  4679. return soap->error;
  4680. if (soap_body_end_in(soap)
  4681. || soap_envelope_end_in(soap)
  4682. || soap_end_recv(soap))
  4683. return soap->error;
  4684. soap->error = soap->RemoveVideoAnalyticsConfiguration_(soap_tmp___trt__RemoveVideoAnalyticsConfiguration_.trt__RemoveVideoAnalyticsConfiguration, &trt__RemoveVideoAnalyticsConfigurationResponse);
  4685. if (soap->error)
  4686. return soap->error;
  4687. soap->encodingStyle = NULL;
  4688. soap_serializeheader(soap);
  4689. trt__RemoveVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  4690. if (soap_begin_count(soap))
  4691. return soap->error;
  4692. if (soap->mode & SOAP_IO_LENGTH)
  4693. { if (soap_envelope_begin_out(soap)
  4694. || soap_putheader(soap)
  4695. || soap_body_begin_out(soap)
  4696. || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "")
  4697. || soap_body_end_out(soap)
  4698. || soap_envelope_end_out(soap))
  4699. return soap->error;
  4700. };
  4701. if (soap_end_count(soap)
  4702. || soap_response(soap, SOAP_OK)
  4703. || soap_envelope_begin_out(soap)
  4704. || soap_putheader(soap)
  4705. || soap_body_begin_out(soap)
  4706. || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "")
  4707. || soap_body_end_out(soap)
  4708. || soap_envelope_end_out(soap)
  4709. || soap_end_send(soap))
  4710. return soap->error;
  4711. return soap_closesock(soap);
  4712. }
  4713. static int serve___trt__RemoveMetadataConfiguration_(MediaBindingService *soap)
  4714. { struct __trt__RemoveMetadataConfiguration_ soap_tmp___trt__RemoveMetadataConfiguration_;
  4715. _trt__RemoveMetadataConfigurationResponse trt__RemoveMetadataConfigurationResponse;
  4716. trt__RemoveMetadataConfigurationResponse.soap_default(soap);
  4717. soap_default___trt__RemoveMetadataConfiguration_(soap, &soap_tmp___trt__RemoveMetadataConfiguration_);
  4718. if (!soap_get___trt__RemoveMetadataConfiguration_(soap, &soap_tmp___trt__RemoveMetadataConfiguration_, "-trt:RemoveMetadataConfiguration", NULL))
  4719. return soap->error;
  4720. if (soap_body_end_in(soap)
  4721. || soap_envelope_end_in(soap)
  4722. || soap_end_recv(soap))
  4723. return soap->error;
  4724. soap->error = soap->RemoveMetadataConfiguration_(soap_tmp___trt__RemoveMetadataConfiguration_.trt__RemoveMetadataConfiguration, &trt__RemoveMetadataConfigurationResponse);
  4725. if (soap->error)
  4726. return soap->error;
  4727. soap->encodingStyle = NULL;
  4728. soap_serializeheader(soap);
  4729. trt__RemoveMetadataConfigurationResponse.soap_serialize(soap);
  4730. if (soap_begin_count(soap))
  4731. return soap->error;
  4732. if (soap->mode & SOAP_IO_LENGTH)
  4733. { if (soap_envelope_begin_out(soap)
  4734. || soap_putheader(soap)
  4735. || soap_body_begin_out(soap)
  4736. || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "")
  4737. || soap_body_end_out(soap)
  4738. || soap_envelope_end_out(soap))
  4739. return soap->error;
  4740. };
  4741. if (soap_end_count(soap)
  4742. || soap_response(soap, SOAP_OK)
  4743. || soap_envelope_begin_out(soap)
  4744. || soap_putheader(soap)
  4745. || soap_body_begin_out(soap)
  4746. || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "")
  4747. || soap_body_end_out(soap)
  4748. || soap_envelope_end_out(soap)
  4749. || soap_end_send(soap))
  4750. return soap->error;
  4751. return soap_closesock(soap);
  4752. }
  4753. static int serve___trt__RemoveAudioOutputConfiguration_(MediaBindingService *soap)
  4754. { struct __trt__RemoveAudioOutputConfiguration_ soap_tmp___trt__RemoveAudioOutputConfiguration_;
  4755. _trt__RemoveAudioOutputConfigurationResponse trt__RemoveAudioOutputConfigurationResponse;
  4756. trt__RemoveAudioOutputConfigurationResponse.soap_default(soap);
  4757. soap_default___trt__RemoveAudioOutputConfiguration_(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration_);
  4758. if (!soap_get___trt__RemoveAudioOutputConfiguration_(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration_, "-trt:RemoveAudioOutputConfiguration", NULL))
  4759. return soap->error;
  4760. if (soap_body_end_in(soap)
  4761. || soap_envelope_end_in(soap)
  4762. || soap_end_recv(soap))
  4763. return soap->error;
  4764. soap->error = soap->RemoveAudioOutputConfiguration_(soap_tmp___trt__RemoveAudioOutputConfiguration_.trt__RemoveAudioOutputConfiguration, &trt__RemoveAudioOutputConfigurationResponse);
  4765. if (soap->error)
  4766. return soap->error;
  4767. soap->encodingStyle = NULL;
  4768. soap_serializeheader(soap);
  4769. trt__RemoveAudioOutputConfigurationResponse.soap_serialize(soap);
  4770. if (soap_begin_count(soap))
  4771. return soap->error;
  4772. if (soap->mode & SOAP_IO_LENGTH)
  4773. { if (soap_envelope_begin_out(soap)
  4774. || soap_putheader(soap)
  4775. || soap_body_begin_out(soap)
  4776. || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "")
  4777. || soap_body_end_out(soap)
  4778. || soap_envelope_end_out(soap))
  4779. return soap->error;
  4780. };
  4781. if (soap_end_count(soap)
  4782. || soap_response(soap, SOAP_OK)
  4783. || soap_envelope_begin_out(soap)
  4784. || soap_putheader(soap)
  4785. || soap_body_begin_out(soap)
  4786. || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "")
  4787. || soap_body_end_out(soap)
  4788. || soap_envelope_end_out(soap)
  4789. || soap_end_send(soap))
  4790. return soap->error;
  4791. return soap_closesock(soap);
  4792. }
  4793. static int serve___trt__RemoveAudioDecoderConfiguration_(MediaBindingService *soap)
  4794. { struct __trt__RemoveAudioDecoderConfiguration_ soap_tmp___trt__RemoveAudioDecoderConfiguration_;
  4795. _trt__RemoveAudioDecoderConfigurationResponse trt__RemoveAudioDecoderConfigurationResponse;
  4796. trt__RemoveAudioDecoderConfigurationResponse.soap_default(soap);
  4797. soap_default___trt__RemoveAudioDecoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration_);
  4798. if (!soap_get___trt__RemoveAudioDecoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration_, "-trt:RemoveAudioDecoderConfiguration", NULL))
  4799. return soap->error;
  4800. if (soap_body_end_in(soap)
  4801. || soap_envelope_end_in(soap)
  4802. || soap_end_recv(soap))
  4803. return soap->error;
  4804. soap->error = soap->RemoveAudioDecoderConfiguration_(soap_tmp___trt__RemoveAudioDecoderConfiguration_.trt__RemoveAudioDecoderConfiguration, &trt__RemoveAudioDecoderConfigurationResponse);
  4805. if (soap->error)
  4806. return soap->error;
  4807. soap->encodingStyle = NULL;
  4808. soap_serializeheader(soap);
  4809. trt__RemoveAudioDecoderConfigurationResponse.soap_serialize(soap);
  4810. if (soap_begin_count(soap))
  4811. return soap->error;
  4812. if (soap->mode & SOAP_IO_LENGTH)
  4813. { if (soap_envelope_begin_out(soap)
  4814. || soap_putheader(soap)
  4815. || soap_body_begin_out(soap)
  4816. || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "")
  4817. || soap_body_end_out(soap)
  4818. || soap_envelope_end_out(soap))
  4819. return soap->error;
  4820. };
  4821. if (soap_end_count(soap)
  4822. || soap_response(soap, SOAP_OK)
  4823. || soap_envelope_begin_out(soap)
  4824. || soap_putheader(soap)
  4825. || soap_body_begin_out(soap)
  4826. || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "")
  4827. || soap_body_end_out(soap)
  4828. || soap_envelope_end_out(soap)
  4829. || soap_end_send(soap))
  4830. return soap->error;
  4831. return soap_closesock(soap);
  4832. }
  4833. static int serve___trt__DeleteProfile_(MediaBindingService *soap)
  4834. { struct __trt__DeleteProfile_ soap_tmp___trt__DeleteProfile_;
  4835. _trt__DeleteProfileResponse trt__DeleteProfileResponse;
  4836. trt__DeleteProfileResponse.soap_default(soap);
  4837. soap_default___trt__DeleteProfile_(soap, &soap_tmp___trt__DeleteProfile_);
  4838. if (!soap_get___trt__DeleteProfile_(soap, &soap_tmp___trt__DeleteProfile_, "-trt:DeleteProfile", NULL))
  4839. return soap->error;
  4840. if (soap_body_end_in(soap)
  4841. || soap_envelope_end_in(soap)
  4842. || soap_end_recv(soap))
  4843. return soap->error;
  4844. soap->error = soap->DeleteProfile_(soap_tmp___trt__DeleteProfile_.trt__DeleteProfile, &trt__DeleteProfileResponse);
  4845. if (soap->error)
  4846. return soap->error;
  4847. soap->encodingStyle = NULL;
  4848. soap_serializeheader(soap);
  4849. trt__DeleteProfileResponse.soap_serialize(soap);
  4850. if (soap_begin_count(soap))
  4851. return soap->error;
  4852. if (soap->mode & SOAP_IO_LENGTH)
  4853. { if (soap_envelope_begin_out(soap)
  4854. || soap_putheader(soap)
  4855. || soap_body_begin_out(soap)
  4856. || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "")
  4857. || soap_body_end_out(soap)
  4858. || soap_envelope_end_out(soap))
  4859. return soap->error;
  4860. };
  4861. if (soap_end_count(soap)
  4862. || soap_response(soap, SOAP_OK)
  4863. || soap_envelope_begin_out(soap)
  4864. || soap_putheader(soap)
  4865. || soap_body_begin_out(soap)
  4866. || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "")
  4867. || soap_body_end_out(soap)
  4868. || soap_envelope_end_out(soap)
  4869. || soap_end_send(soap))
  4870. return soap->error;
  4871. return soap_closesock(soap);
  4872. }
  4873. static int serve___trt__GetVideoSourceConfigurations_(MediaBindingService *soap)
  4874. { struct __trt__GetVideoSourceConfigurations_ soap_tmp___trt__GetVideoSourceConfigurations_;
  4875. _trt__GetVideoSourceConfigurationsResponse trt__GetVideoSourceConfigurationsResponse;
  4876. trt__GetVideoSourceConfigurationsResponse.soap_default(soap);
  4877. soap_default___trt__GetVideoSourceConfigurations_(soap, &soap_tmp___trt__GetVideoSourceConfigurations_);
  4878. if (!soap_get___trt__GetVideoSourceConfigurations_(soap, &soap_tmp___trt__GetVideoSourceConfigurations_, "-trt:GetVideoSourceConfigurations", NULL))
  4879. return soap->error;
  4880. if (soap_body_end_in(soap)
  4881. || soap_envelope_end_in(soap)
  4882. || soap_end_recv(soap))
  4883. return soap->error;
  4884. soap->error = soap->GetVideoSourceConfigurations_(soap_tmp___trt__GetVideoSourceConfigurations_.trt__GetVideoSourceConfigurations, &trt__GetVideoSourceConfigurationsResponse);
  4885. if (soap->error)
  4886. return soap->error;
  4887. soap->encodingStyle = NULL;
  4888. soap_serializeheader(soap);
  4889. trt__GetVideoSourceConfigurationsResponse.soap_serialize(soap);
  4890. if (soap_begin_count(soap))
  4891. return soap->error;
  4892. if (soap->mode & SOAP_IO_LENGTH)
  4893. { if (soap_envelope_begin_out(soap)
  4894. || soap_putheader(soap)
  4895. || soap_body_begin_out(soap)
  4896. || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "")
  4897. || soap_body_end_out(soap)
  4898. || soap_envelope_end_out(soap))
  4899. return soap->error;
  4900. };
  4901. if (soap_end_count(soap)
  4902. || soap_response(soap, SOAP_OK)
  4903. || soap_envelope_begin_out(soap)
  4904. || soap_putheader(soap)
  4905. || soap_body_begin_out(soap)
  4906. || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "")
  4907. || soap_body_end_out(soap)
  4908. || soap_envelope_end_out(soap)
  4909. || soap_end_send(soap))
  4910. return soap->error;
  4911. return soap_closesock(soap);
  4912. }
  4913. static int serve___trt__GetVideoEncoderConfigurations_(MediaBindingService *soap)
  4914. { struct __trt__GetVideoEncoderConfigurations_ soap_tmp___trt__GetVideoEncoderConfigurations_;
  4915. _trt__GetVideoEncoderConfigurationsResponse trt__GetVideoEncoderConfigurationsResponse;
  4916. trt__GetVideoEncoderConfigurationsResponse.soap_default(soap);
  4917. soap_default___trt__GetVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetVideoEncoderConfigurations_);
  4918. if (!soap_get___trt__GetVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetVideoEncoderConfigurations_, "-trt:GetVideoEncoderConfigurations", NULL))
  4919. return soap->error;
  4920. if (soap_body_end_in(soap)
  4921. || soap_envelope_end_in(soap)
  4922. || soap_end_recv(soap))
  4923. return soap->error;
  4924. soap->error = soap->GetVideoEncoderConfigurations_(soap_tmp___trt__GetVideoEncoderConfigurations_.trt__GetVideoEncoderConfigurations, &trt__GetVideoEncoderConfigurationsResponse);
  4925. if (soap->error)
  4926. return soap->error;
  4927. soap->encodingStyle = NULL;
  4928. soap_serializeheader(soap);
  4929. trt__GetVideoEncoderConfigurationsResponse.soap_serialize(soap);
  4930. if (soap_begin_count(soap))
  4931. return soap->error;
  4932. if (soap->mode & SOAP_IO_LENGTH)
  4933. { if (soap_envelope_begin_out(soap)
  4934. || soap_putheader(soap)
  4935. || soap_body_begin_out(soap)
  4936. || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "")
  4937. || soap_body_end_out(soap)
  4938. || soap_envelope_end_out(soap))
  4939. return soap->error;
  4940. };
  4941. if (soap_end_count(soap)
  4942. || soap_response(soap, SOAP_OK)
  4943. || soap_envelope_begin_out(soap)
  4944. || soap_putheader(soap)
  4945. || soap_body_begin_out(soap)
  4946. || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "")
  4947. || soap_body_end_out(soap)
  4948. || soap_envelope_end_out(soap)
  4949. || soap_end_send(soap))
  4950. return soap->error;
  4951. return soap_closesock(soap);
  4952. }
  4953. static int serve___trt__GetAudioSourceConfigurations_(MediaBindingService *soap)
  4954. { struct __trt__GetAudioSourceConfigurations_ soap_tmp___trt__GetAudioSourceConfigurations_;
  4955. _trt__GetAudioSourceConfigurationsResponse trt__GetAudioSourceConfigurationsResponse;
  4956. trt__GetAudioSourceConfigurationsResponse.soap_default(soap);
  4957. soap_default___trt__GetAudioSourceConfigurations_(soap, &soap_tmp___trt__GetAudioSourceConfigurations_);
  4958. if (!soap_get___trt__GetAudioSourceConfigurations_(soap, &soap_tmp___trt__GetAudioSourceConfigurations_, "-trt:GetAudioSourceConfigurations", NULL))
  4959. return soap->error;
  4960. if (soap_body_end_in(soap)
  4961. || soap_envelope_end_in(soap)
  4962. || soap_end_recv(soap))
  4963. return soap->error;
  4964. soap->error = soap->GetAudioSourceConfigurations_(soap_tmp___trt__GetAudioSourceConfigurations_.trt__GetAudioSourceConfigurations, &trt__GetAudioSourceConfigurationsResponse);
  4965. if (soap->error)
  4966. return soap->error;
  4967. soap->encodingStyle = NULL;
  4968. soap_serializeheader(soap);
  4969. trt__GetAudioSourceConfigurationsResponse.soap_serialize(soap);
  4970. if (soap_begin_count(soap))
  4971. return soap->error;
  4972. if (soap->mode & SOAP_IO_LENGTH)
  4973. { if (soap_envelope_begin_out(soap)
  4974. || soap_putheader(soap)
  4975. || soap_body_begin_out(soap)
  4976. || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "")
  4977. || soap_body_end_out(soap)
  4978. || soap_envelope_end_out(soap))
  4979. return soap->error;
  4980. };
  4981. if (soap_end_count(soap)
  4982. || soap_response(soap, SOAP_OK)
  4983. || soap_envelope_begin_out(soap)
  4984. || soap_putheader(soap)
  4985. || soap_body_begin_out(soap)
  4986. || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "")
  4987. || soap_body_end_out(soap)
  4988. || soap_envelope_end_out(soap)
  4989. || soap_end_send(soap))
  4990. return soap->error;
  4991. return soap_closesock(soap);
  4992. }
  4993. static int serve___trt__GetAudioEncoderConfigurations_(MediaBindingService *soap)
  4994. { struct __trt__GetAudioEncoderConfigurations_ soap_tmp___trt__GetAudioEncoderConfigurations_;
  4995. _trt__GetAudioEncoderConfigurationsResponse trt__GetAudioEncoderConfigurationsResponse;
  4996. trt__GetAudioEncoderConfigurationsResponse.soap_default(soap);
  4997. soap_default___trt__GetAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetAudioEncoderConfigurations_);
  4998. if (!soap_get___trt__GetAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetAudioEncoderConfigurations_, "-trt:GetAudioEncoderConfigurations", NULL))
  4999. return soap->error;
  5000. if (soap_body_end_in(soap)
  5001. || soap_envelope_end_in(soap)
  5002. || soap_end_recv(soap))
  5003. return soap->error;
  5004. soap->error = soap->GetAudioEncoderConfigurations_(soap_tmp___trt__GetAudioEncoderConfigurations_.trt__GetAudioEncoderConfigurations, &trt__GetAudioEncoderConfigurationsResponse);
  5005. if (soap->error)
  5006. return soap->error;
  5007. soap->encodingStyle = NULL;
  5008. soap_serializeheader(soap);
  5009. trt__GetAudioEncoderConfigurationsResponse.soap_serialize(soap);
  5010. if (soap_begin_count(soap))
  5011. return soap->error;
  5012. if (soap->mode & SOAP_IO_LENGTH)
  5013. { if (soap_envelope_begin_out(soap)
  5014. || soap_putheader(soap)
  5015. || soap_body_begin_out(soap)
  5016. || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "")
  5017. || soap_body_end_out(soap)
  5018. || soap_envelope_end_out(soap))
  5019. return soap->error;
  5020. };
  5021. if (soap_end_count(soap)
  5022. || soap_response(soap, SOAP_OK)
  5023. || soap_envelope_begin_out(soap)
  5024. || soap_putheader(soap)
  5025. || soap_body_begin_out(soap)
  5026. || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "")
  5027. || soap_body_end_out(soap)
  5028. || soap_envelope_end_out(soap)
  5029. || soap_end_send(soap))
  5030. return soap->error;
  5031. return soap_closesock(soap);
  5032. }
  5033. static int serve___trt__GetVideoAnalyticsConfigurations_(MediaBindingService *soap)
  5034. { struct __trt__GetVideoAnalyticsConfigurations_ soap_tmp___trt__GetVideoAnalyticsConfigurations_;
  5035. _trt__GetVideoAnalyticsConfigurationsResponse trt__GetVideoAnalyticsConfigurationsResponse;
  5036. trt__GetVideoAnalyticsConfigurationsResponse.soap_default(soap);
  5037. soap_default___trt__GetVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations_);
  5038. if (!soap_get___trt__GetVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations_, "-trt:GetVideoAnalyticsConfigurations", NULL))
  5039. return soap->error;
  5040. if (soap_body_end_in(soap)
  5041. || soap_envelope_end_in(soap)
  5042. || soap_end_recv(soap))
  5043. return soap->error;
  5044. soap->error = soap->GetVideoAnalyticsConfigurations_(soap_tmp___trt__GetVideoAnalyticsConfigurations_.trt__GetVideoAnalyticsConfigurations, &trt__GetVideoAnalyticsConfigurationsResponse);
  5045. if (soap->error)
  5046. return soap->error;
  5047. soap->encodingStyle = NULL;
  5048. soap_serializeheader(soap);
  5049. trt__GetVideoAnalyticsConfigurationsResponse.soap_serialize(soap);
  5050. if (soap_begin_count(soap))
  5051. return soap->error;
  5052. if (soap->mode & SOAP_IO_LENGTH)
  5053. { if (soap_envelope_begin_out(soap)
  5054. || soap_putheader(soap)
  5055. || soap_body_begin_out(soap)
  5056. || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "")
  5057. || soap_body_end_out(soap)
  5058. || soap_envelope_end_out(soap))
  5059. return soap->error;
  5060. };
  5061. if (soap_end_count(soap)
  5062. || soap_response(soap, SOAP_OK)
  5063. || soap_envelope_begin_out(soap)
  5064. || soap_putheader(soap)
  5065. || soap_body_begin_out(soap)
  5066. || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "")
  5067. || soap_body_end_out(soap)
  5068. || soap_envelope_end_out(soap)
  5069. || soap_end_send(soap))
  5070. return soap->error;
  5071. return soap_closesock(soap);
  5072. }
  5073. static int serve___trt__GetMetadataConfigurations_(MediaBindingService *soap)
  5074. { struct __trt__GetMetadataConfigurations_ soap_tmp___trt__GetMetadataConfigurations_;
  5075. _trt__GetMetadataConfigurationsResponse trt__GetMetadataConfigurationsResponse;
  5076. trt__GetMetadataConfigurationsResponse.soap_default(soap);
  5077. soap_default___trt__GetMetadataConfigurations_(soap, &soap_tmp___trt__GetMetadataConfigurations_);
  5078. if (!soap_get___trt__GetMetadataConfigurations_(soap, &soap_tmp___trt__GetMetadataConfigurations_, "-trt:GetMetadataConfigurations", NULL))
  5079. return soap->error;
  5080. if (soap_body_end_in(soap)
  5081. || soap_envelope_end_in(soap)
  5082. || soap_end_recv(soap))
  5083. return soap->error;
  5084. soap->error = soap->GetMetadataConfigurations_(soap_tmp___trt__GetMetadataConfigurations_.trt__GetMetadataConfigurations, &trt__GetMetadataConfigurationsResponse);
  5085. if (soap->error)
  5086. return soap->error;
  5087. soap->encodingStyle = NULL;
  5088. soap_serializeheader(soap);
  5089. trt__GetMetadataConfigurationsResponse.soap_serialize(soap);
  5090. if (soap_begin_count(soap))
  5091. return soap->error;
  5092. if (soap->mode & SOAP_IO_LENGTH)
  5093. { if (soap_envelope_begin_out(soap)
  5094. || soap_putheader(soap)
  5095. || soap_body_begin_out(soap)
  5096. || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "")
  5097. || soap_body_end_out(soap)
  5098. || soap_envelope_end_out(soap))
  5099. return soap->error;
  5100. };
  5101. if (soap_end_count(soap)
  5102. || soap_response(soap, SOAP_OK)
  5103. || soap_envelope_begin_out(soap)
  5104. || soap_putheader(soap)
  5105. || soap_body_begin_out(soap)
  5106. || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "")
  5107. || soap_body_end_out(soap)
  5108. || soap_envelope_end_out(soap)
  5109. || soap_end_send(soap))
  5110. return soap->error;
  5111. return soap_closesock(soap);
  5112. }
  5113. static int serve___trt__GetAudioOutputConfigurations_(MediaBindingService *soap)
  5114. { struct __trt__GetAudioOutputConfigurations_ soap_tmp___trt__GetAudioOutputConfigurations_;
  5115. _trt__GetAudioOutputConfigurationsResponse trt__GetAudioOutputConfigurationsResponse;
  5116. trt__GetAudioOutputConfigurationsResponse.soap_default(soap);
  5117. soap_default___trt__GetAudioOutputConfigurations_(soap, &soap_tmp___trt__GetAudioOutputConfigurations_);
  5118. if (!soap_get___trt__GetAudioOutputConfigurations_(soap, &soap_tmp___trt__GetAudioOutputConfigurations_, "-trt:GetAudioOutputConfigurations", NULL))
  5119. return soap->error;
  5120. if (soap_body_end_in(soap)
  5121. || soap_envelope_end_in(soap)
  5122. || soap_end_recv(soap))
  5123. return soap->error;
  5124. soap->error = soap->GetAudioOutputConfigurations_(soap_tmp___trt__GetAudioOutputConfigurations_.trt__GetAudioOutputConfigurations, &trt__GetAudioOutputConfigurationsResponse);
  5125. if (soap->error)
  5126. return soap->error;
  5127. soap->encodingStyle = NULL;
  5128. soap_serializeheader(soap);
  5129. trt__GetAudioOutputConfigurationsResponse.soap_serialize(soap);
  5130. if (soap_begin_count(soap))
  5131. return soap->error;
  5132. if (soap->mode & SOAP_IO_LENGTH)
  5133. { if (soap_envelope_begin_out(soap)
  5134. || soap_putheader(soap)
  5135. || soap_body_begin_out(soap)
  5136. || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "")
  5137. || soap_body_end_out(soap)
  5138. || soap_envelope_end_out(soap))
  5139. return soap->error;
  5140. };
  5141. if (soap_end_count(soap)
  5142. || soap_response(soap, SOAP_OK)
  5143. || soap_envelope_begin_out(soap)
  5144. || soap_putheader(soap)
  5145. || soap_body_begin_out(soap)
  5146. || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "")
  5147. || soap_body_end_out(soap)
  5148. || soap_envelope_end_out(soap)
  5149. || soap_end_send(soap))
  5150. return soap->error;
  5151. return soap_closesock(soap);
  5152. }
  5153. static int serve___trt__GetAudioDecoderConfigurations_(MediaBindingService *soap)
  5154. { struct __trt__GetAudioDecoderConfigurations_ soap_tmp___trt__GetAudioDecoderConfigurations_;
  5155. _trt__GetAudioDecoderConfigurationsResponse trt__GetAudioDecoderConfigurationsResponse;
  5156. trt__GetAudioDecoderConfigurationsResponse.soap_default(soap);
  5157. soap_default___trt__GetAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetAudioDecoderConfigurations_);
  5158. if (!soap_get___trt__GetAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetAudioDecoderConfigurations_, "-trt:GetAudioDecoderConfigurations", NULL))
  5159. return soap->error;
  5160. if (soap_body_end_in(soap)
  5161. || soap_envelope_end_in(soap)
  5162. || soap_end_recv(soap))
  5163. return soap->error;
  5164. soap->error = soap->GetAudioDecoderConfigurations_(soap_tmp___trt__GetAudioDecoderConfigurations_.trt__GetAudioDecoderConfigurations, &trt__GetAudioDecoderConfigurationsResponse);
  5165. if (soap->error)
  5166. return soap->error;
  5167. soap->encodingStyle = NULL;
  5168. soap_serializeheader(soap);
  5169. trt__GetAudioDecoderConfigurationsResponse.soap_serialize(soap);
  5170. if (soap_begin_count(soap))
  5171. return soap->error;
  5172. if (soap->mode & SOAP_IO_LENGTH)
  5173. { if (soap_envelope_begin_out(soap)
  5174. || soap_putheader(soap)
  5175. || soap_body_begin_out(soap)
  5176. || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "")
  5177. || soap_body_end_out(soap)
  5178. || soap_envelope_end_out(soap))
  5179. return soap->error;
  5180. };
  5181. if (soap_end_count(soap)
  5182. || soap_response(soap, SOAP_OK)
  5183. || soap_envelope_begin_out(soap)
  5184. || soap_putheader(soap)
  5185. || soap_body_begin_out(soap)
  5186. || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "")
  5187. || soap_body_end_out(soap)
  5188. || soap_envelope_end_out(soap)
  5189. || soap_end_send(soap))
  5190. return soap->error;
  5191. return soap_closesock(soap);
  5192. }
  5193. static int serve___trt__GetVideoSourceConfiguration_(MediaBindingService *soap)
  5194. { struct __trt__GetVideoSourceConfiguration_ soap_tmp___trt__GetVideoSourceConfiguration_;
  5195. _trt__GetVideoSourceConfigurationResponse trt__GetVideoSourceConfigurationResponse;
  5196. trt__GetVideoSourceConfigurationResponse.soap_default(soap);
  5197. soap_default___trt__GetVideoSourceConfiguration_(soap, &soap_tmp___trt__GetVideoSourceConfiguration_);
  5198. if (!soap_get___trt__GetVideoSourceConfiguration_(soap, &soap_tmp___trt__GetVideoSourceConfiguration_, "-trt:GetVideoSourceConfiguration", NULL))
  5199. return soap->error;
  5200. if (soap_body_end_in(soap)
  5201. || soap_envelope_end_in(soap)
  5202. || soap_end_recv(soap))
  5203. return soap->error;
  5204. soap->error = soap->GetVideoSourceConfiguration_(soap_tmp___trt__GetVideoSourceConfiguration_.trt__GetVideoSourceConfiguration, &trt__GetVideoSourceConfigurationResponse);
  5205. if (soap->error)
  5206. return soap->error;
  5207. soap->encodingStyle = NULL;
  5208. soap_serializeheader(soap);
  5209. trt__GetVideoSourceConfigurationResponse.soap_serialize(soap);
  5210. if (soap_begin_count(soap))
  5211. return soap->error;
  5212. if (soap->mode & SOAP_IO_LENGTH)
  5213. { if (soap_envelope_begin_out(soap)
  5214. || soap_putheader(soap)
  5215. || soap_body_begin_out(soap)
  5216. || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "")
  5217. || soap_body_end_out(soap)
  5218. || soap_envelope_end_out(soap))
  5219. return soap->error;
  5220. };
  5221. if (soap_end_count(soap)
  5222. || soap_response(soap, SOAP_OK)
  5223. || soap_envelope_begin_out(soap)
  5224. || soap_putheader(soap)
  5225. || soap_body_begin_out(soap)
  5226. || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "")
  5227. || soap_body_end_out(soap)
  5228. || soap_envelope_end_out(soap)
  5229. || soap_end_send(soap))
  5230. return soap->error;
  5231. return soap_closesock(soap);
  5232. }
  5233. static int serve___trt__GetVideoEncoderConfiguration_(MediaBindingService *soap)
  5234. { struct __trt__GetVideoEncoderConfiguration_ soap_tmp___trt__GetVideoEncoderConfiguration_;
  5235. _trt__GetVideoEncoderConfigurationResponse trt__GetVideoEncoderConfigurationResponse;
  5236. trt__GetVideoEncoderConfigurationResponse.soap_default(soap);
  5237. soap_default___trt__GetVideoEncoderConfiguration_(soap, &soap_tmp___trt__GetVideoEncoderConfiguration_);
  5238. if (!soap_get___trt__GetVideoEncoderConfiguration_(soap, &soap_tmp___trt__GetVideoEncoderConfiguration_, "-trt:GetVideoEncoderConfiguration", NULL))
  5239. return soap->error;
  5240. if (soap_body_end_in(soap)
  5241. || soap_envelope_end_in(soap)
  5242. || soap_end_recv(soap))
  5243. return soap->error;
  5244. soap->error = soap->GetVideoEncoderConfiguration_(soap_tmp___trt__GetVideoEncoderConfiguration_.trt__GetVideoEncoderConfiguration, &trt__GetVideoEncoderConfigurationResponse);
  5245. if (soap->error)
  5246. return soap->error;
  5247. soap->encodingStyle = NULL;
  5248. soap_serializeheader(soap);
  5249. trt__GetVideoEncoderConfigurationResponse.soap_serialize(soap);
  5250. if (soap_begin_count(soap))
  5251. return soap->error;
  5252. if (soap->mode & SOAP_IO_LENGTH)
  5253. { if (soap_envelope_begin_out(soap)
  5254. || soap_putheader(soap)
  5255. || soap_body_begin_out(soap)
  5256. || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "")
  5257. || soap_body_end_out(soap)
  5258. || soap_envelope_end_out(soap))
  5259. return soap->error;
  5260. };
  5261. if (soap_end_count(soap)
  5262. || soap_response(soap, SOAP_OK)
  5263. || soap_envelope_begin_out(soap)
  5264. || soap_putheader(soap)
  5265. || soap_body_begin_out(soap)
  5266. || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "")
  5267. || soap_body_end_out(soap)
  5268. || soap_envelope_end_out(soap)
  5269. || soap_end_send(soap))
  5270. return soap->error;
  5271. return soap_closesock(soap);
  5272. }
  5273. static int serve___trt__GetAudioSourceConfiguration_(MediaBindingService *soap)
  5274. { struct __trt__GetAudioSourceConfiguration_ soap_tmp___trt__GetAudioSourceConfiguration_;
  5275. _trt__GetAudioSourceConfigurationResponse trt__GetAudioSourceConfigurationResponse;
  5276. trt__GetAudioSourceConfigurationResponse.soap_default(soap);
  5277. soap_default___trt__GetAudioSourceConfiguration_(soap, &soap_tmp___trt__GetAudioSourceConfiguration_);
  5278. if (!soap_get___trt__GetAudioSourceConfiguration_(soap, &soap_tmp___trt__GetAudioSourceConfiguration_, "-trt:GetAudioSourceConfiguration", NULL))
  5279. return soap->error;
  5280. if (soap_body_end_in(soap)
  5281. || soap_envelope_end_in(soap)
  5282. || soap_end_recv(soap))
  5283. return soap->error;
  5284. soap->error = soap->GetAudioSourceConfiguration_(soap_tmp___trt__GetAudioSourceConfiguration_.trt__GetAudioSourceConfiguration, &trt__GetAudioSourceConfigurationResponse);
  5285. if (soap->error)
  5286. return soap->error;
  5287. soap->encodingStyle = NULL;
  5288. soap_serializeheader(soap);
  5289. trt__GetAudioSourceConfigurationResponse.soap_serialize(soap);
  5290. if (soap_begin_count(soap))
  5291. return soap->error;
  5292. if (soap->mode & SOAP_IO_LENGTH)
  5293. { if (soap_envelope_begin_out(soap)
  5294. || soap_putheader(soap)
  5295. || soap_body_begin_out(soap)
  5296. || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "")
  5297. || soap_body_end_out(soap)
  5298. || soap_envelope_end_out(soap))
  5299. return soap->error;
  5300. };
  5301. if (soap_end_count(soap)
  5302. || soap_response(soap, SOAP_OK)
  5303. || soap_envelope_begin_out(soap)
  5304. || soap_putheader(soap)
  5305. || soap_body_begin_out(soap)
  5306. || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "")
  5307. || soap_body_end_out(soap)
  5308. || soap_envelope_end_out(soap)
  5309. || soap_end_send(soap))
  5310. return soap->error;
  5311. return soap_closesock(soap);
  5312. }
  5313. static int serve___trt__GetAudioEncoderConfiguration_(MediaBindingService *soap)
  5314. { struct __trt__GetAudioEncoderConfiguration_ soap_tmp___trt__GetAudioEncoderConfiguration_;
  5315. _trt__GetAudioEncoderConfigurationResponse trt__GetAudioEncoderConfigurationResponse;
  5316. trt__GetAudioEncoderConfigurationResponse.soap_default(soap);
  5317. soap_default___trt__GetAudioEncoderConfiguration_(soap, &soap_tmp___trt__GetAudioEncoderConfiguration_);
  5318. if (!soap_get___trt__GetAudioEncoderConfiguration_(soap, &soap_tmp___trt__GetAudioEncoderConfiguration_, "-trt:GetAudioEncoderConfiguration", NULL))
  5319. return soap->error;
  5320. if (soap_body_end_in(soap)
  5321. || soap_envelope_end_in(soap)
  5322. || soap_end_recv(soap))
  5323. return soap->error;
  5324. soap->error = soap->GetAudioEncoderConfiguration_(soap_tmp___trt__GetAudioEncoderConfiguration_.trt__GetAudioEncoderConfiguration, &trt__GetAudioEncoderConfigurationResponse);
  5325. if (soap->error)
  5326. return soap->error;
  5327. soap->encodingStyle = NULL;
  5328. soap_serializeheader(soap);
  5329. trt__GetAudioEncoderConfigurationResponse.soap_serialize(soap);
  5330. if (soap_begin_count(soap))
  5331. return soap->error;
  5332. if (soap->mode & SOAP_IO_LENGTH)
  5333. { if (soap_envelope_begin_out(soap)
  5334. || soap_putheader(soap)
  5335. || soap_body_begin_out(soap)
  5336. || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "")
  5337. || soap_body_end_out(soap)
  5338. || soap_envelope_end_out(soap))
  5339. return soap->error;
  5340. };
  5341. if (soap_end_count(soap)
  5342. || soap_response(soap, SOAP_OK)
  5343. || soap_envelope_begin_out(soap)
  5344. || soap_putheader(soap)
  5345. || soap_body_begin_out(soap)
  5346. || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "")
  5347. || soap_body_end_out(soap)
  5348. || soap_envelope_end_out(soap)
  5349. || soap_end_send(soap))
  5350. return soap->error;
  5351. return soap_closesock(soap);
  5352. }
  5353. static int serve___trt__GetVideoAnalyticsConfiguration_(MediaBindingService *soap)
  5354. { struct __trt__GetVideoAnalyticsConfiguration_ soap_tmp___trt__GetVideoAnalyticsConfiguration_;
  5355. _trt__GetVideoAnalyticsConfigurationResponse trt__GetVideoAnalyticsConfigurationResponse;
  5356. trt__GetVideoAnalyticsConfigurationResponse.soap_default(soap);
  5357. soap_default___trt__GetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration_);
  5358. if (!soap_get___trt__GetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration_, "-trt:GetVideoAnalyticsConfiguration", NULL))
  5359. return soap->error;
  5360. if (soap_body_end_in(soap)
  5361. || soap_envelope_end_in(soap)
  5362. || soap_end_recv(soap))
  5363. return soap->error;
  5364. soap->error = soap->GetVideoAnalyticsConfiguration_(soap_tmp___trt__GetVideoAnalyticsConfiguration_.trt__GetVideoAnalyticsConfiguration, &trt__GetVideoAnalyticsConfigurationResponse);
  5365. if (soap->error)
  5366. return soap->error;
  5367. soap->encodingStyle = NULL;
  5368. soap_serializeheader(soap);
  5369. trt__GetVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  5370. if (soap_begin_count(soap))
  5371. return soap->error;
  5372. if (soap->mode & SOAP_IO_LENGTH)
  5373. { if (soap_envelope_begin_out(soap)
  5374. || soap_putheader(soap)
  5375. || soap_body_begin_out(soap)
  5376. || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "")
  5377. || soap_body_end_out(soap)
  5378. || soap_envelope_end_out(soap))
  5379. return soap->error;
  5380. };
  5381. if (soap_end_count(soap)
  5382. || soap_response(soap, SOAP_OK)
  5383. || soap_envelope_begin_out(soap)
  5384. || soap_putheader(soap)
  5385. || soap_body_begin_out(soap)
  5386. || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "")
  5387. || soap_body_end_out(soap)
  5388. || soap_envelope_end_out(soap)
  5389. || soap_end_send(soap))
  5390. return soap->error;
  5391. return soap_closesock(soap);
  5392. }
  5393. static int serve___trt__GetMetadataConfiguration_(MediaBindingService *soap)
  5394. { struct __trt__GetMetadataConfiguration_ soap_tmp___trt__GetMetadataConfiguration_;
  5395. _trt__GetMetadataConfigurationResponse trt__GetMetadataConfigurationResponse;
  5396. trt__GetMetadataConfigurationResponse.soap_default(soap);
  5397. soap_default___trt__GetMetadataConfiguration_(soap, &soap_tmp___trt__GetMetadataConfiguration_);
  5398. if (!soap_get___trt__GetMetadataConfiguration_(soap, &soap_tmp___trt__GetMetadataConfiguration_, "-trt:GetMetadataConfiguration", NULL))
  5399. return soap->error;
  5400. if (soap_body_end_in(soap)
  5401. || soap_envelope_end_in(soap)
  5402. || soap_end_recv(soap))
  5403. return soap->error;
  5404. soap->error = soap->GetMetadataConfiguration_(soap_tmp___trt__GetMetadataConfiguration_.trt__GetMetadataConfiguration, &trt__GetMetadataConfigurationResponse);
  5405. if (soap->error)
  5406. return soap->error;
  5407. soap->encodingStyle = NULL;
  5408. soap_serializeheader(soap);
  5409. trt__GetMetadataConfigurationResponse.soap_serialize(soap);
  5410. if (soap_begin_count(soap))
  5411. return soap->error;
  5412. if (soap->mode & SOAP_IO_LENGTH)
  5413. { if (soap_envelope_begin_out(soap)
  5414. || soap_putheader(soap)
  5415. || soap_body_begin_out(soap)
  5416. || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "")
  5417. || soap_body_end_out(soap)
  5418. || soap_envelope_end_out(soap))
  5419. return soap->error;
  5420. };
  5421. if (soap_end_count(soap)
  5422. || soap_response(soap, SOAP_OK)
  5423. || soap_envelope_begin_out(soap)
  5424. || soap_putheader(soap)
  5425. || soap_body_begin_out(soap)
  5426. || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "")
  5427. || soap_body_end_out(soap)
  5428. || soap_envelope_end_out(soap)
  5429. || soap_end_send(soap))
  5430. return soap->error;
  5431. return soap_closesock(soap);
  5432. }
  5433. static int serve___trt__GetAudioOutputConfiguration_(MediaBindingService *soap)
  5434. { struct __trt__GetAudioOutputConfiguration_ soap_tmp___trt__GetAudioOutputConfiguration_;
  5435. _trt__GetAudioOutputConfigurationResponse trt__GetAudioOutputConfigurationResponse;
  5436. trt__GetAudioOutputConfigurationResponse.soap_default(soap);
  5437. soap_default___trt__GetAudioOutputConfiguration_(soap, &soap_tmp___trt__GetAudioOutputConfiguration_);
  5438. if (!soap_get___trt__GetAudioOutputConfiguration_(soap, &soap_tmp___trt__GetAudioOutputConfiguration_, "-trt:GetAudioOutputConfiguration", NULL))
  5439. return soap->error;
  5440. if (soap_body_end_in(soap)
  5441. || soap_envelope_end_in(soap)
  5442. || soap_end_recv(soap))
  5443. return soap->error;
  5444. soap->error = soap->GetAudioOutputConfiguration_(soap_tmp___trt__GetAudioOutputConfiguration_.trt__GetAudioOutputConfiguration, &trt__GetAudioOutputConfigurationResponse);
  5445. if (soap->error)
  5446. return soap->error;
  5447. soap->encodingStyle = NULL;
  5448. soap_serializeheader(soap);
  5449. trt__GetAudioOutputConfigurationResponse.soap_serialize(soap);
  5450. if (soap_begin_count(soap))
  5451. return soap->error;
  5452. if (soap->mode & SOAP_IO_LENGTH)
  5453. { if (soap_envelope_begin_out(soap)
  5454. || soap_putheader(soap)
  5455. || soap_body_begin_out(soap)
  5456. || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "")
  5457. || soap_body_end_out(soap)
  5458. || soap_envelope_end_out(soap))
  5459. return soap->error;
  5460. };
  5461. if (soap_end_count(soap)
  5462. || soap_response(soap, SOAP_OK)
  5463. || soap_envelope_begin_out(soap)
  5464. || soap_putheader(soap)
  5465. || soap_body_begin_out(soap)
  5466. || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "")
  5467. || soap_body_end_out(soap)
  5468. || soap_envelope_end_out(soap)
  5469. || soap_end_send(soap))
  5470. return soap->error;
  5471. return soap_closesock(soap);
  5472. }
  5473. static int serve___trt__GetAudioDecoderConfiguration_(MediaBindingService *soap)
  5474. { struct __trt__GetAudioDecoderConfiguration_ soap_tmp___trt__GetAudioDecoderConfiguration_;
  5475. _trt__GetAudioDecoderConfigurationResponse trt__GetAudioDecoderConfigurationResponse;
  5476. trt__GetAudioDecoderConfigurationResponse.soap_default(soap);
  5477. soap_default___trt__GetAudioDecoderConfiguration_(soap, &soap_tmp___trt__GetAudioDecoderConfiguration_);
  5478. if (!soap_get___trt__GetAudioDecoderConfiguration_(soap, &soap_tmp___trt__GetAudioDecoderConfiguration_, "-trt:GetAudioDecoderConfiguration", NULL))
  5479. return soap->error;
  5480. if (soap_body_end_in(soap)
  5481. || soap_envelope_end_in(soap)
  5482. || soap_end_recv(soap))
  5483. return soap->error;
  5484. soap->error = soap->GetAudioDecoderConfiguration_(soap_tmp___trt__GetAudioDecoderConfiguration_.trt__GetAudioDecoderConfiguration, &trt__GetAudioDecoderConfigurationResponse);
  5485. if (soap->error)
  5486. return soap->error;
  5487. soap->encodingStyle = NULL;
  5488. soap_serializeheader(soap);
  5489. trt__GetAudioDecoderConfigurationResponse.soap_serialize(soap);
  5490. if (soap_begin_count(soap))
  5491. return soap->error;
  5492. if (soap->mode & SOAP_IO_LENGTH)
  5493. { if (soap_envelope_begin_out(soap)
  5494. || soap_putheader(soap)
  5495. || soap_body_begin_out(soap)
  5496. || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "")
  5497. || soap_body_end_out(soap)
  5498. || soap_envelope_end_out(soap))
  5499. return soap->error;
  5500. };
  5501. if (soap_end_count(soap)
  5502. || soap_response(soap, SOAP_OK)
  5503. || soap_envelope_begin_out(soap)
  5504. || soap_putheader(soap)
  5505. || soap_body_begin_out(soap)
  5506. || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "")
  5507. || soap_body_end_out(soap)
  5508. || soap_envelope_end_out(soap)
  5509. || soap_end_send(soap))
  5510. return soap->error;
  5511. return soap_closesock(soap);
  5512. }
  5513. static int serve___trt__GetCompatibleVideoEncoderConfigurations_(MediaBindingService *soap)
  5514. { struct __trt__GetCompatibleVideoEncoderConfigurations_ soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_;
  5515. _trt__GetCompatibleVideoEncoderConfigurationsResponse trt__GetCompatibleVideoEncoderConfigurationsResponse;
  5516. trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_default(soap);
  5517. soap_default___trt__GetCompatibleVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_);
  5518. if (!soap_get___trt__GetCompatibleVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_, "-trt:GetCompatibleVideoEncoderConfigurations", NULL))
  5519. return soap->error;
  5520. if (soap_body_end_in(soap)
  5521. || soap_envelope_end_in(soap)
  5522. || soap_end_recv(soap))
  5523. return soap->error;
  5524. soap->error = soap->GetCompatibleVideoEncoderConfigurations_(soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_.trt__GetCompatibleVideoEncoderConfigurations, &trt__GetCompatibleVideoEncoderConfigurationsResponse);
  5525. if (soap->error)
  5526. return soap->error;
  5527. soap->encodingStyle = NULL;
  5528. soap_serializeheader(soap);
  5529. trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_serialize(soap);
  5530. if (soap_begin_count(soap))
  5531. return soap->error;
  5532. if (soap->mode & SOAP_IO_LENGTH)
  5533. { if (soap_envelope_begin_out(soap)
  5534. || soap_putheader(soap)
  5535. || soap_body_begin_out(soap)
  5536. || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "")
  5537. || soap_body_end_out(soap)
  5538. || soap_envelope_end_out(soap))
  5539. return soap->error;
  5540. };
  5541. if (soap_end_count(soap)
  5542. || soap_response(soap, SOAP_OK)
  5543. || soap_envelope_begin_out(soap)
  5544. || soap_putheader(soap)
  5545. || soap_body_begin_out(soap)
  5546. || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "")
  5547. || soap_body_end_out(soap)
  5548. || soap_envelope_end_out(soap)
  5549. || soap_end_send(soap))
  5550. return soap->error;
  5551. return soap_closesock(soap);
  5552. }
  5553. static int serve___trt__GetCompatibleVideoSourceConfigurations_(MediaBindingService *soap)
  5554. { struct __trt__GetCompatibleVideoSourceConfigurations_ soap_tmp___trt__GetCompatibleVideoSourceConfigurations_;
  5555. _trt__GetCompatibleVideoSourceConfigurationsResponse trt__GetCompatibleVideoSourceConfigurationsResponse;
  5556. trt__GetCompatibleVideoSourceConfigurationsResponse.soap_default(soap);
  5557. soap_default___trt__GetCompatibleVideoSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations_);
  5558. if (!soap_get___trt__GetCompatibleVideoSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations_, "-trt:GetCompatibleVideoSourceConfigurations", NULL))
  5559. return soap->error;
  5560. if (soap_body_end_in(soap)
  5561. || soap_envelope_end_in(soap)
  5562. || soap_end_recv(soap))
  5563. return soap->error;
  5564. soap->error = soap->GetCompatibleVideoSourceConfigurations_(soap_tmp___trt__GetCompatibleVideoSourceConfigurations_.trt__GetCompatibleVideoSourceConfigurations, &trt__GetCompatibleVideoSourceConfigurationsResponse);
  5565. if (soap->error)
  5566. return soap->error;
  5567. soap->encodingStyle = NULL;
  5568. soap_serializeheader(soap);
  5569. trt__GetCompatibleVideoSourceConfigurationsResponse.soap_serialize(soap);
  5570. if (soap_begin_count(soap))
  5571. return soap->error;
  5572. if (soap->mode & SOAP_IO_LENGTH)
  5573. { if (soap_envelope_begin_out(soap)
  5574. || soap_putheader(soap)
  5575. || soap_body_begin_out(soap)
  5576. || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "")
  5577. || soap_body_end_out(soap)
  5578. || soap_envelope_end_out(soap))
  5579. return soap->error;
  5580. };
  5581. if (soap_end_count(soap)
  5582. || soap_response(soap, SOAP_OK)
  5583. || soap_envelope_begin_out(soap)
  5584. || soap_putheader(soap)
  5585. || soap_body_begin_out(soap)
  5586. || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "")
  5587. || soap_body_end_out(soap)
  5588. || soap_envelope_end_out(soap)
  5589. || soap_end_send(soap))
  5590. return soap->error;
  5591. return soap_closesock(soap);
  5592. }
  5593. static int serve___trt__GetCompatibleAudioEncoderConfigurations_(MediaBindingService *soap)
  5594. { struct __trt__GetCompatibleAudioEncoderConfigurations_ soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_;
  5595. _trt__GetCompatibleAudioEncoderConfigurationsResponse trt__GetCompatibleAudioEncoderConfigurationsResponse;
  5596. trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_default(soap);
  5597. soap_default___trt__GetCompatibleAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_);
  5598. if (!soap_get___trt__GetCompatibleAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_, "-trt:GetCompatibleAudioEncoderConfigurations", NULL))
  5599. return soap->error;
  5600. if (soap_body_end_in(soap)
  5601. || soap_envelope_end_in(soap)
  5602. || soap_end_recv(soap))
  5603. return soap->error;
  5604. soap->error = soap->GetCompatibleAudioEncoderConfigurations_(soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_.trt__GetCompatibleAudioEncoderConfigurations, &trt__GetCompatibleAudioEncoderConfigurationsResponse);
  5605. if (soap->error)
  5606. return soap->error;
  5607. soap->encodingStyle = NULL;
  5608. soap_serializeheader(soap);
  5609. trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_serialize(soap);
  5610. if (soap_begin_count(soap))
  5611. return soap->error;
  5612. if (soap->mode & SOAP_IO_LENGTH)
  5613. { if (soap_envelope_begin_out(soap)
  5614. || soap_putheader(soap)
  5615. || soap_body_begin_out(soap)
  5616. || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "")
  5617. || soap_body_end_out(soap)
  5618. || soap_envelope_end_out(soap))
  5619. return soap->error;
  5620. };
  5621. if (soap_end_count(soap)
  5622. || soap_response(soap, SOAP_OK)
  5623. || soap_envelope_begin_out(soap)
  5624. || soap_putheader(soap)
  5625. || soap_body_begin_out(soap)
  5626. || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "")
  5627. || soap_body_end_out(soap)
  5628. || soap_envelope_end_out(soap)
  5629. || soap_end_send(soap))
  5630. return soap->error;
  5631. return soap_closesock(soap);
  5632. }
  5633. static int serve___trt__GetCompatibleAudioSourceConfigurations_(MediaBindingService *soap)
  5634. { struct __trt__GetCompatibleAudioSourceConfigurations_ soap_tmp___trt__GetCompatibleAudioSourceConfigurations_;
  5635. _trt__GetCompatibleAudioSourceConfigurationsResponse trt__GetCompatibleAudioSourceConfigurationsResponse;
  5636. trt__GetCompatibleAudioSourceConfigurationsResponse.soap_default(soap);
  5637. soap_default___trt__GetCompatibleAudioSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations_);
  5638. if (!soap_get___trt__GetCompatibleAudioSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations_, "-trt:GetCompatibleAudioSourceConfigurations", NULL))
  5639. return soap->error;
  5640. if (soap_body_end_in(soap)
  5641. || soap_envelope_end_in(soap)
  5642. || soap_end_recv(soap))
  5643. return soap->error;
  5644. soap->error = soap->GetCompatibleAudioSourceConfigurations_(soap_tmp___trt__GetCompatibleAudioSourceConfigurations_.trt__GetCompatibleAudioSourceConfigurations, &trt__GetCompatibleAudioSourceConfigurationsResponse);
  5645. if (soap->error)
  5646. return soap->error;
  5647. soap->encodingStyle = NULL;
  5648. soap_serializeheader(soap);
  5649. trt__GetCompatibleAudioSourceConfigurationsResponse.soap_serialize(soap);
  5650. if (soap_begin_count(soap))
  5651. return soap->error;
  5652. if (soap->mode & SOAP_IO_LENGTH)
  5653. { if (soap_envelope_begin_out(soap)
  5654. || soap_putheader(soap)
  5655. || soap_body_begin_out(soap)
  5656. || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "")
  5657. || soap_body_end_out(soap)
  5658. || soap_envelope_end_out(soap))
  5659. return soap->error;
  5660. };
  5661. if (soap_end_count(soap)
  5662. || soap_response(soap, SOAP_OK)
  5663. || soap_envelope_begin_out(soap)
  5664. || soap_putheader(soap)
  5665. || soap_body_begin_out(soap)
  5666. || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "")
  5667. || soap_body_end_out(soap)
  5668. || soap_envelope_end_out(soap)
  5669. || soap_end_send(soap))
  5670. return soap->error;
  5671. return soap_closesock(soap);
  5672. }
  5673. static int serve___trt__GetCompatibleVideoAnalyticsConfigurations_(MediaBindingService *soap)
  5674. { struct __trt__GetCompatibleVideoAnalyticsConfigurations_ soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_;
  5675. _trt__GetCompatibleVideoAnalyticsConfigurationsResponse trt__GetCompatibleVideoAnalyticsConfigurationsResponse;
  5676. trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_default(soap);
  5677. soap_default___trt__GetCompatibleVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_);
  5678. if (!soap_get___trt__GetCompatibleVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_, "-trt:GetCompatibleVideoAnalyticsConfigurations", NULL))
  5679. return soap->error;
  5680. if (soap_body_end_in(soap)
  5681. || soap_envelope_end_in(soap)
  5682. || soap_end_recv(soap))
  5683. return soap->error;
  5684. soap->error = soap->GetCompatibleVideoAnalyticsConfigurations_(soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_.trt__GetCompatibleVideoAnalyticsConfigurations, &trt__GetCompatibleVideoAnalyticsConfigurationsResponse);
  5685. if (soap->error)
  5686. return soap->error;
  5687. soap->encodingStyle = NULL;
  5688. soap_serializeheader(soap);
  5689. trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_serialize(soap);
  5690. if (soap_begin_count(soap))
  5691. return soap->error;
  5692. if (soap->mode & SOAP_IO_LENGTH)
  5693. { if (soap_envelope_begin_out(soap)
  5694. || soap_putheader(soap)
  5695. || soap_body_begin_out(soap)
  5696. || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "")
  5697. || soap_body_end_out(soap)
  5698. || soap_envelope_end_out(soap))
  5699. return soap->error;
  5700. };
  5701. if (soap_end_count(soap)
  5702. || soap_response(soap, SOAP_OK)
  5703. || soap_envelope_begin_out(soap)
  5704. || soap_putheader(soap)
  5705. || soap_body_begin_out(soap)
  5706. || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "")
  5707. || soap_body_end_out(soap)
  5708. || soap_envelope_end_out(soap)
  5709. || soap_end_send(soap))
  5710. return soap->error;
  5711. return soap_closesock(soap);
  5712. }
  5713. static int serve___trt__GetCompatibleMetadataConfigurations_(MediaBindingService *soap)
  5714. { struct __trt__GetCompatibleMetadataConfigurations_ soap_tmp___trt__GetCompatibleMetadataConfigurations_;
  5715. _trt__GetCompatibleMetadataConfigurationsResponse trt__GetCompatibleMetadataConfigurationsResponse;
  5716. trt__GetCompatibleMetadataConfigurationsResponse.soap_default(soap);
  5717. soap_default___trt__GetCompatibleMetadataConfigurations_(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations_);
  5718. if (!soap_get___trt__GetCompatibleMetadataConfigurations_(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations_, "-trt:GetCompatibleMetadataConfigurations", NULL))
  5719. return soap->error;
  5720. if (soap_body_end_in(soap)
  5721. || soap_envelope_end_in(soap)
  5722. || soap_end_recv(soap))
  5723. return soap->error;
  5724. soap->error = soap->GetCompatibleMetadataConfigurations_(soap_tmp___trt__GetCompatibleMetadataConfigurations_.trt__GetCompatibleMetadataConfigurations, &trt__GetCompatibleMetadataConfigurationsResponse);
  5725. if (soap->error)
  5726. return soap->error;
  5727. soap->encodingStyle = NULL;
  5728. soap_serializeheader(soap);
  5729. trt__GetCompatibleMetadataConfigurationsResponse.soap_serialize(soap);
  5730. if (soap_begin_count(soap))
  5731. return soap->error;
  5732. if (soap->mode & SOAP_IO_LENGTH)
  5733. { if (soap_envelope_begin_out(soap)
  5734. || soap_putheader(soap)
  5735. || soap_body_begin_out(soap)
  5736. || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "")
  5737. || soap_body_end_out(soap)
  5738. || soap_envelope_end_out(soap))
  5739. return soap->error;
  5740. };
  5741. if (soap_end_count(soap)
  5742. || soap_response(soap, SOAP_OK)
  5743. || soap_envelope_begin_out(soap)
  5744. || soap_putheader(soap)
  5745. || soap_body_begin_out(soap)
  5746. || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "")
  5747. || soap_body_end_out(soap)
  5748. || soap_envelope_end_out(soap)
  5749. || soap_end_send(soap))
  5750. return soap->error;
  5751. return soap_closesock(soap);
  5752. }
  5753. static int serve___trt__GetCompatibleAudioOutputConfigurations_(MediaBindingService *soap)
  5754. { struct __trt__GetCompatibleAudioOutputConfigurations_ soap_tmp___trt__GetCompatibleAudioOutputConfigurations_;
  5755. _trt__GetCompatibleAudioOutputConfigurationsResponse trt__GetCompatibleAudioOutputConfigurationsResponse;
  5756. trt__GetCompatibleAudioOutputConfigurationsResponse.soap_default(soap);
  5757. soap_default___trt__GetCompatibleAudioOutputConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations_);
  5758. if (!soap_get___trt__GetCompatibleAudioOutputConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations_, "-trt:GetCompatibleAudioOutputConfigurations", NULL))
  5759. return soap->error;
  5760. if (soap_body_end_in(soap)
  5761. || soap_envelope_end_in(soap)
  5762. || soap_end_recv(soap))
  5763. return soap->error;
  5764. soap->error = soap->GetCompatibleAudioOutputConfigurations_(soap_tmp___trt__GetCompatibleAudioOutputConfigurations_.trt__GetCompatibleAudioOutputConfigurations, &trt__GetCompatibleAudioOutputConfigurationsResponse);
  5765. if (soap->error)
  5766. return soap->error;
  5767. soap->encodingStyle = NULL;
  5768. soap_serializeheader(soap);
  5769. trt__GetCompatibleAudioOutputConfigurationsResponse.soap_serialize(soap);
  5770. if (soap_begin_count(soap))
  5771. return soap->error;
  5772. if (soap->mode & SOAP_IO_LENGTH)
  5773. { if (soap_envelope_begin_out(soap)
  5774. || soap_putheader(soap)
  5775. || soap_body_begin_out(soap)
  5776. || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "")
  5777. || soap_body_end_out(soap)
  5778. || soap_envelope_end_out(soap))
  5779. return soap->error;
  5780. };
  5781. if (soap_end_count(soap)
  5782. || soap_response(soap, SOAP_OK)
  5783. || soap_envelope_begin_out(soap)
  5784. || soap_putheader(soap)
  5785. || soap_body_begin_out(soap)
  5786. || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "")
  5787. || soap_body_end_out(soap)
  5788. || soap_envelope_end_out(soap)
  5789. || soap_end_send(soap))
  5790. return soap->error;
  5791. return soap_closesock(soap);
  5792. }
  5793. static int serve___trt__GetCompatibleAudioDecoderConfigurations_(MediaBindingService *soap)
  5794. { struct __trt__GetCompatibleAudioDecoderConfigurations_ soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_;
  5795. _trt__GetCompatibleAudioDecoderConfigurationsResponse trt__GetCompatibleAudioDecoderConfigurationsResponse;
  5796. trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_default(soap);
  5797. soap_default___trt__GetCompatibleAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_);
  5798. if (!soap_get___trt__GetCompatibleAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_, "-trt:GetCompatibleAudioDecoderConfigurations", NULL))
  5799. return soap->error;
  5800. if (soap_body_end_in(soap)
  5801. || soap_envelope_end_in(soap)
  5802. || soap_end_recv(soap))
  5803. return soap->error;
  5804. soap->error = soap->GetCompatibleAudioDecoderConfigurations_(soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_.trt__GetCompatibleAudioDecoderConfigurations, &trt__GetCompatibleAudioDecoderConfigurationsResponse);
  5805. if (soap->error)
  5806. return soap->error;
  5807. soap->encodingStyle = NULL;
  5808. soap_serializeheader(soap);
  5809. trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_serialize(soap);
  5810. if (soap_begin_count(soap))
  5811. return soap->error;
  5812. if (soap->mode & SOAP_IO_LENGTH)
  5813. { if (soap_envelope_begin_out(soap)
  5814. || soap_putheader(soap)
  5815. || soap_body_begin_out(soap)
  5816. || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "")
  5817. || soap_body_end_out(soap)
  5818. || soap_envelope_end_out(soap))
  5819. return soap->error;
  5820. };
  5821. if (soap_end_count(soap)
  5822. || soap_response(soap, SOAP_OK)
  5823. || soap_envelope_begin_out(soap)
  5824. || soap_putheader(soap)
  5825. || soap_body_begin_out(soap)
  5826. || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "")
  5827. || soap_body_end_out(soap)
  5828. || soap_envelope_end_out(soap)
  5829. || soap_end_send(soap))
  5830. return soap->error;
  5831. return soap_closesock(soap);
  5832. }
  5833. static int serve___trt__SetVideoSourceConfiguration_(MediaBindingService *soap)
  5834. { struct __trt__SetVideoSourceConfiguration_ soap_tmp___trt__SetVideoSourceConfiguration_;
  5835. _trt__SetVideoSourceConfigurationResponse trt__SetVideoSourceConfigurationResponse;
  5836. trt__SetVideoSourceConfigurationResponse.soap_default(soap);
  5837. soap_default___trt__SetVideoSourceConfiguration_(soap, &soap_tmp___trt__SetVideoSourceConfiguration_);
  5838. if (!soap_get___trt__SetVideoSourceConfiguration_(soap, &soap_tmp___trt__SetVideoSourceConfiguration_, "-trt:SetVideoSourceConfiguration", NULL))
  5839. return soap->error;
  5840. if (soap_body_end_in(soap)
  5841. || soap_envelope_end_in(soap)
  5842. || soap_end_recv(soap))
  5843. return soap->error;
  5844. soap->error = soap->SetVideoSourceConfiguration_(soap_tmp___trt__SetVideoSourceConfiguration_.trt__SetVideoSourceConfiguration, &trt__SetVideoSourceConfigurationResponse);
  5845. if (soap->error)
  5846. return soap->error;
  5847. soap->encodingStyle = NULL;
  5848. soap_serializeheader(soap);
  5849. trt__SetVideoSourceConfigurationResponse.soap_serialize(soap);
  5850. if (soap_begin_count(soap))
  5851. return soap->error;
  5852. if (soap->mode & SOAP_IO_LENGTH)
  5853. { if (soap_envelope_begin_out(soap)
  5854. || soap_putheader(soap)
  5855. || soap_body_begin_out(soap)
  5856. || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "")
  5857. || soap_body_end_out(soap)
  5858. || soap_envelope_end_out(soap))
  5859. return soap->error;
  5860. };
  5861. if (soap_end_count(soap)
  5862. || soap_response(soap, SOAP_OK)
  5863. || soap_envelope_begin_out(soap)
  5864. || soap_putheader(soap)
  5865. || soap_body_begin_out(soap)
  5866. || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "")
  5867. || soap_body_end_out(soap)
  5868. || soap_envelope_end_out(soap)
  5869. || soap_end_send(soap))
  5870. return soap->error;
  5871. return soap_closesock(soap);
  5872. }
  5873. static int serve___trt__SetVideoEncoderConfiguration_(MediaBindingService *soap)
  5874. { struct __trt__SetVideoEncoderConfiguration_ soap_tmp___trt__SetVideoEncoderConfiguration_;
  5875. _trt__SetVideoEncoderConfigurationResponse trt__SetVideoEncoderConfigurationResponse;
  5876. trt__SetVideoEncoderConfigurationResponse.soap_default(soap);
  5877. soap_default___trt__SetVideoEncoderConfiguration_(soap, &soap_tmp___trt__SetVideoEncoderConfiguration_);
  5878. if (!soap_get___trt__SetVideoEncoderConfiguration_(soap, &soap_tmp___trt__SetVideoEncoderConfiguration_, "-trt:SetVideoEncoderConfiguration", NULL))
  5879. return soap->error;
  5880. if (soap_body_end_in(soap)
  5881. || soap_envelope_end_in(soap)
  5882. || soap_end_recv(soap))
  5883. return soap->error;
  5884. soap->error = soap->SetVideoEncoderConfiguration_(soap_tmp___trt__SetVideoEncoderConfiguration_.trt__SetVideoEncoderConfiguration, &trt__SetVideoEncoderConfigurationResponse);
  5885. if (soap->error)
  5886. return soap->error;
  5887. soap->encodingStyle = NULL;
  5888. soap_serializeheader(soap);
  5889. trt__SetVideoEncoderConfigurationResponse.soap_serialize(soap);
  5890. if (soap_begin_count(soap))
  5891. return soap->error;
  5892. if (soap->mode & SOAP_IO_LENGTH)
  5893. { if (soap_envelope_begin_out(soap)
  5894. || soap_putheader(soap)
  5895. || soap_body_begin_out(soap)
  5896. || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "")
  5897. || soap_body_end_out(soap)
  5898. || soap_envelope_end_out(soap))
  5899. return soap->error;
  5900. };
  5901. if (soap_end_count(soap)
  5902. || soap_response(soap, SOAP_OK)
  5903. || soap_envelope_begin_out(soap)
  5904. || soap_putheader(soap)
  5905. || soap_body_begin_out(soap)
  5906. || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "")
  5907. || soap_body_end_out(soap)
  5908. || soap_envelope_end_out(soap)
  5909. || soap_end_send(soap))
  5910. return soap->error;
  5911. return soap_closesock(soap);
  5912. }
  5913. static int serve___trt__SetAudioSourceConfiguration_(MediaBindingService *soap)
  5914. { struct __trt__SetAudioSourceConfiguration_ soap_tmp___trt__SetAudioSourceConfiguration_;
  5915. _trt__SetAudioSourceConfigurationResponse trt__SetAudioSourceConfigurationResponse;
  5916. trt__SetAudioSourceConfigurationResponse.soap_default(soap);
  5917. soap_default___trt__SetAudioSourceConfiguration_(soap, &soap_tmp___trt__SetAudioSourceConfiguration_);
  5918. if (!soap_get___trt__SetAudioSourceConfiguration_(soap, &soap_tmp___trt__SetAudioSourceConfiguration_, "-trt:SetAudioSourceConfiguration", NULL))
  5919. return soap->error;
  5920. if (soap_body_end_in(soap)
  5921. || soap_envelope_end_in(soap)
  5922. || soap_end_recv(soap))
  5923. return soap->error;
  5924. soap->error = soap->SetAudioSourceConfiguration_(soap_tmp___trt__SetAudioSourceConfiguration_.trt__SetAudioSourceConfiguration, &trt__SetAudioSourceConfigurationResponse);
  5925. if (soap->error)
  5926. return soap->error;
  5927. soap->encodingStyle = NULL;
  5928. soap_serializeheader(soap);
  5929. trt__SetAudioSourceConfigurationResponse.soap_serialize(soap);
  5930. if (soap_begin_count(soap))
  5931. return soap->error;
  5932. if (soap->mode & SOAP_IO_LENGTH)
  5933. { if (soap_envelope_begin_out(soap)
  5934. || soap_putheader(soap)
  5935. || soap_body_begin_out(soap)
  5936. || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "")
  5937. || soap_body_end_out(soap)
  5938. || soap_envelope_end_out(soap))
  5939. return soap->error;
  5940. };
  5941. if (soap_end_count(soap)
  5942. || soap_response(soap, SOAP_OK)
  5943. || soap_envelope_begin_out(soap)
  5944. || soap_putheader(soap)
  5945. || soap_body_begin_out(soap)
  5946. || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "")
  5947. || soap_body_end_out(soap)
  5948. || soap_envelope_end_out(soap)
  5949. || soap_end_send(soap))
  5950. return soap->error;
  5951. return soap_closesock(soap);
  5952. }
  5953. static int serve___trt__SetAudioEncoderConfiguration_(MediaBindingService *soap)
  5954. { struct __trt__SetAudioEncoderConfiguration_ soap_tmp___trt__SetAudioEncoderConfiguration_;
  5955. _trt__SetAudioEncoderConfigurationResponse trt__SetAudioEncoderConfigurationResponse;
  5956. trt__SetAudioEncoderConfigurationResponse.soap_default(soap);
  5957. soap_default___trt__SetAudioEncoderConfiguration_(soap, &soap_tmp___trt__SetAudioEncoderConfiguration_);
  5958. if (!soap_get___trt__SetAudioEncoderConfiguration_(soap, &soap_tmp___trt__SetAudioEncoderConfiguration_, "-trt:SetAudioEncoderConfiguration", NULL))
  5959. return soap->error;
  5960. if (soap_body_end_in(soap)
  5961. || soap_envelope_end_in(soap)
  5962. || soap_end_recv(soap))
  5963. return soap->error;
  5964. soap->error = soap->SetAudioEncoderConfiguration_(soap_tmp___trt__SetAudioEncoderConfiguration_.trt__SetAudioEncoderConfiguration, &trt__SetAudioEncoderConfigurationResponse);
  5965. if (soap->error)
  5966. return soap->error;
  5967. soap->encodingStyle = NULL;
  5968. soap_serializeheader(soap);
  5969. trt__SetAudioEncoderConfigurationResponse.soap_serialize(soap);
  5970. if (soap_begin_count(soap))
  5971. return soap->error;
  5972. if (soap->mode & SOAP_IO_LENGTH)
  5973. { if (soap_envelope_begin_out(soap)
  5974. || soap_putheader(soap)
  5975. || soap_body_begin_out(soap)
  5976. || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "")
  5977. || soap_body_end_out(soap)
  5978. || soap_envelope_end_out(soap))
  5979. return soap->error;
  5980. };
  5981. if (soap_end_count(soap)
  5982. || soap_response(soap, SOAP_OK)
  5983. || soap_envelope_begin_out(soap)
  5984. || soap_putheader(soap)
  5985. || soap_body_begin_out(soap)
  5986. || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "")
  5987. || soap_body_end_out(soap)
  5988. || soap_envelope_end_out(soap)
  5989. || soap_end_send(soap))
  5990. return soap->error;
  5991. return soap_closesock(soap);
  5992. }
  5993. static int serve___trt__SetVideoAnalyticsConfiguration_(MediaBindingService *soap)
  5994. { struct __trt__SetVideoAnalyticsConfiguration_ soap_tmp___trt__SetVideoAnalyticsConfiguration_;
  5995. _trt__SetVideoAnalyticsConfigurationResponse trt__SetVideoAnalyticsConfigurationResponse;
  5996. trt__SetVideoAnalyticsConfigurationResponse.soap_default(soap);
  5997. soap_default___trt__SetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration_);
  5998. if (!soap_get___trt__SetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration_, "-trt:SetVideoAnalyticsConfiguration", NULL))
  5999. return soap->error;
  6000. if (soap_body_end_in(soap)
  6001. || soap_envelope_end_in(soap)
  6002. || soap_end_recv(soap))
  6003. return soap->error;
  6004. soap->error = soap->SetVideoAnalyticsConfiguration_(soap_tmp___trt__SetVideoAnalyticsConfiguration_.trt__SetVideoAnalyticsConfiguration, &trt__SetVideoAnalyticsConfigurationResponse);
  6005. if (soap->error)
  6006. return soap->error;
  6007. soap->encodingStyle = NULL;
  6008. soap_serializeheader(soap);
  6009. trt__SetVideoAnalyticsConfigurationResponse.soap_serialize(soap);
  6010. if (soap_begin_count(soap))
  6011. return soap->error;
  6012. if (soap->mode & SOAP_IO_LENGTH)
  6013. { if (soap_envelope_begin_out(soap)
  6014. || soap_putheader(soap)
  6015. || soap_body_begin_out(soap)
  6016. || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "")
  6017. || soap_body_end_out(soap)
  6018. || soap_envelope_end_out(soap))
  6019. return soap->error;
  6020. };
  6021. if (soap_end_count(soap)
  6022. || soap_response(soap, SOAP_OK)
  6023. || soap_envelope_begin_out(soap)
  6024. || soap_putheader(soap)
  6025. || soap_body_begin_out(soap)
  6026. || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "")
  6027. || soap_body_end_out(soap)
  6028. || soap_envelope_end_out(soap)
  6029. || soap_end_send(soap))
  6030. return soap->error;
  6031. return soap_closesock(soap);
  6032. }
  6033. static int serve___trt__SetMetadataConfiguration_(MediaBindingService *soap)
  6034. { struct __trt__SetMetadataConfiguration_ soap_tmp___trt__SetMetadataConfiguration_;
  6035. _trt__SetMetadataConfigurationResponse trt__SetMetadataConfigurationResponse;
  6036. trt__SetMetadataConfigurationResponse.soap_default(soap);
  6037. soap_default___trt__SetMetadataConfiguration_(soap, &soap_tmp___trt__SetMetadataConfiguration_);
  6038. if (!soap_get___trt__SetMetadataConfiguration_(soap, &soap_tmp___trt__SetMetadataConfiguration_, "-trt:SetMetadataConfiguration", NULL))
  6039. return soap->error;
  6040. if (soap_body_end_in(soap)
  6041. || soap_envelope_end_in(soap)
  6042. || soap_end_recv(soap))
  6043. return soap->error;
  6044. soap->error = soap->SetMetadataConfiguration_(soap_tmp___trt__SetMetadataConfiguration_.trt__SetMetadataConfiguration, &trt__SetMetadataConfigurationResponse);
  6045. if (soap->error)
  6046. return soap->error;
  6047. soap->encodingStyle = NULL;
  6048. soap_serializeheader(soap);
  6049. trt__SetMetadataConfigurationResponse.soap_serialize(soap);
  6050. if (soap_begin_count(soap))
  6051. return soap->error;
  6052. if (soap->mode & SOAP_IO_LENGTH)
  6053. { if (soap_envelope_begin_out(soap)
  6054. || soap_putheader(soap)
  6055. || soap_body_begin_out(soap)
  6056. || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "")
  6057. || soap_body_end_out(soap)
  6058. || soap_envelope_end_out(soap))
  6059. return soap->error;
  6060. };
  6061. if (soap_end_count(soap)
  6062. || soap_response(soap, SOAP_OK)
  6063. || soap_envelope_begin_out(soap)
  6064. || soap_putheader(soap)
  6065. || soap_body_begin_out(soap)
  6066. || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "")
  6067. || soap_body_end_out(soap)
  6068. || soap_envelope_end_out(soap)
  6069. || soap_end_send(soap))
  6070. return soap->error;
  6071. return soap_closesock(soap);
  6072. }
  6073. static int serve___trt__SetAudioOutputConfiguration_(MediaBindingService *soap)
  6074. { struct __trt__SetAudioOutputConfiguration_ soap_tmp___trt__SetAudioOutputConfiguration_;
  6075. _trt__SetAudioOutputConfigurationResponse trt__SetAudioOutputConfigurationResponse;
  6076. trt__SetAudioOutputConfigurationResponse.soap_default(soap);
  6077. soap_default___trt__SetAudioOutputConfiguration_(soap, &soap_tmp___trt__SetAudioOutputConfiguration_);
  6078. if (!soap_get___trt__SetAudioOutputConfiguration_(soap, &soap_tmp___trt__SetAudioOutputConfiguration_, "-trt:SetAudioOutputConfiguration", NULL))
  6079. return soap->error;
  6080. if (soap_body_end_in(soap)
  6081. || soap_envelope_end_in(soap)
  6082. || soap_end_recv(soap))
  6083. return soap->error;
  6084. soap->error = soap->SetAudioOutputConfiguration_(soap_tmp___trt__SetAudioOutputConfiguration_.trt__SetAudioOutputConfiguration, &trt__SetAudioOutputConfigurationResponse);
  6085. if (soap->error)
  6086. return soap->error;
  6087. soap->encodingStyle = NULL;
  6088. soap_serializeheader(soap);
  6089. trt__SetAudioOutputConfigurationResponse.soap_serialize(soap);
  6090. if (soap_begin_count(soap))
  6091. return soap->error;
  6092. if (soap->mode & SOAP_IO_LENGTH)
  6093. { if (soap_envelope_begin_out(soap)
  6094. || soap_putheader(soap)
  6095. || soap_body_begin_out(soap)
  6096. || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "")
  6097. || soap_body_end_out(soap)
  6098. || soap_envelope_end_out(soap))
  6099. return soap->error;
  6100. };
  6101. if (soap_end_count(soap)
  6102. || soap_response(soap, SOAP_OK)
  6103. || soap_envelope_begin_out(soap)
  6104. || soap_putheader(soap)
  6105. || soap_body_begin_out(soap)
  6106. || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "")
  6107. || soap_body_end_out(soap)
  6108. || soap_envelope_end_out(soap)
  6109. || soap_end_send(soap))
  6110. return soap->error;
  6111. return soap_closesock(soap);
  6112. }
  6113. static int serve___trt__SetAudioDecoderConfiguration_(MediaBindingService *soap)
  6114. { struct __trt__SetAudioDecoderConfiguration_ soap_tmp___trt__SetAudioDecoderConfiguration_;
  6115. _trt__SetAudioDecoderConfigurationResponse trt__SetAudioDecoderConfigurationResponse;
  6116. trt__SetAudioDecoderConfigurationResponse.soap_default(soap);
  6117. soap_default___trt__SetAudioDecoderConfiguration_(soap, &soap_tmp___trt__SetAudioDecoderConfiguration_);
  6118. if (!soap_get___trt__SetAudioDecoderConfiguration_(soap, &soap_tmp___trt__SetAudioDecoderConfiguration_, "-trt:SetAudioDecoderConfiguration", NULL))
  6119. return soap->error;
  6120. if (soap_body_end_in(soap)
  6121. || soap_envelope_end_in(soap)
  6122. || soap_end_recv(soap))
  6123. return soap->error;
  6124. soap->error = soap->SetAudioDecoderConfiguration_(soap_tmp___trt__SetAudioDecoderConfiguration_.trt__SetAudioDecoderConfiguration, &trt__SetAudioDecoderConfigurationResponse);
  6125. if (soap->error)
  6126. return soap->error;
  6127. soap->encodingStyle = NULL;
  6128. soap_serializeheader(soap);
  6129. trt__SetAudioDecoderConfigurationResponse.soap_serialize(soap);
  6130. if (soap_begin_count(soap))
  6131. return soap->error;
  6132. if (soap->mode & SOAP_IO_LENGTH)
  6133. { if (soap_envelope_begin_out(soap)
  6134. || soap_putheader(soap)
  6135. || soap_body_begin_out(soap)
  6136. || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "")
  6137. || soap_body_end_out(soap)
  6138. || soap_envelope_end_out(soap))
  6139. return soap->error;
  6140. };
  6141. if (soap_end_count(soap)
  6142. || soap_response(soap, SOAP_OK)
  6143. || soap_envelope_begin_out(soap)
  6144. || soap_putheader(soap)
  6145. || soap_body_begin_out(soap)
  6146. || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "")
  6147. || soap_body_end_out(soap)
  6148. || soap_envelope_end_out(soap)
  6149. || soap_end_send(soap))
  6150. return soap->error;
  6151. return soap_closesock(soap);
  6152. }
  6153. static int serve___trt__GetVideoSourceConfigurationOptions_(MediaBindingService *soap)
  6154. { struct __trt__GetVideoSourceConfigurationOptions_ soap_tmp___trt__GetVideoSourceConfigurationOptions_;
  6155. _trt__GetVideoSourceConfigurationOptionsResponse trt__GetVideoSourceConfigurationOptionsResponse;
  6156. trt__GetVideoSourceConfigurationOptionsResponse.soap_default(soap);
  6157. soap_default___trt__GetVideoSourceConfigurationOptions_(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions_);
  6158. if (!soap_get___trt__GetVideoSourceConfigurationOptions_(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions_, "-trt:GetVideoSourceConfigurationOptions", NULL))
  6159. return soap->error;
  6160. if (soap_body_end_in(soap)
  6161. || soap_envelope_end_in(soap)
  6162. || soap_end_recv(soap))
  6163. return soap->error;
  6164. soap->error = soap->GetVideoSourceConfigurationOptions_(soap_tmp___trt__GetVideoSourceConfigurationOptions_.trt__GetVideoSourceConfigurationOptions, &trt__GetVideoSourceConfigurationOptionsResponse);
  6165. if (soap->error)
  6166. return soap->error;
  6167. soap->encodingStyle = NULL;
  6168. soap_serializeheader(soap);
  6169. trt__GetVideoSourceConfigurationOptionsResponse.soap_serialize(soap);
  6170. if (soap_begin_count(soap))
  6171. return soap->error;
  6172. if (soap->mode & SOAP_IO_LENGTH)
  6173. { if (soap_envelope_begin_out(soap)
  6174. || soap_putheader(soap)
  6175. || soap_body_begin_out(soap)
  6176. || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "")
  6177. || soap_body_end_out(soap)
  6178. || soap_envelope_end_out(soap))
  6179. return soap->error;
  6180. };
  6181. if (soap_end_count(soap)
  6182. || soap_response(soap, SOAP_OK)
  6183. || soap_envelope_begin_out(soap)
  6184. || soap_putheader(soap)
  6185. || soap_body_begin_out(soap)
  6186. || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "")
  6187. || soap_body_end_out(soap)
  6188. || soap_envelope_end_out(soap)
  6189. || soap_end_send(soap))
  6190. return soap->error;
  6191. return soap_closesock(soap);
  6192. }
  6193. static int serve___trt__GetVideoEncoderConfigurationOptions_(MediaBindingService *soap)
  6194. { struct __trt__GetVideoEncoderConfigurationOptions_ soap_tmp___trt__GetVideoEncoderConfigurationOptions_;
  6195. _trt__GetVideoEncoderConfigurationOptionsResponse trt__GetVideoEncoderConfigurationOptionsResponse;
  6196. trt__GetVideoEncoderConfigurationOptionsResponse.soap_default(soap);
  6197. soap_default___trt__GetVideoEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions_);
  6198. if (!soap_get___trt__GetVideoEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions_, "-trt:GetVideoEncoderConfigurationOptions", NULL))
  6199. return soap->error;
  6200. if (soap_body_end_in(soap)
  6201. || soap_envelope_end_in(soap)
  6202. || soap_end_recv(soap))
  6203. return soap->error;
  6204. soap->error = soap->GetVideoEncoderConfigurationOptions_(soap_tmp___trt__GetVideoEncoderConfigurationOptions_.trt__GetVideoEncoderConfigurationOptions, &trt__GetVideoEncoderConfigurationOptionsResponse);
  6205. if (soap->error)
  6206. return soap->error;
  6207. soap->encodingStyle = NULL;
  6208. soap_serializeheader(soap);
  6209. trt__GetVideoEncoderConfigurationOptionsResponse.soap_serialize(soap);
  6210. if (soap_begin_count(soap))
  6211. return soap->error;
  6212. if (soap->mode & SOAP_IO_LENGTH)
  6213. { if (soap_envelope_begin_out(soap)
  6214. || soap_putheader(soap)
  6215. || soap_body_begin_out(soap)
  6216. || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "")
  6217. || soap_body_end_out(soap)
  6218. || soap_envelope_end_out(soap))
  6219. return soap->error;
  6220. };
  6221. if (soap_end_count(soap)
  6222. || soap_response(soap, SOAP_OK)
  6223. || soap_envelope_begin_out(soap)
  6224. || soap_putheader(soap)
  6225. || soap_body_begin_out(soap)
  6226. || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "")
  6227. || soap_body_end_out(soap)
  6228. || soap_envelope_end_out(soap)
  6229. || soap_end_send(soap))
  6230. return soap->error;
  6231. return soap_closesock(soap);
  6232. }
  6233. static int serve___trt__GetAudioSourceConfigurationOptions_(MediaBindingService *soap)
  6234. { struct __trt__GetAudioSourceConfigurationOptions_ soap_tmp___trt__GetAudioSourceConfigurationOptions_;
  6235. _trt__GetAudioSourceConfigurationOptionsResponse trt__GetAudioSourceConfigurationOptionsResponse;
  6236. trt__GetAudioSourceConfigurationOptionsResponse.soap_default(soap);
  6237. soap_default___trt__GetAudioSourceConfigurationOptions_(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions_);
  6238. if (!soap_get___trt__GetAudioSourceConfigurationOptions_(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions_, "-trt:GetAudioSourceConfigurationOptions", NULL))
  6239. return soap->error;
  6240. if (soap_body_end_in(soap)
  6241. || soap_envelope_end_in(soap)
  6242. || soap_end_recv(soap))
  6243. return soap->error;
  6244. soap->error = soap->GetAudioSourceConfigurationOptions_(soap_tmp___trt__GetAudioSourceConfigurationOptions_.trt__GetAudioSourceConfigurationOptions, &trt__GetAudioSourceConfigurationOptionsResponse);
  6245. if (soap->error)
  6246. return soap->error;
  6247. soap->encodingStyle = NULL;
  6248. soap_serializeheader(soap);
  6249. trt__GetAudioSourceConfigurationOptionsResponse.soap_serialize(soap);
  6250. if (soap_begin_count(soap))
  6251. return soap->error;
  6252. if (soap->mode & SOAP_IO_LENGTH)
  6253. { if (soap_envelope_begin_out(soap)
  6254. || soap_putheader(soap)
  6255. || soap_body_begin_out(soap)
  6256. || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "")
  6257. || soap_body_end_out(soap)
  6258. || soap_envelope_end_out(soap))
  6259. return soap->error;
  6260. };
  6261. if (soap_end_count(soap)
  6262. || soap_response(soap, SOAP_OK)
  6263. || soap_envelope_begin_out(soap)
  6264. || soap_putheader(soap)
  6265. || soap_body_begin_out(soap)
  6266. || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "")
  6267. || soap_body_end_out(soap)
  6268. || soap_envelope_end_out(soap)
  6269. || soap_end_send(soap))
  6270. return soap->error;
  6271. return soap_closesock(soap);
  6272. }
  6273. static int serve___trt__GetAudioEncoderConfigurationOptions_(MediaBindingService *soap)
  6274. { struct __trt__GetAudioEncoderConfigurationOptions_ soap_tmp___trt__GetAudioEncoderConfigurationOptions_;
  6275. _trt__GetAudioEncoderConfigurationOptionsResponse trt__GetAudioEncoderConfigurationOptionsResponse;
  6276. trt__GetAudioEncoderConfigurationOptionsResponse.soap_default(soap);
  6277. soap_default___trt__GetAudioEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions_);
  6278. if (!soap_get___trt__GetAudioEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions_, "-trt:GetAudioEncoderConfigurationOptions", NULL))
  6279. return soap->error;
  6280. if (soap_body_end_in(soap)
  6281. || soap_envelope_end_in(soap)
  6282. || soap_end_recv(soap))
  6283. return soap->error;
  6284. soap->error = soap->GetAudioEncoderConfigurationOptions_(soap_tmp___trt__GetAudioEncoderConfigurationOptions_.trt__GetAudioEncoderConfigurationOptions, &trt__GetAudioEncoderConfigurationOptionsResponse);
  6285. if (soap->error)
  6286. return soap->error;
  6287. soap->encodingStyle = NULL;
  6288. soap_serializeheader(soap);
  6289. trt__GetAudioEncoderConfigurationOptionsResponse.soap_serialize(soap);
  6290. if (soap_begin_count(soap))
  6291. return soap->error;
  6292. if (soap->mode & SOAP_IO_LENGTH)
  6293. { if (soap_envelope_begin_out(soap)
  6294. || soap_putheader(soap)
  6295. || soap_body_begin_out(soap)
  6296. || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "")
  6297. || soap_body_end_out(soap)
  6298. || soap_envelope_end_out(soap))
  6299. return soap->error;
  6300. };
  6301. if (soap_end_count(soap)
  6302. || soap_response(soap, SOAP_OK)
  6303. || soap_envelope_begin_out(soap)
  6304. || soap_putheader(soap)
  6305. || soap_body_begin_out(soap)
  6306. || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "")
  6307. || soap_body_end_out(soap)
  6308. || soap_envelope_end_out(soap)
  6309. || soap_end_send(soap))
  6310. return soap->error;
  6311. return soap_closesock(soap);
  6312. }
  6313. static int serve___trt__GetMetadataConfigurationOptions_(MediaBindingService *soap)
  6314. { struct __trt__GetMetadataConfigurationOptions_ soap_tmp___trt__GetMetadataConfigurationOptions_;
  6315. _trt__GetMetadataConfigurationOptionsResponse trt__GetMetadataConfigurationOptionsResponse;
  6316. trt__GetMetadataConfigurationOptionsResponse.soap_default(soap);
  6317. soap_default___trt__GetMetadataConfigurationOptions_(soap, &soap_tmp___trt__GetMetadataConfigurationOptions_);
  6318. if (!soap_get___trt__GetMetadataConfigurationOptions_(soap, &soap_tmp___trt__GetMetadataConfigurationOptions_, "-trt:GetMetadataConfigurationOptions", NULL))
  6319. return soap->error;
  6320. if (soap_body_end_in(soap)
  6321. || soap_envelope_end_in(soap)
  6322. || soap_end_recv(soap))
  6323. return soap->error;
  6324. soap->error = soap->GetMetadataConfigurationOptions_(soap_tmp___trt__GetMetadataConfigurationOptions_.trt__GetMetadataConfigurationOptions, &trt__GetMetadataConfigurationOptionsResponse);
  6325. if (soap->error)
  6326. return soap->error;
  6327. soap->encodingStyle = NULL;
  6328. soap_serializeheader(soap);
  6329. trt__GetMetadataConfigurationOptionsResponse.soap_serialize(soap);
  6330. if (soap_begin_count(soap))
  6331. return soap->error;
  6332. if (soap->mode & SOAP_IO_LENGTH)
  6333. { if (soap_envelope_begin_out(soap)
  6334. || soap_putheader(soap)
  6335. || soap_body_begin_out(soap)
  6336. || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "")
  6337. || soap_body_end_out(soap)
  6338. || soap_envelope_end_out(soap))
  6339. return soap->error;
  6340. };
  6341. if (soap_end_count(soap)
  6342. || soap_response(soap, SOAP_OK)
  6343. || soap_envelope_begin_out(soap)
  6344. || soap_putheader(soap)
  6345. || soap_body_begin_out(soap)
  6346. || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "")
  6347. || soap_body_end_out(soap)
  6348. || soap_envelope_end_out(soap)
  6349. || soap_end_send(soap))
  6350. return soap->error;
  6351. return soap_closesock(soap);
  6352. }
  6353. static int serve___trt__GetAudioOutputConfigurationOptions_(MediaBindingService *soap)
  6354. { struct __trt__GetAudioOutputConfigurationOptions_ soap_tmp___trt__GetAudioOutputConfigurationOptions_;
  6355. _trt__GetAudioOutputConfigurationOptionsResponse trt__GetAudioOutputConfigurationOptionsResponse;
  6356. trt__GetAudioOutputConfigurationOptionsResponse.soap_default(soap);
  6357. soap_default___trt__GetAudioOutputConfigurationOptions_(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions_);
  6358. if (!soap_get___trt__GetAudioOutputConfigurationOptions_(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions_, "-trt:GetAudioOutputConfigurationOptions", NULL))
  6359. return soap->error;
  6360. if (soap_body_end_in(soap)
  6361. || soap_envelope_end_in(soap)
  6362. || soap_end_recv(soap))
  6363. return soap->error;
  6364. soap->error = soap->GetAudioOutputConfigurationOptions_(soap_tmp___trt__GetAudioOutputConfigurationOptions_.trt__GetAudioOutputConfigurationOptions, &trt__GetAudioOutputConfigurationOptionsResponse);
  6365. if (soap->error)
  6366. return soap->error;
  6367. soap->encodingStyle = NULL;
  6368. soap_serializeheader(soap);
  6369. trt__GetAudioOutputConfigurationOptionsResponse.soap_serialize(soap);
  6370. if (soap_begin_count(soap))
  6371. return soap->error;
  6372. if (soap->mode & SOAP_IO_LENGTH)
  6373. { if (soap_envelope_begin_out(soap)
  6374. || soap_putheader(soap)
  6375. || soap_body_begin_out(soap)
  6376. || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "")
  6377. || soap_body_end_out(soap)
  6378. || soap_envelope_end_out(soap))
  6379. return soap->error;
  6380. };
  6381. if (soap_end_count(soap)
  6382. || soap_response(soap, SOAP_OK)
  6383. || soap_envelope_begin_out(soap)
  6384. || soap_putheader(soap)
  6385. || soap_body_begin_out(soap)
  6386. || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "")
  6387. || soap_body_end_out(soap)
  6388. || soap_envelope_end_out(soap)
  6389. || soap_end_send(soap))
  6390. return soap->error;
  6391. return soap_closesock(soap);
  6392. }
  6393. static int serve___trt__GetAudioDecoderConfigurationOptions_(MediaBindingService *soap)
  6394. { struct __trt__GetAudioDecoderConfigurationOptions_ soap_tmp___trt__GetAudioDecoderConfigurationOptions_;
  6395. _trt__GetAudioDecoderConfigurationOptionsResponse trt__GetAudioDecoderConfigurationOptionsResponse;
  6396. trt__GetAudioDecoderConfigurationOptionsResponse.soap_default(soap);
  6397. soap_default___trt__GetAudioDecoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions_);
  6398. if (!soap_get___trt__GetAudioDecoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions_, "-trt:GetAudioDecoderConfigurationOptions", NULL))
  6399. return soap->error;
  6400. if (soap_body_end_in(soap)
  6401. || soap_envelope_end_in(soap)
  6402. || soap_end_recv(soap))
  6403. return soap->error;
  6404. soap->error = soap->GetAudioDecoderConfigurationOptions_(soap_tmp___trt__GetAudioDecoderConfigurationOptions_.trt__GetAudioDecoderConfigurationOptions, &trt__GetAudioDecoderConfigurationOptionsResponse);
  6405. if (soap->error)
  6406. return soap->error;
  6407. soap->encodingStyle = NULL;
  6408. soap_serializeheader(soap);
  6409. trt__GetAudioDecoderConfigurationOptionsResponse.soap_serialize(soap);
  6410. if (soap_begin_count(soap))
  6411. return soap->error;
  6412. if (soap->mode & SOAP_IO_LENGTH)
  6413. { if (soap_envelope_begin_out(soap)
  6414. || soap_putheader(soap)
  6415. || soap_body_begin_out(soap)
  6416. || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "")
  6417. || soap_body_end_out(soap)
  6418. || soap_envelope_end_out(soap))
  6419. return soap->error;
  6420. };
  6421. if (soap_end_count(soap)
  6422. || soap_response(soap, SOAP_OK)
  6423. || soap_envelope_begin_out(soap)
  6424. || soap_putheader(soap)
  6425. || soap_body_begin_out(soap)
  6426. || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "")
  6427. || soap_body_end_out(soap)
  6428. || soap_envelope_end_out(soap)
  6429. || soap_end_send(soap))
  6430. return soap->error;
  6431. return soap_closesock(soap);
  6432. }
  6433. static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(MediaBindingService *soap)
  6434. { struct __trt__GetGuaranteedNumberOfVideoEncoderInstances_ soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_;
  6435. _trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse;
  6436. trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_default(soap);
  6437. soap_default___trt__GetGuaranteedNumberOfVideoEncoderInstances_(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_);
  6438. if (!soap_get___trt__GetGuaranteedNumberOfVideoEncoderInstances_(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_, "-trt:GetGuaranteedNumberOfVideoEncoderInstances", NULL))
  6439. return soap->error;
  6440. if (soap_body_end_in(soap)
  6441. || soap_envelope_end_in(soap)
  6442. || soap_end_recv(soap))
  6443. return soap->error;
  6444. soap->error = soap->GetGuaranteedNumberOfVideoEncoderInstances_(soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_.trt__GetGuaranteedNumberOfVideoEncoderInstances, &trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse);
  6445. if (soap->error)
  6446. return soap->error;
  6447. soap->encodingStyle = NULL;
  6448. soap_serializeheader(soap);
  6449. trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_serialize(soap);
  6450. if (soap_begin_count(soap))
  6451. return soap->error;
  6452. if (soap->mode & SOAP_IO_LENGTH)
  6453. { if (soap_envelope_begin_out(soap)
  6454. || soap_putheader(soap)
  6455. || soap_body_begin_out(soap)
  6456. || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "")
  6457. || soap_body_end_out(soap)
  6458. || soap_envelope_end_out(soap))
  6459. return soap->error;
  6460. };
  6461. if (soap_end_count(soap)
  6462. || soap_response(soap, SOAP_OK)
  6463. || soap_envelope_begin_out(soap)
  6464. || soap_putheader(soap)
  6465. || soap_body_begin_out(soap)
  6466. || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "")
  6467. || soap_body_end_out(soap)
  6468. || soap_envelope_end_out(soap)
  6469. || soap_end_send(soap))
  6470. return soap->error;
  6471. return soap_closesock(soap);
  6472. }
  6473. static int serve___trt__GetStreamUri_(MediaBindingService *soap)
  6474. { struct __trt__GetStreamUri_ soap_tmp___trt__GetStreamUri_;
  6475. _trt__GetStreamUriResponse trt__GetStreamUriResponse;
  6476. trt__GetStreamUriResponse.soap_default(soap);
  6477. soap_default___trt__GetStreamUri_(soap, &soap_tmp___trt__GetStreamUri_);
  6478. if (!soap_get___trt__GetStreamUri_(soap, &soap_tmp___trt__GetStreamUri_, "-trt:GetStreamUri", NULL))
  6479. return soap->error;
  6480. if (soap_body_end_in(soap)
  6481. || soap_envelope_end_in(soap)
  6482. || soap_end_recv(soap))
  6483. return soap->error;
  6484. soap->error = soap->GetStreamUri_(soap_tmp___trt__GetStreamUri_.trt__GetStreamUri, &trt__GetStreamUriResponse);
  6485. if (soap->error)
  6486. return soap->error;
  6487. soap->encodingStyle = NULL;
  6488. soap_serializeheader(soap);
  6489. trt__GetStreamUriResponse.soap_serialize(soap);
  6490. if (soap_begin_count(soap))
  6491. return soap->error;
  6492. if (soap->mode & SOAP_IO_LENGTH)
  6493. { if (soap_envelope_begin_out(soap)
  6494. || soap_putheader(soap)
  6495. || soap_body_begin_out(soap)
  6496. || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "")
  6497. || soap_body_end_out(soap)
  6498. || soap_envelope_end_out(soap))
  6499. return soap->error;
  6500. };
  6501. if (soap_end_count(soap)
  6502. || soap_response(soap, SOAP_OK)
  6503. || soap_envelope_begin_out(soap)
  6504. || soap_putheader(soap)
  6505. || soap_body_begin_out(soap)
  6506. || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "")
  6507. || soap_body_end_out(soap)
  6508. || soap_envelope_end_out(soap)
  6509. || soap_end_send(soap))
  6510. return soap->error;
  6511. return soap_closesock(soap);
  6512. }
  6513. static int serve___trt__StartMulticastStreaming_(MediaBindingService *soap)
  6514. { struct __trt__StartMulticastStreaming_ soap_tmp___trt__StartMulticastStreaming_;
  6515. _trt__StartMulticastStreamingResponse trt__StartMulticastStreamingResponse;
  6516. trt__StartMulticastStreamingResponse.soap_default(soap);
  6517. soap_default___trt__StartMulticastStreaming_(soap, &soap_tmp___trt__StartMulticastStreaming_);
  6518. if (!soap_get___trt__StartMulticastStreaming_(soap, &soap_tmp___trt__StartMulticastStreaming_, "-trt:StartMulticastStreaming", NULL))
  6519. return soap->error;
  6520. if (soap_body_end_in(soap)
  6521. || soap_envelope_end_in(soap)
  6522. || soap_end_recv(soap))
  6523. return soap->error;
  6524. soap->error = soap->StartMulticastStreaming_(soap_tmp___trt__StartMulticastStreaming_.trt__StartMulticastStreaming, &trt__StartMulticastStreamingResponse);
  6525. if (soap->error)
  6526. return soap->error;
  6527. soap->encodingStyle = NULL;
  6528. soap_serializeheader(soap);
  6529. trt__StartMulticastStreamingResponse.soap_serialize(soap);
  6530. if (soap_begin_count(soap))
  6531. return soap->error;
  6532. if (soap->mode & SOAP_IO_LENGTH)
  6533. { if (soap_envelope_begin_out(soap)
  6534. || soap_putheader(soap)
  6535. || soap_body_begin_out(soap)
  6536. || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "")
  6537. || soap_body_end_out(soap)
  6538. || soap_envelope_end_out(soap))
  6539. return soap->error;
  6540. };
  6541. if (soap_end_count(soap)
  6542. || soap_response(soap, SOAP_OK)
  6543. || soap_envelope_begin_out(soap)
  6544. || soap_putheader(soap)
  6545. || soap_body_begin_out(soap)
  6546. || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "")
  6547. || soap_body_end_out(soap)
  6548. || soap_envelope_end_out(soap)
  6549. || soap_end_send(soap))
  6550. return soap->error;
  6551. return soap_closesock(soap);
  6552. }
  6553. static int serve___trt__StopMulticastStreaming_(MediaBindingService *soap)
  6554. { struct __trt__StopMulticastStreaming_ soap_tmp___trt__StopMulticastStreaming_;
  6555. _trt__StopMulticastStreamingResponse trt__StopMulticastStreamingResponse;
  6556. trt__StopMulticastStreamingResponse.soap_default(soap);
  6557. soap_default___trt__StopMulticastStreaming_(soap, &soap_tmp___trt__StopMulticastStreaming_);
  6558. if (!soap_get___trt__StopMulticastStreaming_(soap, &soap_tmp___trt__StopMulticastStreaming_, "-trt:StopMulticastStreaming", NULL))
  6559. return soap->error;
  6560. if (soap_body_end_in(soap)
  6561. || soap_envelope_end_in(soap)
  6562. || soap_end_recv(soap))
  6563. return soap->error;
  6564. soap->error = soap->StopMulticastStreaming_(soap_tmp___trt__StopMulticastStreaming_.trt__StopMulticastStreaming, &trt__StopMulticastStreamingResponse);
  6565. if (soap->error)
  6566. return soap->error;
  6567. soap->encodingStyle = NULL;
  6568. soap_serializeheader(soap);
  6569. trt__StopMulticastStreamingResponse.soap_serialize(soap);
  6570. if (soap_begin_count(soap))
  6571. return soap->error;
  6572. if (soap->mode & SOAP_IO_LENGTH)
  6573. { if (soap_envelope_begin_out(soap)
  6574. || soap_putheader(soap)
  6575. || soap_body_begin_out(soap)
  6576. || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "")
  6577. || soap_body_end_out(soap)
  6578. || soap_envelope_end_out(soap))
  6579. return soap->error;
  6580. };
  6581. if (soap_end_count(soap)
  6582. || soap_response(soap, SOAP_OK)
  6583. || soap_envelope_begin_out(soap)
  6584. || soap_putheader(soap)
  6585. || soap_body_begin_out(soap)
  6586. || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "")
  6587. || soap_body_end_out(soap)
  6588. || soap_envelope_end_out(soap)
  6589. || soap_end_send(soap))
  6590. return soap->error;
  6591. return soap_closesock(soap);
  6592. }
  6593. static int serve___trt__SetSynchronizationPoint_(MediaBindingService *soap)
  6594. { struct __trt__SetSynchronizationPoint_ soap_tmp___trt__SetSynchronizationPoint_;
  6595. _trt__SetSynchronizationPointResponse trt__SetSynchronizationPointResponse;
  6596. trt__SetSynchronizationPointResponse.soap_default(soap);
  6597. soap_default___trt__SetSynchronizationPoint_(soap, &soap_tmp___trt__SetSynchronizationPoint_);
  6598. if (!soap_get___trt__SetSynchronizationPoint_(soap, &soap_tmp___trt__SetSynchronizationPoint_, "-trt:SetSynchronizationPoint", NULL))
  6599. return soap->error;
  6600. if (soap_body_end_in(soap)
  6601. || soap_envelope_end_in(soap)
  6602. || soap_end_recv(soap))
  6603. return soap->error;
  6604. soap->error = soap->SetSynchronizationPoint_(soap_tmp___trt__SetSynchronizationPoint_.trt__SetSynchronizationPoint, &trt__SetSynchronizationPointResponse);
  6605. if (soap->error)
  6606. return soap->error;
  6607. soap->encodingStyle = NULL;
  6608. soap_serializeheader(soap);
  6609. trt__SetSynchronizationPointResponse.soap_serialize(soap);
  6610. if (soap_begin_count(soap))
  6611. return soap->error;
  6612. if (soap->mode & SOAP_IO_LENGTH)
  6613. { if (soap_envelope_begin_out(soap)
  6614. || soap_putheader(soap)
  6615. || soap_body_begin_out(soap)
  6616. || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "")
  6617. || soap_body_end_out(soap)
  6618. || soap_envelope_end_out(soap))
  6619. return soap->error;
  6620. };
  6621. if (soap_end_count(soap)
  6622. || soap_response(soap, SOAP_OK)
  6623. || soap_envelope_begin_out(soap)
  6624. || soap_putheader(soap)
  6625. || soap_body_begin_out(soap)
  6626. || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "")
  6627. || soap_body_end_out(soap)
  6628. || soap_envelope_end_out(soap)
  6629. || soap_end_send(soap))
  6630. return soap->error;
  6631. return soap_closesock(soap);
  6632. }
  6633. static int serve___trt__GetSnapshotUri_(MediaBindingService *soap)
  6634. { struct __trt__GetSnapshotUri_ soap_tmp___trt__GetSnapshotUri_;
  6635. _trt__GetSnapshotUriResponse trt__GetSnapshotUriResponse;
  6636. trt__GetSnapshotUriResponse.soap_default(soap);
  6637. soap_default___trt__GetSnapshotUri_(soap, &soap_tmp___trt__GetSnapshotUri_);
  6638. if (!soap_get___trt__GetSnapshotUri_(soap, &soap_tmp___trt__GetSnapshotUri_, "-trt:GetSnapshotUri", NULL))
  6639. return soap->error;
  6640. if (soap_body_end_in(soap)
  6641. || soap_envelope_end_in(soap)
  6642. || soap_end_recv(soap))
  6643. return soap->error;
  6644. soap->error = soap->GetSnapshotUri_(soap_tmp___trt__GetSnapshotUri_.trt__GetSnapshotUri, &trt__GetSnapshotUriResponse);
  6645. if (soap->error)
  6646. return soap->error;
  6647. soap->encodingStyle = NULL;
  6648. soap_serializeheader(soap);
  6649. trt__GetSnapshotUriResponse.soap_serialize(soap);
  6650. if (soap_begin_count(soap))
  6651. return soap->error;
  6652. if (soap->mode & SOAP_IO_LENGTH)
  6653. { if (soap_envelope_begin_out(soap)
  6654. || soap_putheader(soap)
  6655. || soap_body_begin_out(soap)
  6656. || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "")
  6657. || soap_body_end_out(soap)
  6658. || soap_envelope_end_out(soap))
  6659. return soap->error;
  6660. };
  6661. if (soap_end_count(soap)
  6662. || soap_response(soap, SOAP_OK)
  6663. || soap_envelope_begin_out(soap)
  6664. || soap_putheader(soap)
  6665. || soap_body_begin_out(soap)
  6666. || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "")
  6667. || soap_body_end_out(soap)
  6668. || soap_envelope_end_out(soap)
  6669. || soap_end_send(soap))
  6670. return soap->error;
  6671. return soap_closesock(soap);
  6672. }
  6673. static int serve___trt__GetVideoSourceModes_(MediaBindingService *soap)
  6674. { struct __trt__GetVideoSourceModes_ soap_tmp___trt__GetVideoSourceModes_;
  6675. _trt__GetVideoSourceModesResponse trt__GetVideoSourceModesResponse;
  6676. trt__GetVideoSourceModesResponse.soap_default(soap);
  6677. soap_default___trt__GetVideoSourceModes_(soap, &soap_tmp___trt__GetVideoSourceModes_);
  6678. if (!soap_get___trt__GetVideoSourceModes_(soap, &soap_tmp___trt__GetVideoSourceModes_, "-trt:GetVideoSourceModes", NULL))
  6679. return soap->error;
  6680. if (soap_body_end_in(soap)
  6681. || soap_envelope_end_in(soap)
  6682. || soap_end_recv(soap))
  6683. return soap->error;
  6684. soap->error = soap->GetVideoSourceModes_(soap_tmp___trt__GetVideoSourceModes_.trt__GetVideoSourceModes, &trt__GetVideoSourceModesResponse);
  6685. if (soap->error)
  6686. return soap->error;
  6687. soap->encodingStyle = NULL;
  6688. soap_serializeheader(soap);
  6689. trt__GetVideoSourceModesResponse.soap_serialize(soap);
  6690. if (soap_begin_count(soap))
  6691. return soap->error;
  6692. if (soap->mode & SOAP_IO_LENGTH)
  6693. { if (soap_envelope_begin_out(soap)
  6694. || soap_putheader(soap)
  6695. || soap_body_begin_out(soap)
  6696. || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "")
  6697. || soap_body_end_out(soap)
  6698. || soap_envelope_end_out(soap))
  6699. return soap->error;
  6700. };
  6701. if (soap_end_count(soap)
  6702. || soap_response(soap, SOAP_OK)
  6703. || soap_envelope_begin_out(soap)
  6704. || soap_putheader(soap)
  6705. || soap_body_begin_out(soap)
  6706. || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "")
  6707. || soap_body_end_out(soap)
  6708. || soap_envelope_end_out(soap)
  6709. || soap_end_send(soap))
  6710. return soap->error;
  6711. return soap_closesock(soap);
  6712. }
  6713. static int serve___trt__SetVideoSourceMode_(MediaBindingService *soap)
  6714. { struct __trt__SetVideoSourceMode_ soap_tmp___trt__SetVideoSourceMode_;
  6715. _trt__SetVideoSourceModeResponse trt__SetVideoSourceModeResponse;
  6716. trt__SetVideoSourceModeResponse.soap_default(soap);
  6717. soap_default___trt__SetVideoSourceMode_(soap, &soap_tmp___trt__SetVideoSourceMode_);
  6718. if (!soap_get___trt__SetVideoSourceMode_(soap, &soap_tmp___trt__SetVideoSourceMode_, "-trt:SetVideoSourceMode", NULL))
  6719. return soap->error;
  6720. if (soap_body_end_in(soap)
  6721. || soap_envelope_end_in(soap)
  6722. || soap_end_recv(soap))
  6723. return soap->error;
  6724. soap->error = soap->SetVideoSourceMode_(soap_tmp___trt__SetVideoSourceMode_.trt__SetVideoSourceMode, &trt__SetVideoSourceModeResponse);
  6725. if (soap->error)
  6726. return soap->error;
  6727. soap->encodingStyle = NULL;
  6728. soap_serializeheader(soap);
  6729. trt__SetVideoSourceModeResponse.soap_serialize(soap);
  6730. if (soap_begin_count(soap))
  6731. return soap->error;
  6732. if (soap->mode & SOAP_IO_LENGTH)
  6733. { if (soap_envelope_begin_out(soap)
  6734. || soap_putheader(soap)
  6735. || soap_body_begin_out(soap)
  6736. || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "")
  6737. || soap_body_end_out(soap)
  6738. || soap_envelope_end_out(soap))
  6739. return soap->error;
  6740. };
  6741. if (soap_end_count(soap)
  6742. || soap_response(soap, SOAP_OK)
  6743. || soap_envelope_begin_out(soap)
  6744. || soap_putheader(soap)
  6745. || soap_body_begin_out(soap)
  6746. || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "")
  6747. || soap_body_end_out(soap)
  6748. || soap_envelope_end_out(soap)
  6749. || soap_end_send(soap))
  6750. return soap->error;
  6751. return soap_closesock(soap);
  6752. }
  6753. static int serve___trt__GetOSDs_(MediaBindingService *soap)
  6754. { struct __trt__GetOSDs_ soap_tmp___trt__GetOSDs_;
  6755. _trt__GetOSDsResponse trt__GetOSDsResponse;
  6756. trt__GetOSDsResponse.soap_default(soap);
  6757. soap_default___trt__GetOSDs_(soap, &soap_tmp___trt__GetOSDs_);
  6758. if (!soap_get___trt__GetOSDs_(soap, &soap_tmp___trt__GetOSDs_, "-trt:GetOSDs", NULL))
  6759. return soap->error;
  6760. if (soap_body_end_in(soap)
  6761. || soap_envelope_end_in(soap)
  6762. || soap_end_recv(soap))
  6763. return soap->error;
  6764. soap->error = soap->GetOSDs_(soap_tmp___trt__GetOSDs_.trt__GetOSDs, &trt__GetOSDsResponse);
  6765. if (soap->error)
  6766. return soap->error;
  6767. soap->encodingStyle = NULL;
  6768. soap_serializeheader(soap);
  6769. trt__GetOSDsResponse.soap_serialize(soap);
  6770. if (soap_begin_count(soap))
  6771. return soap->error;
  6772. if (soap->mode & SOAP_IO_LENGTH)
  6773. { if (soap_envelope_begin_out(soap)
  6774. || soap_putheader(soap)
  6775. || soap_body_begin_out(soap)
  6776. || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "")
  6777. || soap_body_end_out(soap)
  6778. || soap_envelope_end_out(soap))
  6779. return soap->error;
  6780. };
  6781. if (soap_end_count(soap)
  6782. || soap_response(soap, SOAP_OK)
  6783. || soap_envelope_begin_out(soap)
  6784. || soap_putheader(soap)
  6785. || soap_body_begin_out(soap)
  6786. || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "")
  6787. || soap_body_end_out(soap)
  6788. || soap_envelope_end_out(soap)
  6789. || soap_end_send(soap))
  6790. return soap->error;
  6791. return soap_closesock(soap);
  6792. }
  6793. static int serve___trt__GetOSD_(MediaBindingService *soap)
  6794. { struct __trt__GetOSD_ soap_tmp___trt__GetOSD_;
  6795. _trt__GetOSDResponse trt__GetOSDResponse;
  6796. trt__GetOSDResponse.soap_default(soap);
  6797. soap_default___trt__GetOSD_(soap, &soap_tmp___trt__GetOSD_);
  6798. if (!soap_get___trt__GetOSD_(soap, &soap_tmp___trt__GetOSD_, "-trt:GetOSD", NULL))
  6799. return soap->error;
  6800. if (soap_body_end_in(soap)
  6801. || soap_envelope_end_in(soap)
  6802. || soap_end_recv(soap))
  6803. return soap->error;
  6804. soap->error = soap->GetOSD_(soap_tmp___trt__GetOSD_.trt__GetOSD, &trt__GetOSDResponse);
  6805. if (soap->error)
  6806. return soap->error;
  6807. soap->encodingStyle = NULL;
  6808. soap_serializeheader(soap);
  6809. trt__GetOSDResponse.soap_serialize(soap);
  6810. if (soap_begin_count(soap))
  6811. return soap->error;
  6812. if (soap->mode & SOAP_IO_LENGTH)
  6813. { if (soap_envelope_begin_out(soap)
  6814. || soap_putheader(soap)
  6815. || soap_body_begin_out(soap)
  6816. || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "")
  6817. || soap_body_end_out(soap)
  6818. || soap_envelope_end_out(soap))
  6819. return soap->error;
  6820. };
  6821. if (soap_end_count(soap)
  6822. || soap_response(soap, SOAP_OK)
  6823. || soap_envelope_begin_out(soap)
  6824. || soap_putheader(soap)
  6825. || soap_body_begin_out(soap)
  6826. || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "")
  6827. || soap_body_end_out(soap)
  6828. || soap_envelope_end_out(soap)
  6829. || soap_end_send(soap))
  6830. return soap->error;
  6831. return soap_closesock(soap);
  6832. }
  6833. static int serve___trt__GetOSDOptions_(MediaBindingService *soap)
  6834. { struct __trt__GetOSDOptions_ soap_tmp___trt__GetOSDOptions_;
  6835. _trt__GetOSDOptionsResponse trt__GetOSDOptionsResponse;
  6836. trt__GetOSDOptionsResponse.soap_default(soap);
  6837. soap_default___trt__GetOSDOptions_(soap, &soap_tmp___trt__GetOSDOptions_);
  6838. if (!soap_get___trt__GetOSDOptions_(soap, &soap_tmp___trt__GetOSDOptions_, "-trt:GetOSDOptions", NULL))
  6839. return soap->error;
  6840. if (soap_body_end_in(soap)
  6841. || soap_envelope_end_in(soap)
  6842. || soap_end_recv(soap))
  6843. return soap->error;
  6844. soap->error = soap->GetOSDOptions_(soap_tmp___trt__GetOSDOptions_.trt__GetOSDOptions, &trt__GetOSDOptionsResponse);
  6845. if (soap->error)
  6846. return soap->error;
  6847. soap->encodingStyle = NULL;
  6848. soap_serializeheader(soap);
  6849. trt__GetOSDOptionsResponse.soap_serialize(soap);
  6850. if (soap_begin_count(soap))
  6851. return soap->error;
  6852. if (soap->mode & SOAP_IO_LENGTH)
  6853. { if (soap_envelope_begin_out(soap)
  6854. || soap_putheader(soap)
  6855. || soap_body_begin_out(soap)
  6856. || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "")
  6857. || soap_body_end_out(soap)
  6858. || soap_envelope_end_out(soap))
  6859. return soap->error;
  6860. };
  6861. if (soap_end_count(soap)
  6862. || soap_response(soap, SOAP_OK)
  6863. || soap_envelope_begin_out(soap)
  6864. || soap_putheader(soap)
  6865. || soap_body_begin_out(soap)
  6866. || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "")
  6867. || soap_body_end_out(soap)
  6868. || soap_envelope_end_out(soap)
  6869. || soap_end_send(soap))
  6870. return soap->error;
  6871. return soap_closesock(soap);
  6872. }
  6873. static int serve___trt__SetOSD_(MediaBindingService *soap)
  6874. { struct __trt__SetOSD_ soap_tmp___trt__SetOSD_;
  6875. _trt__SetOSDResponse trt__SetOSDResponse;
  6876. trt__SetOSDResponse.soap_default(soap);
  6877. soap_default___trt__SetOSD_(soap, &soap_tmp___trt__SetOSD_);
  6878. if (!soap_get___trt__SetOSD_(soap, &soap_tmp___trt__SetOSD_, "-trt:SetOSD", NULL))
  6879. return soap->error;
  6880. if (soap_body_end_in(soap)
  6881. || soap_envelope_end_in(soap)
  6882. || soap_end_recv(soap))
  6883. return soap->error;
  6884. soap->error = soap->SetOSD_(soap_tmp___trt__SetOSD_.trt__SetOSD, &trt__SetOSDResponse);
  6885. if (soap->error)
  6886. return soap->error;
  6887. soap->encodingStyle = NULL;
  6888. soap_serializeheader(soap);
  6889. trt__SetOSDResponse.soap_serialize(soap);
  6890. if (soap_begin_count(soap))
  6891. return soap->error;
  6892. if (soap->mode & SOAP_IO_LENGTH)
  6893. { if (soap_envelope_begin_out(soap)
  6894. || soap_putheader(soap)
  6895. || soap_body_begin_out(soap)
  6896. || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "")
  6897. || soap_body_end_out(soap)
  6898. || soap_envelope_end_out(soap))
  6899. return soap->error;
  6900. };
  6901. if (soap_end_count(soap)
  6902. || soap_response(soap, SOAP_OK)
  6903. || soap_envelope_begin_out(soap)
  6904. || soap_putheader(soap)
  6905. || soap_body_begin_out(soap)
  6906. || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "")
  6907. || soap_body_end_out(soap)
  6908. || soap_envelope_end_out(soap)
  6909. || soap_end_send(soap))
  6910. return soap->error;
  6911. return soap_closesock(soap);
  6912. }
  6913. static int serve___trt__CreateOSD_(MediaBindingService *soap)
  6914. { struct __trt__CreateOSD_ soap_tmp___trt__CreateOSD_;
  6915. _trt__CreateOSDResponse trt__CreateOSDResponse;
  6916. trt__CreateOSDResponse.soap_default(soap);
  6917. soap_default___trt__CreateOSD_(soap, &soap_tmp___trt__CreateOSD_);
  6918. if (!soap_get___trt__CreateOSD_(soap, &soap_tmp___trt__CreateOSD_, "-trt:CreateOSD", NULL))
  6919. return soap->error;
  6920. if (soap_body_end_in(soap)
  6921. || soap_envelope_end_in(soap)
  6922. || soap_end_recv(soap))
  6923. return soap->error;
  6924. soap->error = soap->CreateOSD_(soap_tmp___trt__CreateOSD_.trt__CreateOSD, &trt__CreateOSDResponse);
  6925. if (soap->error)
  6926. return soap->error;
  6927. soap->encodingStyle = NULL;
  6928. soap_serializeheader(soap);
  6929. trt__CreateOSDResponse.soap_serialize(soap);
  6930. if (soap_begin_count(soap))
  6931. return soap->error;
  6932. if (soap->mode & SOAP_IO_LENGTH)
  6933. { if (soap_envelope_begin_out(soap)
  6934. || soap_putheader(soap)
  6935. || soap_body_begin_out(soap)
  6936. || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "")
  6937. || soap_body_end_out(soap)
  6938. || soap_envelope_end_out(soap))
  6939. return soap->error;
  6940. };
  6941. if (soap_end_count(soap)
  6942. || soap_response(soap, SOAP_OK)
  6943. || soap_envelope_begin_out(soap)
  6944. || soap_putheader(soap)
  6945. || soap_body_begin_out(soap)
  6946. || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "")
  6947. || soap_body_end_out(soap)
  6948. || soap_envelope_end_out(soap)
  6949. || soap_end_send(soap))
  6950. return soap->error;
  6951. return soap_closesock(soap);
  6952. }
  6953. static int serve___trt__DeleteOSD_(MediaBindingService *soap)
  6954. { struct __trt__DeleteOSD_ soap_tmp___trt__DeleteOSD_;
  6955. _trt__DeleteOSDResponse trt__DeleteOSDResponse;
  6956. trt__DeleteOSDResponse.soap_default(soap);
  6957. soap_default___trt__DeleteOSD_(soap, &soap_tmp___trt__DeleteOSD_);
  6958. if (!soap_get___trt__DeleteOSD_(soap, &soap_tmp___trt__DeleteOSD_, "-trt:DeleteOSD", NULL))
  6959. return soap->error;
  6960. if (soap_body_end_in(soap)
  6961. || soap_envelope_end_in(soap)
  6962. || soap_end_recv(soap))
  6963. return soap->error;
  6964. soap->error = soap->DeleteOSD_(soap_tmp___trt__DeleteOSD_.trt__DeleteOSD, &trt__DeleteOSDResponse);
  6965. if (soap->error)
  6966. return soap->error;
  6967. soap->encodingStyle = NULL;
  6968. soap_serializeheader(soap);
  6969. trt__DeleteOSDResponse.soap_serialize(soap);
  6970. if (soap_begin_count(soap))
  6971. return soap->error;
  6972. if (soap->mode & SOAP_IO_LENGTH)
  6973. { if (soap_envelope_begin_out(soap)
  6974. || soap_putheader(soap)
  6975. || soap_body_begin_out(soap)
  6976. || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "")
  6977. || soap_body_end_out(soap)
  6978. || soap_envelope_end_out(soap))
  6979. return soap->error;
  6980. };
  6981. if (soap_end_count(soap)
  6982. || soap_response(soap, SOAP_OK)
  6983. || soap_envelope_begin_out(soap)
  6984. || soap_putheader(soap)
  6985. || soap_body_begin_out(soap)
  6986. || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "")
  6987. || soap_body_end_out(soap)
  6988. || soap_envelope_end_out(soap)
  6989. || soap_end_send(soap))
  6990. return soap->error;
  6991. return soap_closesock(soap);
  6992. }
  6993. /* End of server object code */