mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
improve examples (#778)
This commit is contained in:
@@ -13,11 +13,11 @@ import (
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
// 1. connect to a RTSP server, announce a M-JPEG format
|
||||
// 2. generate dummy RGBA images
|
||||
// 3. encode images with JPEG
|
||||
// 4. generate RTP packets from JPEG
|
||||
// 5. write RTP packets to the server
|
||||
// 1. connect to a RTSP server, announce a M-JPEG format.
|
||||
// 2. generate dummy RGBA images.
|
||||
// 3. encode images with JPEG.
|
||||
// 4. generate RTP packets from JPEG.
|
||||
// 5. write RTP packets to the server.
|
||||
|
||||
func multiplyAndDivide(v, m, d int64) int64 {
|
||||
secs := v / d
|
||||
|
Reference in New Issue
Block a user