保利威文档中心

幫助中心

直播推流資訊回呼通知

更新時間:2025-09-19 16:24:49

作用

頻道開始推流時,在推流回呼中觸發查詢推流相關參數並回呼通知客戶。

詳情

設定介面地址後,如果有頻道進行推流,會將以下參數 channelId(頻道號)、sessionId(對應的場次號)、bitRate(推流碼率)、frameRate(推流幀率)以 GET 方式提交到使用者自訂的回呼介面進行通知,例如:

http://abc.com/test.do?channelId=123456&sessionId=e6b23c6f513&bitRate=2049611&frameRate=25&timestamp=1557976774000&sign=xxxxxxxxxx

回呼參數說明

參數名 類型 說明
channelId String 頻道號 ID
sessionId String 對應的場次號
bitRate String 視訊碼率,例如:2049611,單位 bps
frameRate String 視訊幀率,例如:25
timestamp Long 13 位元的時間戳記
sign String 校驗的加密字串,生成的規則為 md5(AppSecret+timestamp),AppSecret 是直播系統的密鑰
联系客服,在线咨询