package com.ydl.component.rtc.http

import com.ydl.component.rtc.bean.UserSigBean
import com.ydl.ydlcommon.base.config.YDL_DOMAIN
import com.ydl.ydlcommon.base.config.YDL_DOMAIN_JAVA
import com.ydl.ydlcommon.data.http.BaseAPIResponse
import io.reactivex.Observable
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

interface MDTService {


   //获取用户密钥
    @POST("video/secret")
    @Headers(
        YDL_DOMAIN + YDL_DOMAIN_JAVA,
        "Content-Type:application/json"
    )
   fun getSecret(@Body body: RequestBody): Observable<BaseAPIResponse<UserSigBean>>

}
