Skip to content

Hope to add the stream_id attribute in the on_publish callback interface. #2837

@stormbirds

Description

@stormbirds

Based on the current development version, during the process of implementing the SIP signaling server myself, I need to obtain stream information after the invitation to pull the stream. However, the current on_publish callback only provides app and stream, without stream_id. In this case, I need to first obtain the stream list through the http_api's api/v1/streams interface, and then filter out the specific stream information based on app and stream. I think it would be more appropriate to return the stream_id in the on_publish callback and save it on the business side. This way, the corresponding stream information can be directly obtained based on the stream_id.

TRANS_BY_GPT3

Metadata

Metadata

Labels

FeatureIt's a new feature.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions