Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能给流加入一些信息? #46

Closed
hp-xiaomage opened this issue Jul 1, 2016 · 7 comments
Closed

能不能给流加入一些信息? #46

hp-xiaomage opened this issue Jul 1, 2016 · 7 comments

Comments

@hp-xiaomage
Copy link

不知道在rtmp流中能不能给它加入一些信息,比如当前帧的时间戳,然后在播放段获取到这个帧的时间戳?

@begeekmyfriend
Copy link
Owner

不就是pts吗,编码时打了,就看解码即可获得

@hp-xiaomage
Copy link
Author

也就是可以给画面帧加入时间戳啊?不知道有没有demo?

@begeekmyfriend
Copy link
Owner

你还没明白啊?去搜一下pts是啥东东

@hp-xiaomage
Copy link
Author

好的,我查一下,谢谢啦

@begeekmyfriend
Copy link
Owner

我是说yasea已经打了pts,就看你解码点么获取

@hp-xiaomage
Copy link
Author

那个是相对时间吧?

@begeekmyfriend
Copy link
Owner

理论上都可以,不过墙上时间总有一天要溢出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants