Skip to content

Commit

Permalink
export sdp
Browse files Browse the repository at this point in the history
Former-commit-id: 8f93608320f53510c3434c13c4e1a6edc1020c84 [formerly 204b41dfb1f189036a6e42bbdfcf009e9b46839c] [formerly e707fe5802b6670fa454f64b0215cdd8f08db983 [formerly deaead0]]
Former-commit-id: f85213f0967faba9d44d1aa0bec4f2fec60c48a4 [formerly 43da62893cde37014e4adf02ff2ed4a5635faf68]
Former-commit-id: 0a29251d145a74f6be69fd417bef13858c89fab0
  • Loading branch information
notedit committed Apr 18, 2019
1 parent b0cb018 commit 2ba53ce
Show file tree
Hide file tree
Showing 46 changed files with 24 additions and 4,283 deletions.
2 changes: 1 addition & 1 deletion emulatedtransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"sync"

"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// EmulatedTransport pcap file as a transport
Expand Down
6 changes: 3 additions & 3 deletions endpoint.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package mediaserver

import (
"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"sync"

native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// Endpoint is an endpoint represent an UDP server socket.
Expand Down Expand Up @@ -74,7 +75,6 @@ func (e *Endpoint) CreateTransport(remoteSdp *sdp.SDPInfo, localSdp *sdp.SDPInfo
transport := NewTransport(e.bundle, remoteIce, remoteDtls, remoteCandidates,
localIce, localDtls, localCandidates, disableSTUNKeepAlive)


e.Lock()
e.transports[transport.username.ToString()] = transport
e.Unlock()
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ require (
github.com/Jeffail/gabs v1.1.1
github.com/chuckpreslar/emission v0.0.0-20170206194824-a7ddd980baf9
github.com/gofrs/uuid v3.1.0+incompatible
github.com/notedit/sdp v0.0.0-20190418080450-702b42591eb2
github.com/sanity-io/litter v1.1.0
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ github.com/chuckpreslar/emission v0.0.0-20170206194824-a7ddd980baf9 h1:xz6Nv3zcw
github.com/chuckpreslar/emission v0.0.0-20170206194824-a7ddd980baf9/go.mod h1:2wSM9zJkl1UQEFZgSd68NfCgRz1VL1jzy/RjCg+ULrs=
github.com/gofrs/uuid v3.1.0+incompatible h1:q2rtkjaKT4YEr6E1kamy0Ha4RtepWlQBedyHx0uzKwA=
github.com/gofrs/uuid v3.1.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/notedit/sdp v0.0.0-20190418080450-702b42591eb2 h1:OBlsQl9n5djQqLqwHO5gou1irbitUPwS+SfOrt3yHTU=
github.com/notedit/sdp v0.0.0-20190418080450-702b42591eb2/go.mod h1:GbICVEB3gb4OfNreIqFKFqWASbpTgrB+Q6lErFpYeaY=
github.com/sanity-io/litter v1.1.0 h1:BllcKWa3VbZmOZbDCoszYLk7zCsKHz5Beossi8SUcTc=
github.com/sanity-io/litter v1.1.0/go.mod h1:CJ0VCw2q4qKU7LaQr3n7UOSHzgEMgcGco7N/SkZQPjw=
2 changes: 1 addition & 1 deletion incomingstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"
"sync"

"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// IncomingStream The incoming streams represent the recived media stream from a remote peer.
Expand Down
2 changes: 1 addition & 1 deletion incomingstreamtrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strconv"
"time"

"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// Layer info
Expand Down
2 changes: 1 addition & 1 deletion outgoingstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"
"sync"

"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// OutgoingStream represent the media stream sent to a remote peer
Expand Down
2 changes: 1 addition & 1 deletion outgoingstreamtrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package mediaserver
import (
"time"

"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

// OutgoingStreamTrack Audio or Video track of a media stream sent to a remote peer
Expand Down
2 changes: 1 addition & 1 deletion rawstreamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mediaserver
import (
"sync"

"github.com/notedit/media-server-go/sdp"
"github.com/notedit/sdp"
)

// RawStreamer streamer that can send raw rtp data
Expand Down
2 changes: 1 addition & 1 deletion rawstreamersession.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"

"github.com/gofrs/uuid"
"github.com/notedit/media-server-go/sdp"
native "github.com/notedit/media-server-go/wrapper"
"github.com/notedit/sdp"
)

type RawStreamerSession struct {
Expand Down
Loading

0 comments on commit 2ba53ce

Please sign in to comment.