Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/debug-ing/rtp
library rtp with rfc8860 in Go
https://github.com/debug-ing/rtp
Last synced: 7 days ago
JSON representation
library rtp with rfc8860 in Go
- Host: GitHub
- URL: https://github.com/debug-ing/rtp
- Owner: debug-ing
- Created: 2024-12-10T10:51:08.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-10T11:51:45.000Z (about 2 months ago)
- Last Synced: 2024-12-10T12:37:42.461Z (about 2 months ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RTP Server Go
## Introduction
RealTime Protocol implementation based on [RFC 8860](https://datatracker.ietf.org/doc/html/rfc8860) in Golang.
Get Message and Send Message.## Example
```go
package mainimport (
"fmt"
"net"rtp "github.com/debug-ing/rtp"
)func main() {
server := rtp.Init(5004, func(conn net.PacketConn, addr net.Addr, data []byte, rtpModel rtp.RTPPacket) {
fmt.Println("Received data from", rtpModel.Version)
rtp.Send(conn, addr, rtpModel, []byte("Response from server"))
})
server.Run()
}
```