package Ġcom . sh encoder . webrtc extension demo . http Ċ Ċ import Ġcom . sh encoder . webrtc extension demo . http . bean . S rs Request Bean Ċ import Ġcom . sh encoder . webrtc extension demo . http . bean . S rs Response Bean Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . POST Ċ Ċ /** Ċ Ġ* Ċ Ġ* Ġ@ author Ġ ĠSh en Ben Ċ Ġ* Ġ@ date ĠĠĠĠ 2 0 2 1 / 8 / 1 9 Ġ 1 2 : 3 8 Ċ Ġ* Ġ@ email ĠĠĠ 7 1 4 0 8 1 6 4 4 @ qq . com Ċ Ġ*/ Ċ interface ĠApi Service Ġ{ ĊĊĠĠĠ Ġ@ POST ("/ rtc / v 1 / play /") ĊĠĠĠ Ġsuspend Ġfun Ġplay (@ Body Ġbody : ĠS rs Request Bean ): ĠS rs Response Bean ĊĊĠĠĠ Ġ@ POST ("/ rtc / v 1 / publish /") ĊĠĠĠ Ġsuspend Ġfun Ġpublish (@ Body Ġbody : ĠS rs Request Bean ): ĠS rs Response Bean Ċ }